CVE-2026-50141: Go.woodpecker ci.org/woodpecker/v3 Woodpecker GRPC Agent_id Metadata Can Vulnerability
HIGHCVE-2026-50141 is a HIGH woodpecker grpc agent_id metadata can vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Go.woodpecker ci.org/woodpecker/v3 libraries in the Go ecosystem. The issue involves woodpecker grpc agent_id metadata can be spoofed- cross-tenant agent impersonation. Remediation is available by upgrading affected packages to version 3.14.1.
CVE-2026-50141 at a Glance
How to Fix CVE-2026-50141
To remediate this vulnerability, upgrade all affected Go.woodpecker ci.org/woodpecker/v3 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade go.woodpecker-ci.org/woodpecker/v3 to 3.14.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for go.woodpecker-ci.org/woodpecker/v3
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-50141, inspect your project dependencies for Go.woodpecker ci.org/woodpecker/v3:
inspect dependencies for go.woodpecker-ci.org/woodpecker/v3
Analyze the terminal output to locate any version of Go.woodpecker ci.org/woodpecker/v3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.14.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Go.woodpecker ci.org/woodpecker/v3, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-50141 Affected Go.woodpecker ci.org/woodpecker/v3 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
go.woodpecker-ci.org/woodpecker/v3
|
Go |
≥ 3.0.0
< 3.14.1
|
3.14.1
|
References
Frequently Asked Questions
What is CVE-2026-50141?
Which Go.woodpecker ci.org/woodpecker/v3 versions are affected?
What version fixes CVE-2026-50141?
Is go.woodpecker-ci.org/woodpecker/v3 affected?
What CWE is associated with CVE-2026-50141?
How can I check Go dependencies for CVE-2026-50141?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g7mm-9vx7-jm7h",
"modified" : "2026-07-14T19:00:29Z",
"published" : "2026-07-14T19:00:29Z",
"aliases" : [ "CVE-2026-50141" ],
"summary" : "Woodpecker gRPC agent_id metadata can be spoofed- cross-tenant agent impersonation",
"details" : "### 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",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "go.woodpecker-ci.org/woodpecker/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.14.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-g7mm-9vx7-jm7h"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-50141"
}, {
"type" : "WEB",
"url" : "https://github.com/woodpecker-ci/woodpecker-security/issues/21"
}, {
"type" : "WEB",
"url" : "https://github.com/woodpecker-ci/woodpecker/issues/6541"
}, {
"type" : "WEB",
"url" : "https://github.com/woodpecker-ci/woodpecker/pull/6567"
}, {
"type" : "WEB",
"url" : "https://github.com/woodpecker-ci/woodpecker/pull/6569"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/woodpecker-ci/woodpecker"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-290", "CWE-639" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-14T19:00:29Z",
"nvd_published_at" : "2026-06-18T14:17:29Z"
}
}