{"affected":[{"defaultStatus":"unaffected","ecosystem":"golang","packageName":"github.com/portainer/portainer","product":"Portainer","source":"CNA: VulnCheck","vendor":"Portainer","versions":[{"lessThan":"2.39.9","status":"affected","version":"2.39.0","versionType":"semver"},{"lessThan":"2.45.4","status":"affected","version":"2.40.0","versionType":"semver"},{"lessThan":"3.1.0","status":"affected","version":"3.0.0","versionType":"semver"}]}],"cveId":"CVE-2026-134804","cwes":["CWE-639"],"description":"Portainer 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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":8.7,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"score":8.8,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1795382551892,"publishedAt":1795382551892,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/portainer/portainer/security/advisories/GHSA-6c57-xm2f-23fg"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/portainer/portainer/commit/52f82e7c7eec08fa4b421cd423798b8966e13857"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/portainer/portainer/commit/d817b8762b8144ff5de2bf8d3201578d3d9d106f"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/portainer/portainer/releases/tag/2.45.4"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/attach.go#L42-L92"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/portainer/portainer/blob/2.45.3/api/http/handler/websocket/exec.go#L45-L96"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/portainer-2.39.0-before-2.39.9-2.40.0-before-2.45.4-and-3.0.0-before-3.1.0-authorization-bypass-via-websocket-attach-and-exec"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/portainer/portainer/commit/52f82e7c7eec08fa4b421cd423798b8966e13857"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/portainer/portainer/commit/d817b8762b8144ff5de2bf8d3201578d3d9d106f"}],"revision":"fb259b94f856121b06b5311da30770ef7ef74a22c686580766287010e9dcd3f5","sources":[{"modifiedAt":1795382551892,"name":"CNA: VulnCheck","retrievedAt":1795385319286,"url":"https://www.cve.org/CVERecord?id=CVE-2026-134804"}],"ssvc":null,"status":"published","title":"Portainer 2.39.0 before 2.39.9, 2.40.0 before 2.45.4, and 3.0.0 before 3.1.0 Authorization Bypass via WebSocket Attach and Exec","updatedAt":1795385319286}