Portainer: Missing authorization on custom template file endpoint exposes template content
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| portainer | portainer | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Portainer | Portainer |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-cqpq-2fgr-8mvc | Portainer missing authorization on custom template file endpoint, which exposes template content |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.257% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:portainer:portainer:*:*:*:*:community:*:*:* | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Portainer
Portainer portainer |
|
| Vendors & Products |
Portainer
Portainer portainer |
| Type | Values Removed | Values 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. | |
| Title | Portainer: Missing authorization on custom template file endpoint exposes template content | |
| Weaknesses | CWE-862 | |
| References |
| |
| Metrics |
cvssV4_0
|