CVE-2026-58370

Woodpecker before 3.15.0 matches the ApprovalAllowedUsers bypass list against pipeline.Author. For the GitLab forge driver, pipeline.Author is populated from the git commit author name (commit.author.name) carried in the webhook payload, which is attacker-controlled and not verified by GitLab. A user who can open a merge request from a fork can set the commit author name to match an entry in ApprovalAllowedUsers, causing needsApproval to return false so the pipeline runs without the required approval. This defeats the fork-approval security boundary and allows execution of attacker-controlled pipeline steps on a Woodpecker agent and exfiltration of CI secrets exposed to the run. Other built-in forge drivers (Gitea, Forgejo, GitHub, Bitbucket) derive pipeline.Author from the forge-validated sender/actor identity and are not affected.
Configurations

No configuration.

History

30 Jun 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-30 17:16

Updated : 2026-07-14 22:17


NVD link : CVE-2026-58370

Mitre link : CVE-2026-58370

CVE.ORG link : CVE-2026-58370


JSON object : View

Products Affected

No product.

CWE
CWE-290

Authentication Bypass by Spoofing