CreditZachariah Mithani (AploSec), Shahid-BugB, KutalVolkan, C-h4ck-0, zenniskayy2k4, tsug0d, d3do-23, danieltk76, rotemkama, xclow3n, tao0845, huynvi, k4z01 DescriptionPortainer 2.39.0 before 2.39.9, 2.40.0 before 2.45.4, and 3.0.0 before 3.1.0 contains an authorization bypass vulnerability that allows Standard users to access other users' containers via the WebSocket attach and exec endpoints. Attackers with shared environment access can use leaked container or exec IDs to hijack sessions over /api/websocket/attach or /api/websocket/exec, gaining interactive root shells.