{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "2.45.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "505380c8eecff08cf513c457494bde91634db9ff"
            }
          ],
          "repo": "https://github.com/portainer/portainer",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142250.json"
  },
  "details": "Portainer through 2.45.4 contains an authorization bypass vulnerability in proxyTaskRequest that allows authenticated standard users to access restricted Swarm tasks by bypassing service resource control. Attackers can request /tasks/{id} and /tasks/{id}/logs with a known task identifier to read task specifications, environment variable secrets, and logs of other users' services.",
  "id": "CVE-2026-142250",
  "modified": "2026-12-02T17:45:30.647044458Z",
  "published": "2026-12-02T16:49:51.486Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142250.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/portainer/portainer"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/portainer/portainer/blob/2.45.4/api/http/proxy/factory/docker/transport.go#L524-L534"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/portainer/portainer/blob/2.45.4/api/http/proxy/factory/docker/transport.go#L99-L113"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142250"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/portainer-through-2.45.4-authorization-bypass-via-swarm-task-inspect-and-logs"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Portainer through 2.45.4 Authorization Bypass via Swarm Task Inspect and Logs"
}