Skip to content
Heist/ feed
Back to feed
Medium

Portainer HTTP Headers May Leak to Malicious Container Registries

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. Prior to STS version 2.31.0 and LTS version 2.27.7, if a Portainer administrator can be convinced to register a malicious container registry, or an existing container registry can be taken over, HTTP Headers (including registry authentication credentials or Portainer session tokens) may be leaked to that registry. This issue has been patched in STS version 2.31.0 and LTS version 2.27.7.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-49593
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 04:10 UTC · Revision 1

Source evidence

Portainer HTTP Headers May Leak to Malicious Container Registries

core-osv · Original source

Published 17 Jun 2025, 21:27 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. Prior to STS version 2.31.0 and LTS version 2.27.7, if a Portainer administrator can be convinced to register a malicious container registry, or an existing container registry can be taken over, HTTP Headers (including registry authentication credentials or Portainer session tokens) may be leaked to that registry. This issue has been patched in STS version 2.31.0 and LTS version 2.27.7.

osv:CVE-2025-49593
Complete source record
{
  "id": "ec9b6ca14069e914443180c74b8cc62243320ec2603f097a7640dd3c18dde70f",
  "url": "https://osv.dev/vulnerability/CVE-2025-49593",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Portainer HTTP Headers May Leak to Malicious Container Registries",
    "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. Prior to STS version 2.31.0 and LTS version 2.27.7, if a Portainer administrator can be convinced to register a malicious container registry, or an existing container registry can be taken over, HTTP Headers (including registry authentication credentials or Portainer session tokens) may be leaked to that registry. This issue has been patched in STS version 2.31.0 and LTS version 2.27.7.",
    "evidence": "osv:CVE-2025-49593",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-49593",
      "aliases": [
        "CVE-2025-49593",
        "GHSA-h5jw-8c32-xfv6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/portainer/portainer",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3deb85b0da8a0f5d11f58c4fb29ad057f6471a28"
                },
                {
                  "fixed": "d12d6940924f463fa43a1371dd56e21ccf0dc28b"
                },
                {
                  "fixed": "384cb53c64af78af8e1ac7ef5b0f91bad530e989"
                },
                {
                  "fixed": "b767dcb27ed253b423facd2e04ef971985950fd3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.27.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.31.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "384cb53c64af78af8e1ac7ef5b0f91bad530e989"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b767dcb27ed253b423facd2e04ef971985950fd3"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.23.0",
            "2.0.0",
            "1.20.0",
            "1.11.3",
            "internal-1.6.0",
            "internal-1.5.0",
            "internal-1.4.0",
            "internal-1.3.0",
            "internal-1.2.0",
            "v0.6.0",
            "v0.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49593.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.904129246Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49593.json",
        "https://github.com/portainer/portainer/security/advisories/GHSA-h5jw-8c32-xfv6",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-49593",
        "https://github.com/portainer/portainer/commit/384cb53c64af78af8e1ac7ef5b0f91bad530e989",
        "https://github.com/portainer/portainer/commit/b767dcb27ed253b423facd2e04ef971985950fd3"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49593.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-49593",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492404,
  "published_at": "2025-06-17T21:27:38.542+00:00"
}