Repositoty takeover in woodpecker-ci
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
Woodpecker is a community fork of the Drone CI system. In affected versions an attacker can post malformed webhook data witch lead to an update of the repository data that can e.g. allow the takeover of an repo. This is only critical if the CI is configured for public usage and connected to a forge witch is also in public usage. This issue has been addressed in version 1.0.2. Users are advised to upgrade. Users unable to upgrade should secure the CI system by making it inaccessible to untrusted entities, for example, by placing it behind a firewall.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| woodpecker-ci | woodpecker | 1.0.0 to before 1.0.2 | 1.0.2 | Patch available | CNA |
| — | github.com/woodpecker-ci/woodpecker (Go) | 1.0.0 to before 1.0.2 | 1.0.2 | Patch available | GHSA-4gcf-5m39-98mc |
- woodpecker Vendorwoodpecker-ci Affected 1.0.0 to before 1.0.2 Fixed in 1.0.2 Patch available CNA
- github.com/woodpecker-ci/woodpecker (Go) Vendor— Affected 1.0.0 to before 1.0.2 Fixed in 1.0.2 Patch available GHSA-4gcf-5m39-98mc
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:woodpecker-ci:woodpecker:*:*:*:*:*:*:*:* | 1.0.0 to before 1.0.2 | Vulnerable | woodpecker-ci |
- cpe:2.3:a:woodpecker-ci:woodpecker:*:*:*:*:*:*:*:* Versions 1.0.0 to before 1.0.2 Vulnerable ·woodpecker-ci
Remediation
- Fix · CNA woodpecker (woodpecker-ci) Fixed in 1.0.2
- Fix · GHSA-4gcf-5m39-98mc github.com/woodpecker-ci/woodpecker (Go) Fixed in 1.0.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-40034
- 2026-10-03 Alias added: GHSA-4gcf-5m39-98mc
References
Advisory 2
More woodpecker-ci Woodpecker vulnerabilities
- TI-2024-27474 Custom environment variables allow to alter execution flow of plugins in Woodpecker CVSS 3.1HIGH 8.8
- TI-2024-27473 Custom workspace allow to overwrite plugin entrypoint executable in Woodpecker CVSS 3.1HIGH 8.8
- TI-2022-12293 Woodpecker before 0.15.1 allows XSS via build logs because web/src/components/repo/build/BuildLog.vue lacks escaping. CVSS 3.1MEDIUM 6.1
Sources
- CVE-2023-40034 · CVE Program
- CVE-2023-40034 · NVD
- FIRST EPSS
- GHSA-4gcf-5m39-98mc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences