Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/portainer/portainer
  4. ›
  5. CVE-2026-44884

CVE-2026-44884: Portainer missing authorization on custom template file endpoint, which exposes template content

May 14, 2026 (updated June 9, 2026)

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.

References

  • github.com/advisories/GHSA-cqpq-2fgr-8mvc
  • github.com/portainer/portainer/releases/tag/2.33.8
  • github.com/portainer/portainer/releases/tag/2.39.2
  • github.com/portainer/portainer/security/advisories/GHSA-cqpq-2fgr-8mvc
  • nvd.nist.gov/vuln/detail/CVE-2026-44884

Code Behaviors & Features

Detect and mitigate CVE-2026-44884 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.33.0 before 2.33.8, all versions starting from 2.39.0 before 2.39.1

Fixed versions

  • 2.33.8
  • 2.39.1

Solution

Upgrade to versions 2.33.8, 2.39.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

go/github.com/portainer/portainer/CVE-2026-44884.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 14 Jun 2026 12:16:39 +0000.