🛡️ CVE-2024-41122 — woodpecker
Description
Woodpecker's custom environment variables allow to alter execution flow of plugins
Impact
The server allow to create any user who can trigger a pipeline run malicious workflows:
- Those workflows can either lead to a host takeover that runs the agent executing the workflow.
- Or allow to extract the secrets who would be normally provided to the plugins who's entrypoint are overwritten.
Patches
https://github.com/woodpecker-ci/woodpecker/pull/3909
https://github.com/woodpecker-ci/woodpecker/pull/3934
Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_
Enable the "gated" repo feature and review each change upfront of running
References
- https://github.com/woodpecker-ci/woodpecker/pull/3909
- https://github.com/woodpecker-ci/woodpecker/pull/3934
- https://github.com/woodpecker-ci/woodpecker-security/issues/10 (info will be published later at https://github.com/woodpecker-ci/woodpecker/issues/3929)
- https://github.com/woodpecker-ci/woodpecker/issues/3929 (info will be published later once we got adoption of the update)
Credits
- Daniel Kilimnik [@D_K_Dev](https://x.com/D_K_Dev) (Neodyme AG)
- Felipe Custodio Romero [@_localo_](https://x.com/_localo_) (Neodyme AG)
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Affected software
CVE-2024-41122 is recorded against 3 packages.
- go.woodpecker-ci.org/woodpecker
- go.woodpecker-ci.org/woodpecker/v2
- woodpecker (fixed in 2.7.0)
Timeline and source
Published on 19 July 2024 and last revised on 3 March 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.
References
github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Package)
pkg.go.dev (Web)
Details
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| go.woodpecker-ci.org/woodpecker | — | — |
| go.woodpecker-ci.org/woodpecker/v2 | — | — |
| woodpecker | — | 2.7.0 |
References
Similar Threats
- High CVE-2026-61549
- High CVE-2026-50141
- High CVE-2024-41121
More CVE 2024 advisories
Browse all of CVE 2024 in the advisory index.
Site Security Check
Is woodpecker part of your stack?
CVE-2024-41122 is rated CVSS 7.5 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.