GitHub Advisoryadvisory · Go
GHSA-g7mm-9vx7-jm7h Woodpecker gRPC agent_id metadata can be spoofed- cross-tenant agent impersonation
HIGH
Official page ↗
- Aliases
- CVE-2026-50141
- Ecosystem
- Go
- Packages
- go.woodpecker-ci.org/woodpecker/v3
- Severity
- High
- CVSS 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
- Weaknesses
- CWE-290, CWE-639
- Reviewed
- 2026-07-14
Affected packages
• Go go.woodpecker-ci.org/woodpecker/v3: >= 3.0.0, < 3.14.1 → fixed in 3.14.1
Description
Impact
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.
Patches
Direct patch: https://github.com/woodpecker-ci/woodpecker/pull/6567
Later proper fix: https://github.com/woodpecker-ci/woodpecker/pull/6569
Workarounds
Disable org agents (`WOODPECKER_DISABLE_USER_AGENT_REGISTRATION=true`) and delete existing ones
Resources
Public ref: https://github.com/woodpecker-ci/woodpecker/issues/6541
Private com: https://github.com/woodpecker-ci/woodpecker-security/issues/21
Related
Alias · CVE (1)
- CVE-2026-50141 Woodpecker is a CI/CD engine. vulnerability
References
- https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-g7mm-9vx7-jm7h web
- https://nvd.nist.gov/vuln/detail/CVE-2026-50141 advisory
- https://github.com/woodpecker-ci/woodpecker-security/issues/21 web
- https://github.com/woodpecker-ci/woodpecker/issues/6541 web
- https://github.com/woodpecker-ci/woodpecker/pull/6567 web
- https://github.com/woodpecker-ci/woodpecker/pull/6569 web
- https://github.com/woodpecker-ci/woodpecker package