Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. go.woodpecker-ci.org/woodpecker/v2
  4. ›
  5. CVE-2024-41121

CVE-2024-41121: Woodpecker's custom workspace allow to overwrite plugin entrypoint executable

July 19, 2024

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.

References

  • github.com/advisories/GHSA-xw35-rrcp-g7xm
  • github.com/woodpecker-ci/woodpecker
  • github.com/woodpecker-ci/woodpecker/commit/764329ed1dbc47c4a517ccc749e3feb34059fac8
  • github.com/woodpecker-ci/woodpecker/issues/3924
  • github.com/woodpecker-ci/woodpecker/pull/3933
  • github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-xw35-rrcp-g7xm
  • nvd.nist.gov/vuln/detail/CVE-2024-41121

Code Behaviors & Features

Detect and mitigate CVE-2024-41121 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.7.0

Fixed versions

  • 2.7.0

Solution

Upgrade to version 2.7.0 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/go.woodpecker-ci.org/woodpecker/v2/CVE-2024-41121.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:50 +0000.