CVE-2026-129840
GitHub Actions pull_request_target code injection in nrfconnect/ncs-zigbee (build_documentation.yml)
High · 7.5
- CVSS
- 7.5
- EPSS
- 0.77% (p52)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-23
- Product
- Nordic Semiconductor ASA ncs-zigbee (nRF Connect SDK Zigbee R23 add-on, GitHub repository nrfconnect/ncs-zigbee)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Description
In the nrfconnect/ncs-zigbee repository, the GitHub Actions workflow .github/workflows/build_documentation.yml used the pull_request_target trigger while checking out and executing untrusted pull request code. This allowed a pull request from a fork to run attacker-controlled code in the base repository context with a write-scoped GITHUB_TOKEN (contents: write, pages: write, pull-requests: write), enabling remote code execution in CI, token exfiltration, and unauthorized modification of repository content and GitHub Pages. The workflow was disabled and then rewritten to remove the issue.
Sources
- NVD · first seen 11d ago · NVD terms of use
- OSV · first seen 11d ago · CC-BY 4.0
- CVE List · first seen 11d ago · CVE Terms of Use
References
- https://github.com/nrfconnect/ncs-zigbee/pull/76 other
- https://github.com/nrfconnect/ncs-zigbee/commit/163246b7be03c4ad2e88860a437ca827810d73cc other
- https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/ other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129840.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-129840 advisory