Skip to content
Heist/ feed
Back to feed
Medium

Portainer: Missing authorization on custom template file endpoint exposes template content

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-44884
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 03:58 UTC · Revision 1

Source evidence

Portainer: Missing authorization on custom template file endpoint exposes template content

core-osv · Original source

Published 28 May 2026, 20:58 UTC

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.

osv:CVE-2026-44884
Complete source record
{
  "id": "edaef105bd6b0763716fae03a350ea0c92ead39adc15a5ac923ed5337ce79183",
  "url": "https://osv.dev/vulnerability/CVE-2026-44884",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Portainer: Missing authorization on custom template file endpoint exposes template content",
    "summary": "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.",
    "evidence": "osv:CVE-2026-44884",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-44884",
      "aliases": [
        "CVE-2026-44884",
        "GHSA-cqpq-2fgr-8mvc",
        "GO-2026-5333"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/portainer/portainer",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0d8802c6d1365588c75793ba891a92268db852d1"
                },
                {
                  "fixed": "245f90550729f0269bc7e362f9d282e34788fb7c"
                },
                {
                  "introduced": "0f99e298f325d5eee2ecc798598ba45e2350eab0"
                },
                {
                  "fixed": "2c1f3c27d5b817ba405f44efe225972e789c2ec1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:portainer:portainer:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "2.33.0"
                      },
                      {
                        "fixed": "2.33.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:portainer:portainer:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "2.39.0"
                      },
                      {
                        "fixed": "2.39.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44884.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.698384088Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44884.json",
        "https://github.com/portainer/portainer/security/advisories/GHSA-cqpq-2fgr-8mvc",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-44884"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-862"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44884.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-44884",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492329,
  "published_at": "2026-05-28T20:58:36.516+00:00"
}