CVE-2026-50141 Woodpecker gRPC agent_id metadata can be spoofed- cross-tenant agent impersonation
Authenticated agents can impersonate others by spoofing gRPC metadata, allowing cross-tenant agent impersonation in Woodpecker CI.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-50141?
CVE-2026-50141 is a high-severity authentication bypass vulnerability in woodpecker-ci woodpecker, published on 18 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
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.
Which versions are affected by CVE-2026-50141?
5 open source packages ship an affected version, including go.woodpecker-ci.org/woodpecker/v3, go.woodpecker-ci.org/woodpecker and go.woodpecker-ci.org/woodpecker/v2.
| Package | Affected | Fixed in |
|---|---|---|
go.woodpecker-ci.org/woodpecker/v3 Go | From 3.0.0 | 3.14.1 |
go.woodpecker-ci.org/woodpecker/v3 Go | From 3.0.0 | 3.14.1 |
go.woodpecker-ci.org/woodpecker/v3 Go | From 3.0.0 | 3.14.1 |
go.woodpecker-ci.org/woodpecker Go | All versions | None |
go.woodpecker-ci.org/woodpecker/v2 Go | All versions | None |
How do I fix CVE-2026-50141?
Upgrade go.woodpecker-ci.org/woodpecker/v3 to 3.14.1 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-50141 being exploited?
There is no known exploitation of CVE-2026-50141 in the wild and no public exploit code.
Sources
Also known as GHSA-g7mm-9vx7-jm7h, GO-2026-5976.