CVE-2026-61549
published critical CVSS 4.0 · 9.0Woodpecker: Privilege escalation via unrestricted serviceAccountName in the Kubernetes backend
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| woodpecker-ci | — | woodpecker>= 1.0.0, < 3.16.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| woodpecker-ci | woodpecker | >= 1.0.0, < 3.16.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-269 CWE-269: Improper Privilege Management
- CWE-862 CWE-862: Missing Authorization
References
5- https://github.com/woodpecker-ci/woodpecker/commit/5df9d52260626c074c6caafb2dc83d3bc6b53be1
- https://github.com/woodpecker-ci/woodpecker/commit/609ba481b5e912f59aaae8ca7bc22b44523c5e37
- https://github.com/woodpecker-ci/woodpecker/pull/6792
- https://github.com/woodpecker-ci/woodpecker/releases/tag/v3.16.0
- https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-qf34-295c-26v8
Provider assertions
2GitHub_M · cna
Woodpecker: Privilege escalation via unrestricted serviceAccountName in the Kubernetes backend
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 10756ae2d16172ef00d620da5ed792765ea5954b28c7e34c727fbf457f5a8f75
- Ingested
- 23 Sep 2026, 09:24:40 UTC
- Source record
- Official CVE record