All reports
High

Woodpecker's custom workspace allow to overwrite plugin entrypoint executable

Affected versions

Version ranges need review.

Affected versions
< 2.7.0
Fixed version
2.7.0
Affected versions
<2.7.0
Fixed version
2.7.0
Affected versions
*
Fixed version
Not reported
Affected versions
< 2.7.0
Fixed version
2.7.0

Exploitation

CVE-2024-41121

Probability of exploitation in the next 30 days: 0.74%

FIRST EPSS · 2026-11-20

Description

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
Credits
  • Daniel Kilimnik @D_K_Dev (Neodyme AG)

  • Felipe Custodio Romero @localo (Neodyme AG)

Links