CVE-2026-142250
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://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#L99-L113
- https://www.vulncheck.com/advisories/portainer-through-2.45.4-authorization-bypass-via-swarm-task-inspect-and-logs
CWEs
CWE-862
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.