{"answers":{"affected":"5 open source packages ship an affected version, including github.com/portainer/portainer. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-55761 in the wild and no public exploit code.","fix":"Upgrade github.com/portainer/portainer to a fixed version for your release line: 2.39.4 or 2.43.0.","what":"CVE-2026-55761 is a high-severity authentication bypass vulnerability in portainer, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55761 and fix it if it is affected.\n\nWhat it is: CVE-2026-55761 is a high-severity authentication bypass vulnerability in portainer, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-55761 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/portainer/portainer (Go): affected all versions; no fix listed\n- github.com/portainer/portainer (Go): affected from 2.39.0; fixed in 2.39.4\n- github.com/portainer/portainer (Go): affected from 2.39.0; fixed in 2.39.4\n- github.com/portainer/portainer (Go): affected from 2.40.0; fixed in 2.43.0\n- github.com/portainer/portainer (Go): affected from 2.40.0; fixed in 2.43.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-55761/ (Markdown: https://insights.sbomify.com/CVE-2026-55761/index.md)","id":"CVE-2026-55761","markdown":"https://insights.sbomify.com/CVE-2026-55761/index.md","name":"CVE-2026-55761","record":{"aliases":["GHSA-x626-fcwx-f5pc","GO-2026-6324"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Portainer CE","requires_auth":"none","summary":"Unauthenticated attackers can take over uninitialized Portainer instances by accessing restore or admin init endpoints during the setup window.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"portainer","vendor":"portainer"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments. In versions 2.39.0 through 2.39.3 and 2.40.0 until 2.43.0, unauthenticated restore and administrator initialization endpoints (/api/restore and /api/users/admin/init) remain accessible during the five-minute setup window for uninitialized instances, allowing a network attacker to restore a crafted backup or create the first administrator account and gain full administrative access. This issue is fixed in versions 2.39.4 and 2.43.0.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Portainer: Unauthenticated Restore Endpoint Allows Admin Takeover on Uninitialised Portainer Instances","id":"CVE-2026-55761","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":5,"n_references":6,"next":{"headline":"Missing authorization in Rocket.Chat","id":"CVE-2026-55762"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","source":"GO-2026-6324"},{"ecosystem":"Go","fixed":["2.39.4"],"introduced":["2.39.0"],"last_affected":[],"package":"github.com/portainer/portainer","purl":null,"source":"GHSA-x626-fcwx-f5pc"},{"ecosystem":"Go","fixed":["2.39.4"],"introduced":["2.39.0"],"last_affected":[],"package":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","source":"GHSA-x626-fcwx-f5pc"},{"ecosystem":"Go","fixed":["2.43.0"],"introduced":["2.40.0"],"last_affected":[],"package":"github.com/portainer/portainer","purl":null,"source":"GHSA-x626-fcwx-f5pc"},{"ecosystem":"Go","fixed":["2.43.0"],"introduced":["2.40.0"],"last_affected":[],"package":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","source":"GHSA-x626-fcwx-f5pc"}],"prev":{"headline":"handlebars.java FileTemplateLoader Path Traversal","id":"CVE-2026-55760"},"products":["portainer"],"published":"2026-07-08","related":[{"cvss_score":9.9,"headline":"Missing authorization in n/a","id":"CVE-2019-16872","kev_date_added":null,"published":"2019-11-07"},{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2022-24961","kev_date_added":null,"published":"2022-02-11"},{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2020-24264","kev_date_added":null,"published":"2021-03-16"},{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2018-19466","kev_date_added":null,"published":"2019-03-27"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2018-19367","kev_date_added":null,"published":"2018-11-20"},{"cvss_score":9.8,"headline":"Server-side request forgery in n/a","id":"CVE-2018-12678","kev_date_added":null,"published":"2018-06-22"},{"cvss_score":9.4,"headline":"Portainer: Missing authorization on Docker plugin endpoints allows host RCE","id":"CVE-2026-44848","kev_date_added":null,"published":"2026-05-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-08","vendors":["portainer"]},"summary":"Unauthenticated attackers can take over uninitialized Portainer instances by accessing restore or admin init endpoints during the setup window.","url":"https://insights.sbomify.com/CVE-2026-55761/"}