{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:portainer:portainer:*:*:*:*:community:*:*:*",
            "extracted_events": [
              {
                "introduced": "2.33.0"
              },
              {
                "fixed": "2.33.8"
              },
              {
                "introduced": "2.39.0"
              },
              {
                "fixed": "2.39.1"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0d8802c6d1365588c75793ba891a92268db852d1"
            },
            {
              "fixed": "245f90550729f0269bc7e362f9d282e34788fb7c"
            },
            {
              "introduced": "0f99e298f325d5eee2ecc798598ba45e2350eab0"
            },
            {
              "fixed": "2c1f3c27d5b817ba405f44efe225972e789c2ec1"
            }
          ],
          "repo": "https://github.com/portainer/portainer",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cqpq-2fgr-8mvc"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44884.json"
  },
  "details": "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.",
  "id": "CVE-2026-44884",
  "modified": "2026-07-08T05:38:15.771727991Z",
  "published": "2026-05-28T20:58:36.516Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44884.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/portainer/portainer/security/advisories/GHSA-cqpq-2fgr-8mvc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-44884"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Portainer: Missing authorization on custom template file endpoint exposes template content"
}