CVE-2026-44884
MEDIUM 6.0CVSS 4.0Portainer missing authorization on custom template file endpoint, which exposes template content
Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments. From 2.33.0 to before 2.33.8 and 2.39.1, a missing authorization vulnerability in the Custom Template file endpoint (GET /api/custom_templates/{id}/file) allows any authenticated user to read the file content of any custom template by enumerating sequential integer IDs, bypassing Resource Control access restrictions. Template files may contain environment-specific values such as connection strings, API tokens, or registry credentials that administrators would not expect standard users to read. This vulnerability is fixed in 2.33.8 and 2.39.1.
- Published
- 28 May 2026
- Last modified
- 21 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-862
- Also known as
- GHSA-cqpq-2fgr-8mvcGO-2026-5333
- Sources
- NVDJSONOSV GHSA-cqpq-2fgr-8mvcJSONOSV GO-2026-5333JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | portainer | portainercpe:2.3:a:portainer:portainer:*:*:*:*:community:*:*:* |
>= 2.33.0, < 2.33.8 | 2.33.8 |
| NVD | portainer | portainercpe:2.3:a:portainer:portainer:*:*:*:*:community:*:*:* |
>= 2.39.0, < 2.39.1 | 2.39.1 |
| OSV | Go | github.com/portainer/portainer | >= 2.33.0, < 2.33.8 | 2.33.8 |
| OSV | Go | github.com/portainer/portainer | >= 2.39.0, < 2.39.1 | 2.39.1 |
| OSV | Go | github.com/portainer/portainer | all versions |
References
- https://github.com/portainer/portainer/security/advisories/GHSA-cqpq-2fgr-8mvc · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-44884 · ADVISORY
- https://github.com/portainer/portainer · PACKAGE
- https://github.com/portainer/portainer/releases/tag/2.33.8 · WEB
- https://github.com/portainer/portainer/releases/tag/2.39.2 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 28 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2026)