# CVE-2026-44884: Portainer: Missing authorization on custom template file endpoint exposes template content

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.0
- **CVSS:** 6.0 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.38% (percentile 24, 2026-11-28)
- **CWE:** CWE-862
- **Aliases:** GHSA-cqpq-2fgr-8mvc, GO-2026-5333
- **Published:** 2026-05-14T16:34:02.000Z
- **Modified:** 2026-07-21T10:10:00.103Z

## Who should check

- Projects that depend on Go package github.com/portainer/portainer (\>= 2.33.0, \< 2.33.8)
- Anyone running portainer \>= 2.33.0, \< 2.33.8; \>= 2.39.0, \< 2.39.1

## 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. 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.

## Affected and fixed versions

- Go `github.com/portainer/portainer`: affected \>= 2.33.0, \< 2.33.8; fixed 2.33.8, 2.39.1 (osv)
- portainer: \>= 2.33.0, \< 2.33.8; \>= 2.39.0, \< 2.39.1 (cvelist)

## Mitigation

- Upgrade github.com/portainer/portainer to one of 2.33.8, 2.39.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-44884. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-44884.md
Affected: github.com/portainer/portainer >= 2.33.0, < 2.33.8
Fixed in: 2.33.8, 2.39.1

Steps:
1. Search this machine and project for github.com/portainer/portainer (Go), portainer: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-44884 being exploited?

There is no confirmed exploitation: CVE-2026-44884 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-44884?

Medium: CVSS 6.0 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-44884?

github.com/portainer/portainer \>= 2.33.0, \< 2.33.8.

### Is there a fix for CVE-2026-44884?

Yes. Fixed in 2.33.8, 2.39.1. Upgrade github.com/portainer/portainer to one of 2.33.8, 2.39.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-44884?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/portainer/portainer/security/advisories/GHSA-cqpq-2fgr-8mvc>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-44884>
- other: <https://github.com/portainer/portainer>
- other: <https://github.com/portainer/portainer/releases/tag/2.33.8>
- other: <https://github.com/portainer/portainer/releases/tag/2.39.2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-44884>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-cqpq-2fgr-8mvc> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5333> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-44884> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-44884>
