{"id":"CVE-2024-41121","published":"2024-07-19T19:57:15Z","modified":"2024-08-02T04:46:51Z","title":"Custom workspace allow to overwrite plugin entrypoint executable in Woodpecker","vendor":"woodpecker-ci","product":"woodpecker","tier":"tail","description":{"text":"Woodpecker is a simple yet powerful CI/CD engine with great extensibility. The server allow to create any user who can trigger a pipeline run malicious workflows: 1. Those workflows can either lead to a host takeover that runs the agent executing the workflow. 2. Or allow to extract the secrets who would be normally provided to the plugins who's entrypoint are overwritten. This issue has been addressed in release version 2.7.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00737,"percentile":0.55399,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-xw35-rrcp-g7xm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/woodpecker-ci/woodpecker-security/issues/8","tags":["x_refsource_MISC"]},{"url":"https://github.com/woodpecker-ci/woodpecker-security/issues/9","tags":["x_refsource_MISC"]},{"url":"https://github.com/woodpecker-ci/woodpecker/issues/3924","tags":["x_refsource_MISC"]},{"url":"https://github.com/woodpecker-ci/woodpecker-security/pull/11","tags":["x_refsource_MISC"]},{"url":"https://github.com/woodpecker-ci/woodpecker/pull/3933","tags":["x_refsource_MISC"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":11.08},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"woodpecker-ci","affectedVersions":[{"vendor":"woodpecker-ci","product":"woodpecker","versions":["< 2.7.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-07-23T15:08:10.669502Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"go.woodpecker-ci.org/woodpecker/v2","vulnerableRanges":["<2.7.0"],"patched":["2.7.0"],"from":["GHSA-xw35-rrcp-g7xm","GO-2024-2999"],"provenance":"source"},{"ecosystem":"Go","package":"go.woodpecker-ci.org/woodpecker","vulnerableRanges":["<2.7.0","all versions"],"patched":["2.7.0"],"from":["GHSA-xw35-rrcp-g7xm","GO-2024-2999"],"provenance":"source"}],"summary":{"text":"Woodpecker CI/CD's server (product: woodpecker) contains a flaw in its custom workspace handling that lets a user overwrite a plugin's entrypoint executable, classed as an injection weakness in output passed to a downstream component. An attacker who holds a low-privilege account able to trigger pipeline runs, with no user interaction, can use this to take over the host running the agent that executes the workflow or to extract secrets normally supplied to the overwritten plugins.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:40:34Z"},"euvd":{"id":"EUVD-2024-2456","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-woodpecker-ci-woodpecker-cve-2024-41121","children":[{"from":"CVE-2024-41121","to":"CVE-2026-61549","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pipeline/frontend/yaml/compiler/convert.go"],"commits":["https://github.com/woodpecker-ci/woodpecker/commit/764329ed1dbc47c4a517ccc749e3feb34059fac8","https://github.com/woodpecker-ci/woodpecker/commit/5df9d52260626c074c6caafb2dc83d3bc6b53be1","https://github.com/woodpecker-ci/woodpecker/commit/609ba481b5e912f59aaae8ca7bc22b44523c5e37"],"basis":"shared function","functions":["createProcess"]}]}]}}