Loading...
Skip to main content

CVE-2024-41121 — Vulnerability in go.woodpecker-ci.org/woodpecker...

HIGH

Woodpecker's custom workspace allow to overwrite plugin entrypoint executable

Published July 19, 2024Updated September 10, 2026Source: osv

Summary

### 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/3933 ### 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** ### References - https://github.com/woodpecker-ci/woodpecker/pull/3933 - https://github.com/woodpecker-ci/woodpecker-security/pull/11 - https://github.com/woodpecker-ci/woodpecker-security/issues/8 (info will be published later at https://github.com/woodpecker-ci/woodpecker/issues/3924) - https://github.com/woodpecker-ci/woodpecker-security/issues/9 (info will be published later at https://github.com/woodpecker-ci/woodpecker/issues/3924) - https://github.com/woodpecker-ci/woodpecker/issues/3924 (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)

Advisory Timeline

  • First published July 19, 2024 (815 days ago).
  • Last revised September 10, 2026 — 782 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update go.woodpecker-ci.org/woodpecker to 2.7.0 or later
go get go.woodpecker-ci.org/woodpecker@v2.7.0
Go
Update go.woodpecker-ci.org/woodpecker/v2 to 2.7.0 or later
go get go.woodpecker-ci.org/woodpecker/v2@v2.7.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: go (2).

PackageEcosystemAffectedFixed In
go.woodpecker-ci.org/woodpecker
go
All versions2.7.0
go.woodpecker-ci.org/woodpecker/v2
go
All versions2.7.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-41121?
Woodpecker's custom workspace allow to overwrite plugin entrypoint executable This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2024-41121?
CVE-2024-41121 affects go.woodpecker-ci.org/woodpecker and go.woodpecker-ci.org/woodpecker/v2. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-41121 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

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

Related CVEs

  • CVE-2026-107809
    HIGH

    Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs

  • CVE-2026-107813
    HIGH

    Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies