Paper/Archive/CVE-2026-58370

CVE-2026-58370

woodpecker-ci woodpecker — Woodpecker < 3.15.0 - GitLab Approval Gate Bypass via Spoofable Commit Author Name

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
woodpecker< 3.15.03.15.0CNA

Scores by source

VulnCheck (CNA)9.2CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/woodpecker-ci/woodpecker/releases/tag/v3.15.0refgithub.com/woodpecker-ci/woodpecker/pull/6653patchgithub.com/woodpecker-ci/woodpecker/commit/98faae778c953678944996c89ed99307d2f16a3dwriteupvulncheck.com/advisories/woodpecker-gitlab-approval-gate-bypass-via-spoofable-commit-author-name