CVEfocus › CVE database › CVE-2026-61549

CVE-2026-61549Woodpecker: Privilege escalation via unrestricted serviceAccountName in the Kubernetes…

CVSS 9.0 CriticalEPSS 0.3% (higher than 13% of CVEs)Published 2026-09-15Updated 2026-09-16Assigner: GitHub_M

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.

CWE-269CWE-862

What to do

Fixed builds are available from Go: see the table below for the fixed version per release.

Go has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
3Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Go librarygithub.com/woodpecker-ci/woodpeckerFix pendingGO-2026-5992
Go librarygo.woodpecker-ci.org/woodpeckerFix pendingGO-2026-5992
Go librarygo.woodpecker-ci.org/woodpecker/v2Fix pendingGHSA-qf34-295c-26v8
Go librarygo.woodpecker-ci.org/woodpecker/v3Fixed3.16.0GHSA-qf34-295c-26v8

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.