{"id":"GHSA-g7mm-9vx7-jm7h","revision":"c431d4d12f8a4650a355129bc8cdbbc7","records":[{"revision":"c431d4d12f8a4650a355129bc8cdbbc7","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-g7mm-9vx7-jm7h","aliases":["CVE-2026-50141","GO-2026-5976"],"title":"Woodpecker gRPC agent_id metadata can be spoofed- cross-tenant agent impersonation","description":"### Impact\nA 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.\n\n### Patches\nDirect patch: https://github.com/woodpecker-ci/woodpecker/pull/6567\nLater proper fix: https://github.com/woodpecker-ci/woodpecker/pull/6569\n\n### Workarounds\nDisable org agents (`WOODPECKER_DISABLE_USER_AGENT_REGISTRATION=true`) and delete existing ones\n\n### Resources\nPublic ref: https://github.com/woodpecker-ci/woodpecker/issues/6541\nPrivate com: https://github.com/woodpecker-ci/woodpecker-security/issues/21","state":0,"publishedAt":"2026-07-14T19:00:29+00:00","modifiedAt":"2026-07-21T19:19:07.1396757+00:00","affected":[{"ecosystem":"Go","name":"go.woodpecker-ci.org/woodpecker/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.0.0"},{"kind":"fixed","version":"3.14.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-g7mm-9vx7-jm7h","https://nvd.nist.gov/vuln/detail/CVE-2026-50141","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","https://github.com/woodpecker-ci/woodpecker"],"sourceUrl":"https://github.com/advisories/GHSA-g7mm-9vx7-jm7h","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-g7mm-9vx7-jm7h","identifiers":["GHSA-g7mm-9vx7-jm7h","CVE-2026-50141","GO-2026-5976"]},"retained":false,"historicalAffected":[]}],"coverage":[]}