{"answers":{"affected":"5 open source packages ship an affected version, including go.woodpecker-ci.org/woodpecker/v3, go.woodpecker-ci.org/woodpecker and go.woodpecker-ci.org/woodpecker/v2.","exploited":"There is no known exploitation of CVE-2026-50141 in the wild and no public exploit code.","fix":"Upgrade go.woodpecker-ci.org/woodpecker/v3 to 3.14.1 or later.","what":"CVE-2026-50141 is a high-severity authentication bypass vulnerability in woodpecker-ci woodpecker, published on 18 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-50141 and fix it if it is affected.\n\nWhat it is: CVE-2026-50141 is a high-severity authentication bypass vulnerability in woodpecker-ci woodpecker, published on 18 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-50141 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- go.woodpecker-ci.org/woodpecker/v3 (Go): affected from 3.0.0; fixed in 3.14.1\n- go.woodpecker-ci.org/woodpecker/v3 (Go): affected from 3.0.0; fixed in 3.14.1\n- go.woodpecker-ci.org/woodpecker/v3 (Go): affected from 3.0.0; fixed in 3.14.1\n- go.woodpecker-ci.org/woodpecker (Go): affected all versions; no fix listed\n- go.woodpecker-ci.org/woodpecker/v2 (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-50141/ (Markdown: https://insights.sbomify.com/CVE-2026-50141/index.md)","id":"CVE-2026-50141","markdown":"https://insights.sbomify.com/CVE-2026-50141/index.md","name":"CVE-2026-50141","record":{"aliases":["GHSA-g7mm-9vx7-jm7h","GO-2026-5976"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"CI/CD engine","requires_auth":"low_privilege","summary":"Authenticated agents can impersonate others by spoofing gRPC metadata, allowing cross-tenant agent impersonation in Woodpecker CI.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"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","version":"4.0"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"},{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Woodpecker gRPC agent_id metadata can be spoofed- cross-tenant agent impersonation","id":"CVE-2026-50141","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":5,"n_references":5,"next":{"headline":"libheif: unbounded heap allocation in HEIF sequence parser (stsz fixed-size mode missing bound check)","id":"CVE-2026-50142"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"go.woodpecker-ci.org/woodpecker","purl":"pkg:golang/go.woodpecker-ci.org/woodpecker","source":"GO-2026-5976"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"go.woodpecker-ci.org/woodpecker/v2","purl":"pkg:golang/go.woodpecker-ci.org/woodpecker/v2","source":"GO-2026-5976"},{"ecosystem":"Go","fixed":["3.14.1"],"introduced":["3.0.0"],"last_affected":[],"package":"go.woodpecker-ci.org/woodpecker/v3","purl":null,"source":"GHSA-g7mm-9vx7-jm7h"},{"ecosystem":"Go","fixed":["3.14.1"],"introduced":["3.0.0"],"last_affected":[],"package":"go.woodpecker-ci.org/woodpecker/v3","purl":"pkg:golang/go.woodpecker-ci.org/woodpecker/v3","source":"GHSA-g7mm-9vx7-jm7h"},{"ecosystem":"Go","fixed":["3.14.1"],"introduced":["3.0.0"],"last_affected":[],"package":"go.woodpecker-ci.org/woodpecker/v3","purl":"pkg:golang/go.woodpecker-ci.org/woodpecker/v3","source":"GO-2026-5976"}],"prev":{"headline":"goshs: Share-link ?token=… redemption races past download limit","id":"CVE-2026-50139"},"products":["woodpecker"],"published":"2026-06-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-18","vendors":["woodpecker-ci"]},"summary":"Authenticated agents can impersonate others by spoofing gRPC metadata, allowing cross-tenant agent impersonation in Woodpecker CI.","url":"https://insights.sbomify.com/CVE-2026-50141/"}