Vulnerability · Published Jun 18, 2026 · Assigned by GitHub_M
CVE-2026-50141Woodpecker gRPC agent_id metadata can be spoofed- cross-tenant agent impersonation
High 7.1
In plain English
A high-severity authentication bypass by spoofing in woodpecker from woodpecker-ci. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | go.woodpecker-ci.org/woodpecker | no fix listed | GO-2026-5976 |
| Go | go.woodpecker-ci.org/woodpecker/v2 | no fix listed | GO-2026-5976 |
| Go | go.woodpecker-ci.org/woodpecker/v3 | 3.14.1 | GHSA-g7mm-9vx7-jm7h |
| Go | go.woodpecker-ci.org/woodpecker/v3 | 3.14.1 | GO-2026-5976 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| woodpecker-ci | woodpecker | >= 3.0.0, < 3.14.1 |
Weakness: CWE-290, CWE-639 · 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
References
- https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-g7mm-9vx7-jm7h x_refsource_CONFIRM
- https://github.com/woodpecker-ci/woodpecker-security/issues/21 x_refsource_MISC
- https://github.com/woodpecker-ci/woodpecker/issues/6541 x_refsource_MISC
- https://github.com/woodpecker-ci/woodpecker/pull/6567 x_refsource_MISC
- https://github.com/woodpecker-ci/woodpecker/pull/6569 x_refsource_MISC