# CVE-2024-41121: GO-2024-2999 - Woodpecker's custom workspace allow to overwrite plugin entrypoint executable in go.woodpecker-ci.org/woodpecker

Source: https://junglewise.ai/threats/cve-2024-41121-woodpecker-s-custom-workspace-allow-to-overwrite-plugin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-06  
License: CC BY 4.0 with a link back

CVE-2024-41121 · Severity: low · CVSS 3.1 · Published 2024-08-06

Woodpecker's custom workspace allow to overwrite plugin entrypoint executable in go.woodpecker-ci.org/woodpecker

Technologies: [go.woodpecker-ci.org/woodpecker (Go)](https://junglewise.ai/threats/technologies/go-woodpecker-ci-org-woodpecker), [go.woodpecker-ci.org/woodpecker/v2 (Go)](https://junglewise.ai/threats/technologies/go-woodpecker-ci-org-woodpecker-v2). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-41121 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-41121 being exploited in the wild.

**How severe is CVE-2024-41121?** Low severity, with a CVSS score of 3.1, published 6 August 2024.

**Which products and versions are affected?** go.woodpecker-ci.org/woodpecker (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=2.7.0; go.woodpecker-ci.org/woodpecker/v2 (Go) SEMVER:introduced=0,fixed=2.7.0.

**Is there a fix for CVE-2024-41121?** Yes. go.woodpecker-ci.org/woodpecker (Go): upgrade to 2.7.0 or later; go.woodpecker-ci.org/woodpecker/v2 (Go): upgrade to 2.7.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-41121?** Check whether you run go.woodpecker-ci.org/woodpecker (Go) or go.woodpecker-ci.org/woodpecker/v2 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- go.woodpecker-ci.org/woodpecker (Go): upgrade to 2.7.0 or later

  ```sh
  go get go.woodpecker-ci.org/woodpecker@v2.7.0
  ```

- go.woodpecker-ci.org/woodpecker/v2 (Go): upgrade to 2.7.0 or later

  ```sh
  go get go.woodpecker-ci.org/woodpecker/v2@v2.7.0
  ```


## Affected products

- go.woodpecker-ci.org/woodpecker (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=2.7.0
- go.woodpecker-ci.org/woodpecker/v2 (Go) SEMVER:introduced=0,fixed=2.7.0

## Identifiers

- CVE-2024-41121
- GHSA-xw35-rrcp-g7xm
- GO-2024-2999

## Related threats

- [Woodpecker CI privilege escalation in Kubernetes backend](https://junglewise.ai/threats/cve-2026-61549-woodpecker-ci-privilege-escalation-in-kubernetes-backend)
- [Woodpecker CI agent impersonation via gRPC metadata injection](https://junglewise.ai/threats/cve-2026-50141-woodpecker-ci-agent-impersonation-via-grpc-metadata-injection)
- [Woodpecker's custom environment variables allow to alter execution flow of plugins](https://junglewise.ai/threats/cve-2024-41122-woodpecker-s-custom-environment-variables-allow-to-alter)
