Custom environment variables allow to alter execution flow of plugins in Woodpecker
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-41122
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 03:09 UTC · Revision 1
Source evidence
Custom environment variables allow to alter execution flow of plugins in Woodpecker
core-osv · Original sourcePublished 19 Jul 2024, 19:58 UTC
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.
osv:CVE-2024-41122
Complete source record
{
"id": "d82b745dd2265db67dfd8864f5795ffee4f207f809da822a2894738f189ae9a5",
"url": "https://osv.dev/vulnerability/CVE-2024-41122",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Custom environment variables allow to alter execution flow of plugins in Woodpecker",
"summary": "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.",
"evidence": "osv:CVE-2024-41122",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-41122",
"aliases": [
"CVE-2024-41122",
"GHSA-3wf2-2pq4-4rvc",
"GO-2024-2998"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/woodpecker-ci/woodpecker",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "805c3156f857c228e9094a96619b4d00a5e6f711"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.7.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:woodpecker-ci:woodpecker:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.7.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.6.0",
"v2.5.0",
"v2.4.1",
"v2.4.0",
"v2.3.0",
"v2.2.2",
"v2.2.1",
"v2.2.0",
"v2.1.1",
"v2.1.0",
"v2.0.0",
"v2.0.0-rc.0",
"v0.15.0",
"v0.15.0-rc2",
"v0.15.0-rc1",
"v0.14.0",
"v0.14.0-rc.2",
"v0.14.0-rc.1",
"v0.13.0",
"v0.13.0-rc.3",
"v0.13.0-rc.2",
"v0.13.0-rc.1",
"v0.12.0",
"v0.11.0",
"v0.10.0",
"v0.9.2",
"v0.9.1",
"v0.9.0",
"v0.8.106",
"v0.8.105",
"v0.8.104",
"v0.8.103",
"v0.8.102",
"v0.8.101",
"v0.8.100",
"v0.8.99",
"v0.8.98",
"v0.8.97",
"v0.8.96",
"v0.8.95",
"v0.8.94",
"v0.8.93",
"v0.8.92",
"v0.8.91"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41122.json"
}
}
],
"modified": "2026-10-28T02:30:32.828281960Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41122.json",
"https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-3wf2-2pq4-4rvc",
"https://nvd.nist.gov/vuln/detail/CVE-2024-41122",
"https://github.com/woodpecker-ci/woodpecker-security/issues/10",
"https://github.com/woodpecker-ci/woodpecker/issues/3929",
"https://github.com/woodpecker-ci/woodpecker/pull/3909",
"https://github.com/woodpecker-ci/woodpecker/pull/3934"
],
"provider_metadata": {
"cwe_ids": [
"CWE-74"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41122.json"
}
},
"related_cves": [
{
"value": "CVE-2024-41122",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499940,
"published_at": "2024-07-19T19:58:41.18+00:00"
}