CVE-2026-50141 Woodpecker gRPC agent_id metadata can be spoofed- cross-tenant agent impersonation

High 7.1 Published Updated

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.

Weakness: CWE-639, CWE-290

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.

PackageAffectedFixed in
go.woodpecker-ci.org/woodpecker/v3 GoFrom 3.0.03.14.1
go.woodpecker-ci.org/woodpecker/v3 GoFrom 3.0.03.14.1
go.woodpecker-ci.org/woodpecker/v3 GoFrom 3.0.03.14.1
go.woodpecker-ci.org/woodpecker GoAll versionsNone
go.woodpecker-ci.org/woodpecker/v2 GoAll versionsNone

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.

Is CVE-2026-50141 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free