# CVE-2026-142250: Portainer through 2.45.4 Authorization Bypass via Swarm Task Inspect and Logs

Source: https://aplosec.si/cve/CVE-2026-142250/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142250

High 7.1 · Reported · No fix listed · CWE-862 · Server

# Portainer through 2.45.4 Authorization Bypass via Swarm Task Inspect and Logs

CVE-2026-142250 · published 2026-12-02

In plain words: this type of bug lets a user see or change things that belong to someone else (broken access control). No fixed release is listed yet.

## Summary

CVE-2026-142250 affects Portainer (Server) <= 2.45.4: Authorization Bypass via Swarm Task Inspect and Logs (CWE-862). No fixed release is listed. CVSS 4.0 base score 7.1 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/portainer-through-2.45.4-authorization-bypass-via-swarm-task-inspect-and-logs](https://www.vulncheck.com/advisories/portainer-through-2.45.4-authorization-bypass-via-swarm-task-inspect-and-logs)

- [Vulnerable codehttps://github.com/portainer/portainer/blob/2.45.4/api/http/proxy/factory/docker/transport.go#L524-L534](https://github.com/portainer/portainer/blob/2.45.4/api/http/proxy/factory/docker/transport.go#L524-L534)

- [Vulnerable codehttps://github.com/portainer/portainer/blob/2.45.4/api/http/proxy/factory/docker/transport.go#L99-L113](https://github.com/portainer/portainer/blob/2.45.4/api/http/proxy/factory/docker/transport.go#L99-L113)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142250](https://www.cve.org/CVERecord?id=CVE-2026-142250)

**Severity:** High 7.1 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142250)

**Package:** Portainer

**Ecosystem:** Server

**Affected:** <= 2.45.4

**Fixed:** None

**Weakness:** CWE-862

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
