Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/woodpecker-ci/woodpecker
  4. ›
  5. CVE-2026-61549

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

July 14, 2026

A privilege escalation vulnerability affects Woodpecker instances using the Kubernetes backend.

The pipeline option backend_options.kubernetes.serviceAccountName was passed directly to the pod spec without any admin gating.

Who is impacted: any operator running the Kubernetes backend. Any user with Push permission on a connected repository can run pipeline pods under an arbitrary ServiceAccount in the pipeline namespace, gaining that account’s RBAC permissions. If a privileged ServiceAccount is reachable in that namespace, this can lead to secret exfiltration (database credentials, API keys, TLS certs) and full cluster takeover.

References

  • github.com/advisories/GHSA-qf34-295c-26v8
  • github.com/woodpecker-ci/woodpecker/pull/6792
  • github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-qf34-295c-26v8
  • nvd.nist.gov/vuln/detail/CVE-2026-61549

Code Behaviors & Features

Detect and mitigate CVE-2026-61549 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 up to 1.0.4

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management
  • CWE-862: Missing Authorization

Source file

go/github.com/woodpecker-ci/woodpecker/CVE-2026-61549.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 15 Jul 2026 12:18:01 +0000.