{"id":"CVE-2026-50141","published":"2026-06-18T14:13:38Z","modified":"2026-06-18T16:10:41Z","title":"Woodpecker gRPC agent_id metadata can be spoofed- cross-tenant agent impersonation","vendor":"woodpecker-ci","product":"woodpecker","tier":"tail","description":{"text":"Woodpecker is a CI/CD engine. Starting in version 3.0.0 and prior to version 3.14.1, a vulnerability in Woodpecker CI's gRPC layer allowed any authenticated agent to impersonate any other agent on the same server by injecting a forged `agent_id` value into outgoing gRPC metadata. The server correctly verified the JWT token but then discarded the verified agent identity in favor of the client-supplied value. Version 3.14.1 patches the issue. As a workaround, disable org agents (`WOODPECKER_DISABLE_USER_AGENT_REGISTRATION=true`) and delete existing ones.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00427,"percentile":0.3787,"provenance":"source"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-g7mm-9vx7-jm7h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/woodpecker-ci/woodpecker-security/issues/21","tags":["x_refsource_MISC"]},{"url":"https://github.com/woodpecker-ci/woodpecker/issues/6541","tags":["x_refsource_MISC"]},{"url":"https://github.com/woodpecker-ci/woodpecker/pull/6567","tags":["x_refsource_MISC"]},{"url":"https://github.com/woodpecker-ci/woodpecker/pull/6569","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":7.57},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"woodpecker-ci","affectedVersions":[{"vendor":"woodpecker-ci","product":"woodpecker","versions":[">= 3.0.0, < 3.14.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-18T15:21:39.524543Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"go.woodpecker-ci.org/woodpecker/v3","vulnerableRanges":[">=3.0.0, <3.14.1"],"patched":["3.14.1"],"from":["GHSA-g7mm-9vx7-jm7h","GO-2026-5976"],"provenance":"source"},{"ecosystem":"Go","package":"go.woodpecker-ci.org/woodpecker","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5976"],"provenance":"source"},{"ecosystem":"Go","package":"go.woodpecker-ci.org/woodpecker/v2","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5976"],"provenance":"source"}],"summary":{"text":"Woodpecker CI's gRPC layer, in versions from 3.0.0 before 3.14.1, trusts a client-supplied agent_id value in outgoing gRPC metadata rather than the agent identity verified from the JWT token. An attacker who holds valid agent credentials over the network, with no user interaction, can impersonate any other agent on the same server by injecting a forged agent_id, which means integrity is compromised across agents on that server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:30Z"},"euvd":{"id":"EUVD-2026-37897","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-50141","published":"2026-06-18","fixed":"3.14.1","kev":false},{"cve":"CVE-2026-61549","published":"2026-09-15","fixed":"3.16.0","kev":false,"link":{"from":"CVE-2026-50141","to":"CVE-2026-61549","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:go.woodpecker-ci.org/woodpecker/v3","fromFixed":"3.14.1","toFixed":"3.16.0","daysApart":89}]}}],"package":"Go:go.woodpecker-ci.org/woodpecker/v3"}}