CVE-2026-142250: Portainer through 2.45.4 Authorization Bypass via Swarm Task Inspect and Logs
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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated Portainer standard user can exploit it. The affected access is limited to Swarm tasks for which the user knows the task identifier, including tasks belonging to other users' services.
What information could be exposed?
The bypass allows access to task specifications and task logs. Exposed task specifications may contain environment-variable secrets.
Does exploitation require user interaction or elevated Portainer privileges?
No user interaction is required. The attacker needs an authenticated standard-user account; administrator-level privileges are not indicated.