{"answers":{"affected":"3 open source packages ship an affected version, including github.com/portainer/portainer.","exploited":"There is no known exploitation of CVE-2026-134804 in the wild and no public exploit code.","exposure":"An affected version is exposed as installed. No special setting or call is needed.","fix":"Upgrade github.com/portainer/portainer to a fixed version for your release line: 3.1.0, 2.45.4 or 2.39.9.","what":"CVE-2026-134804 is a high-severity missing authorization vulnerability in Portainer, published on 22 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-134804 and fix it if it is affected.\n\nWhat it is: CVE-2026-134804 is a high-severity missing authorization vulnerability in Portainer, published on 22 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-134804 in the wild and no public exploit code.\nExposure: An affected version is exposed as installed. No special setting or call is needed.\n\nAffected packages and fixed versions:\n- github.com/portainer/portainer (Go): affected from 2.39.0; fixed in 2.39.9\n- github.com/portainer/portainer (Go): affected from 2.40.0; fixed in 2.45.4\n- github.com/portainer/portainer (Go): affected from 3.0.0; fixed in 3.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-134804/ (Markdown: https://insights.sbomify.com/CVE-2026-134804/index.md)","id":"CVE-2026-134804","markdown":"https://insights.sbomify.com/CVE-2026-134804/index.md","name":"CVE-2026-134804","record":{"aliases":["GHSA-6c57-xm2f-23fg","GHSA-88pc-g85c-cfjr"],"analysis":{"component_type":"container_or_infrastructure","exploitable_when_present":false,"fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"container management UI","requires_auth":"low_privilege","requires_specific_call":false,"summary":"Standard Portainer users with shared environment access can hijack other users' containers via WebSocket attach/exec to gain root shells.","user_interaction":"not_required","vuln_class":"missing_authorization","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","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"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2026-11-23","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-11-23T12:34:56Z","kind":"github_poc","ref":"https://github.com/googlesky/CVE-2026-134804","stars":0,"title":"Portainer \u003c2.39.9/2.45.4/3.1.0: WebSocket attach/exec checks only environment permission — Standard user with foreign container/exec ID gets another user's shell. Verbatim guard from 52f82e7: foreign ID yields 200 OK on vuln, 403 on fixed"}],"tier":"poc_unverified"},"has_fix":false,"headline":"Missing authorization in Portainer","id":"CVE-2026-134804","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2026"},"main_cpe":null,"main_fixed":["3.1.0","2.45.4","2.39.9"],"main_package":"github.com/portainer/portainer","n_packages":3,"n_references":7,"n_vendor_status":0,"next":{"headline":"Zipline before 4.8.3 Server-Side Request Forgery via OIDC Avatar URL","id":"CVE-2026-134805"},"nickname":null,"packages":[{"ecosystem":"Go","fixed":["2.39.9"],"introduced":["2.39.0"],"last_affected":[],"name_kind":null,"package":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","purl_source":"cna","scope":"upstream","source":"CVE-2026-134804"},{"ecosystem":"Go","fixed":["2.45.4"],"introduced":["2.40.0"],"last_affected":[],"name_kind":null,"package":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","purl_source":"cna","scope":"upstream","source":"CVE-2026-134804"},{"ecosystem":"Go","fixed":["3.1.0"],"introduced":["3.0.0"],"last_affected":[],"name_kind":null,"package":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","purl_source":"cna","scope":"upstream","source":"CVE-2026-134804"}],"prev":{"headline":"DBHub before 1.7.0 Read-Only Mode Bypass via Backslash-Escaped Quotes","id":"CVE-2026-134803"},"products":["Portainer"],"published":"2026-11-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-23","vendor_status":[],"vendors":["Portainer"]},"summary":"Standard Portainer users with shared environment access can hijack other users' containers via WebSocket attach/exec to gain root shells.","url":"https://insights.sbomify.com/CVE-2026-134804/"}