{"id":"GHSA-3wf2-2pq4-4rvc","revision":"1d140f39b7e344b7913f0e8b3dca06f9","records":[{"revision":"1d140f39b7e344b7913f0e8b3dca06f9","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-3wf2-2pq4-4rvc","aliases":["CVE-2024-41122","GO-2024-2998"],"title":"Woodpecker's custom environment variables allow to alter execution flow of plugins","description":"### Impact\nThe server allow to create any user who can trigger a pipeline run malicious workflows:\n- Those workflows can either lead to a host takeover that runs the agent executing the workflow.\n- Or allow to extract the secrets who would be normally provided to the plugins who's entrypoint are overwritten.\n\n### Patches\nhttps://github.com/woodpecker-ci/woodpecker/pull/3909\nhttps://github.com/woodpecker-ci/woodpecker/pull/3934\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n**Enable the \"gated\" repo feature and review each change upfront of running**\n\n### References\n- https://github.com/woodpecker-ci/woodpecker/pull/3909\n- https://github.com/woodpecker-ci/woodpecker/pull/3934\n- https://github.com/woodpecker-ci/woodpecker-security/issues/10 (info will be published later at https://github.com/woodpecker-ci/woodpecker/issues/3929)\n- https://github.com/woodpecker-ci/woodpecker/issues/3929 (info will be published later once we got adoption of the update)\n\n### Credits\n\n- Daniel Kilimnik [@D_K_Dev](https://x.com/D_K_Dev) (Neodyme AG)\n- Felipe Custodio Romero [@_localo_](https://x.com/_localo_) (Neodyme AG)","state":0,"publishedAt":"2024-07-19T19:59:06+00:00","modifiedAt":"2026-09-10T03:50:16.1901746+00:00","affected":[{"ecosystem":"Go","name":"go.woodpecker-ci.org/woodpecker/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.7.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"go.woodpecker-ci.org/woodpecker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.7.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-3wf2-2pq4-4rvc","https://nvd.nist.gov/vuln/detail/CVE-2024-41122","https://github.com/woodpecker-ci/woodpecker-security/issues/10","https://github.com/woodpecker-ci/woodpecker/issues/3929","https://github.com/woodpecker-ci/woodpecker/pull/3909","https://github.com/woodpecker-ci/woodpecker/pull/3934","https://github.com/woodpecker-ci/woodpecker/commit/8aa3e5ec82c92eca3279e4be68625111eeedf1c4","https://github.com/woodpecker-ci/woodpecker","https://pkg.go.dev/vuln/GO-2024-2998"],"sourceUrl":"https://github.com/advisories/GHSA-3wf2-2pq4-4rvc","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-3wf2-2pq4-4rvc","identifiers":["GHSA-3wf2-2pq4-4rvc","CVE-2024-41122","GO-2024-2998"]},"retained":false,"historicalAffected":[]}],"coverage":[]}