CVE-2026-61549woodpecker-ci woodpecker
Privilege escalation in Woodpecker CI/CD Kubernetes backend
Critical 9.0
Follow: this CVE · woodpecker-ci · woodpecker-ci woodpecker We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 4.0
- 9.0
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 15, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Woodpecker allows users with Push permissions to run pipeline pods under arbitrary ServiceAccounts without administrator authorization. An attacker can inherit RBAC permissions from privileged accounts, exfiltrating secrets such as database credentials, API keys, and TLS certificates, or compromising the Kubernetes cluster.
Show the original NVD text
Woodpecker is a CI/CD engine. From 1.0.0 until 3.16.0, pipeline/backend/kubernetes/backend_options.go defines backend_options.kubernetes.serviceAccountName, and the Kubernetes backend in pipeline/backend/kubernetes/pod.go copies that pipeline-step value directly into the pod specification without administrator authorization. Any user with Push permission on a connected repository can therefore run pipeline pods under an arbitrary ServiceAccount in the pipeline namespace and inherit that account's RBAC permissions. When a privileged ServiceAccount is reachable, the attacker can exfiltrate secrets such as database credentials, API keys, and TLS certificates and may take over the cluster. This issue is fixed in version 3.16.0.
What to do
Patch available · fixed versions: 3.16.0
Update Woodpecker to version 3.16.0 or later. Review accessible ServiceAccounts in the pipeline namespace and restrict RBAC permissions following the principle of least privilege.
- Apply the vendor's security update for woodpecker.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/woodpecker-ci/woodpecker |
≥ 1.0.0 ≤ 1.0.4 |
no fixed version | — |
| Go | github.com/woodpecker-ci/woodpecker |
≥ 1.0.0 |
no fixed version | — |
| Go | go.woodpecker-ci.org/woodpecker |
all |
no fixed version | — |
| Go | go.woodpecker-ci.org/woodpecker/v2 |
≤ 2.8.3 |
no fixed version | — |
| Go | go.woodpecker-ci.org/woodpecker/v2 |
all |
no fixed version | — |
| Go | go.woodpecker-ci.org/woodpecker/v3 |
< 3.16.0 |
3.16.0 |
go get go.woodpecker-ci.org/woodpecker/v3@v3.16.0 |
| Go | go.woodpecker-ci.org/woodpecker/v3 |
< 3.16.0 |
3.16.0 |
go get go.woodpecker-ci.org/woodpecker/v3@v3.16.0 |
Per OSV / GitHub Advisories (GHSA-qf34-295c-26v8, GO-2026-5992). Check the version in your lockfile before upgrading.
Affected products
- woodpecker-ci · woodpecker
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.