{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-58370: Woodpecker < 3.15.0 - GitLab Approval Gate Bypass via Spoofable Commit Author Name","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-58370","status":"final","version":"1","initial_release_date":"2026-06-30T15:57:09.624Z","current_release_date":"2026-06-30T17:13:07.424Z","revision_history":[{"date":"2026-06-30T15:57:09.624Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-58370 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-58370"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-58370"},{"category":"external","summary":"Release Notes","url":"https://github.com/woodpecker-ci/woodpecker/releases/tag/v3.15.0"},{"category":"external","summary":"Fix PR","url":"https://github.com/woodpecker-ci/woodpecker/pull/6653"},{"category":"external","summary":"Fix Commit","url":"https://github.com/woodpecker-ci/woodpecker/commit/98faae778c953678944996c89ed99307d2f16a3d"},{"category":"external","summary":"vulncheck.com","url":"https://www.vulncheck.com/advisories/woodpecker-gitlab-approval-gate-bypass-via-spoofable-commit-author-name"}]},"product_tree":{"branches":[{"category":"vendor","name":"woodpecker-ci","branches":[{"category":"product_name","name":"woodpecker","branches":[{"category":"product_version_range","name":"<3.15.0","product":{"name":"woodpecker-ci woodpecker <3.15.0","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:woodpecker-ci:woodpecker:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-58370","title":"Woodpecker < 3.15.0 - GitLab Approval Gate Bypass via Spoofable Commit Author Name","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v4":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","baseScore":9.2,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 3.15.0.","product_ids":["CSAFPID-1"],"url":"https://github.com/woodpecker-ci/woodpecker/commit/98faae778c953678944996c89ed99307d2f16a3d"}]}]}