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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| woodpecker-ci | woodpecker | >= 1.0.0, < 3.16.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/woodpecker-ci/woodpecker | >= 1.0.0, <= 1.0.4 | — | GHSA-qf34-295c-26v8 |
| Go | github.com/woodpecker-ci/woodpecker | >= 1.0.0 | — | GO-2026-5992 |
| Go | go.woodpecker-ci.org/woodpecker | all versions | — | GO-2026-5992 |
| Go | go.woodpecker-ci.org/woodpecker/v2 | <= 2.8.3 | — | GHSA-qf34-295c-26v8 |
| Go | go.woodpecker-ci.org/woodpecker/v2 | all versions | — | GO-2026-5992 |
| Go | go.woodpecker-ci.org/woodpecker/v3 | < 3.16.0 | 3.16.0 | GHSA-qf34-295c-26v8 |
Advisories 1
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
References
- https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-qf34-295c-26v8
- https://github.com/woodpecker-ci/woodpecker/pull/6792
- https://github.com/woodpecker-ci/woodpecker/commit/5df9d52260626c074c6caafb2dc83d3bc6b53be1
- https://github.com/woodpecker-ci/woodpecker/commit/609ba481b5e912f59aaae8ca7bc22b44523c5e37
- https://github.com/woodpecker-ci/woodpecker/releases/tag/v3.16.0