# CVE-2024-41122: Custom environment variables allow to alter execution flow of plugins in Woodpecker

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2024-07-19T19:58:41.180Z
- Modified: 2026-09-10T03:50:16.190Z
- Also known as: GHSA-3wf2-2pq4-4rvc, GO-2024-2998
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- woodpecker-ci woodpecker: < 2.7.0; before 2.7.0
- go.woodpecker-ci.org/woodpecker/v2 (Go): before 2.7.0
- go.woodpecker-ci.org/woodpecker (Go): before 2.7.0; all versions

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-3wf2-2pq4-4rvc> (advisory, third-party-advisory, web)
- <https://github.com/woodpecker-ci/woodpecker-security/issues/10> (broken-link, web)
- <https://github.com/woodpecker-ci/woodpecker/issues/3929> (patch, web)
- <https://github.com/woodpecker-ci/woodpecker/pull/3909> (patch, web)
- <https://github.com/woodpecker-ci/woodpecker/pull/3934> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-41122> (advisory)
- <https://github.com/woodpecker-ci/woodpecker/commit/8aa3e5ec82c92eca3279e4be68625111eeedf1c4> (web)
- <https://github.com/woodpecker-ci/woodpecker> (package)
- <https://pkg.go.dev/vuln/GO-2024-2998> (web)

## Sources

- CVE List: [CVE-2024-41122](https://www.cve.org/CVERecord?id=CVE-2024-41122), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-3wf2-2pq4-4rvc](https://github.com/advisories/GHSA-3wf2-2pq4-4rvc), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2998](https://pkg.go.dev/vuln/GO-2024-2998), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-41122](https://nvd.nist.gov/vuln/detail/CVE-2024-41122), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-41122 · Whole record: https://cve.day/CVE-2024-41122.json · Rebuilt by cve.day 2026-11-25T22:58:43.067Z
