CVE-2026-55761: github.com/portainer/portainer · Portainer has Unauthenticated Restore Endpoint that Allows Admin Takeover on Uninitialized Instances
Affects github.com/portainer/portainerSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium : upgrade to 2.39.4 when convenient.
Data as of 27 Nov 2026, 22:51 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.39.4, 2.43.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.
What to do
Upgrade github.com/portainer/portainer to 2.39.4; github.com/portainer/portainer to 2.43.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/portainer/portainer | Affected
| Fixed in
|
| Gogithub.com/portainer/portainer | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and included in Portainer versions 2.39.4 and 2.43.0. Users should upgrade to these or later versions to remediate the vulnerability. Until upgrading, administrators can mitigate risk by provisioning the administrator account at deployment using the --admin-password or --admin-password-file options to eliminate the uninitialized state. Additionally, restricting network access to the Portainer API before completing initial setup and completing the initial setup immediately after deployment reduce the attack window. Administrators should audit existing deployments for unauthorized admin accounts if the instance was accessible before setup completion. These workarounds do not replace applying the official fix.
Description
Portainer versions from 2.39.0 up to but not including 2.39.4 and from 2.40.0 up to but not including 2.43.0 contain an unauthenticated restore endpoint (/api/restore) accessible during a five-minute initialization window after startup. This endpoint allows an attacker with network access to an uninitialized instance to replace the Portainer database with attacker-controlled credentials, resulting in full administrative access. The vulnerability also exposes the administrator-account-creation endpoint during this window. The attack requires no credentials but depends on the instance being uninitialized, reachable, and within the setup window. The vulnerability is fixed in Portainer 2.39.4 and 2.43.0. Workarounds include provisioning the admin account at deploy time, restricting network access before setup, and completing setup immediately.
References
- github.com/portainer/portainer/security/advisories/GHSA-x626-fcwx-f5pc (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-55761 (opens in a new tab)
- github.com/portainer/portainer/issues/2770 (opens in a new tab)
- github.com/portainer/portainer/commit/49f19107cf9a3540cbe406c9eb7f24390e1af02b (opens in a new tab)
- github.com/portainer/portainer/commit/d2b56efcb4e43c4168bb6688eee9f6bf22867312 (opens in a new tab)
- github.com/portainer/portainer (opens in a new tab)
- github.com/portainer/portainer/releases/tag/2.39.4 (opens in a new tab)
- github.com/portainer/portainer/releases/tag/2.43.0 (opens in a new tab)