Advisory

GHSA-g7mm-9vx7-jm7h

Also known as: CVE-2026-50141, GO-2026-5976

Summary

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

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-07-14 19:00 UTC
Modified
2026-07-21 19:19 UTC

Affected packages and fixes

go.woodpecker-ci.org/woodpecker/v3

Go · All systems

Affected

  • introduced 3.0.0, fixed 3.14.1 (semver)

Fixed versions

3.14.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences