Mattermost versions 10.11.x <= 10.11.3, 10.5.x <= 10.5.11 fail to enforce access permissions on the Agents plugin which allows other users to determine when users had read channels via channel member objects
Update Mattermost to versions 11.0.0, 10.11.4, 10.5.12 or higher.