CVE-2026-58370 Woodpecker < 3.15.0 - GitLab Approval Gate Bypass via Spoofable Commit Author Name
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| woodpecker-ci github.com/woodpecker-ci/woodpecker | < 3.15.0 | 3.15.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| woodpecker-ci github.com/woodpecker-ci/woodpecker | < 3.15.0 | 3.15.0 |
References
- woodpecker 3.15.0 Release Notes release-notes
- Fix PR issue-tracking patch
- Fix Commit patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-40358 third-party-advisory