Live threats

All CVEs / woodpecker-ci

CVE-2026-61549woodpecker-ci woodpecker

Privilege escalation in Woodpecker CI/CD Kubernetes backend

Critical 9.0

Priority
54
CVSS 4.0
9.0
EPSS
—
Auth required
Yes
Published
Sep 15, 2026
Updated
Sep 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-269, CWE-862
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.

Source text, unmodified. NVD.

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.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for woodpecker.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.