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

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T16:34:02.000Z
- Modified: 2026-07-21T10:10:00.103Z
- Also known as: GHSA-cqpq-2fgr-8mvc, GO-2026-5333
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- portainer portainer: >= 2.33.0, < 2.33.8; >= 2.39.0, < 2.39.1; from 2.33.0 before 2.33.8; from 2.39.0 before 2.39.1
- github.com/portainer/portainer (Go): from 2.33.0 before 2.33.8; from 2.39.0 before 2.39.1; all versions

## Every score

- GitHub_M: CVSS:4.0 6.0 Medium `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`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/portainer/portainer/security/advisories/GHSA-cqpq-2fgr-8mvc> (exploit, advisory, third-party-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2026-44884](https://www.cve.org/CVERecord?id=CVE-2026-44884), CVE Terms of Use, modified 2026-05-29
- GitHub Advisory Database: [GHSA-cqpq-2fgr-8mvc](https://github.com/advisories/GHSA-cqpq-2fgr-8mvc), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5333](https://pkg.go.dev/vuln/GO-2026-5333), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-44884](https://nvd.nist.gov/vuln/detail/CVE-2026-44884), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-44884 · Whole record: https://cve.day/CVE-2026-44884.json · Rebuilt by cve.day 2026-11-25T22:59:23.238Z
