CVE-2026-44884
Portainer: Missing authorization on custom template file endpoint exposes template content
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.
INFO
Published Date :
May 28, 2026, 10:16 p.m.
Last Modified :
July 21, 2026, 10:10 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update Portainer CE to version 2.33.8 or later.
- Update Portainer CE to version 2.39.1 or later.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-44884.
| URL | Resource |
|---|---|
| https://github.com/portainer/portainer/security/advisories/GHSA-cqpq-2fgr-8mvc | Exploit Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-44884 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-44884
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-44884 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-44884 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Jul. 21, 2026
Action Type Old Value New Value Added Translation Title: Portainer Community Edition, Description: Portainer Community Edition es una plataforma ligera de entrega de servicios para aplicaciones contenerizadas que puede utilizarse para gestionar entornos Docker, Swarm, Kubernetes y ACI. Desde la versión 2.33.0 hasta antes de la 2.33.8 y la 2.39.1, una vulnerabilidad de autorización faltante en el endpoint de archivo de plantilla personalizada (GET /API/custom_templates/{id}/file) permite a cualquier usuario autenticado leer el contenido del archivo de cualquier plantilla personalizada enumerando IDs enteros secuenciales, eludiendo las restricciones de acceso de Resource Control. Los archivos de plantilla pueden contener valores específicos del entorno, como cadenas de conexión, tokens de API o credenciales de registro que los administradores no esperarían que los usuarios estándar leyeran. Esta vulnerabilidad está corregida en las versiones 2.33.8 y 2.39.1. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'portainer', 'product': 'portainer', 'versions': [{'status': 'affected', 'version': '>= 2.33.0, < 2.33.8'}, {'status': 'affected', 'version': '>= 2.39.0, < 2.39.1'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-44884', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-05-29T13:55:28.420055Z'} -
Initial Analysis by [email protected]
Jun. 01, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Added CPE Configuration OR *cpe:2.3:a:portainer:portainer:*:*:*:*:community:*:*:* versions from (including) 2.33.0 up to (excluding) 2.33.8 *cpe:2.3:a:portainer:portainer:*:*:*:*:community:*:*:* versions from (including) 2.39.0 up to (excluding) 2.39.1 Added Reference Type GitHub, Inc.: https://github.com/portainer/portainer/security/advisories/GHSA-cqpq-2fgr-8mvc Types: Exploit, Third Party Advisory -
New CVE Received by [email protected]
May. 28, 2026
Action Type Old Value New Value Added 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. Added CVSS V4.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 Added CWE CWE-862 Added Reference https://github.com/portainer/portainer/security/advisories/GHSA-cqpq-2fgr-8mvc