CVE-2026-129840
7.5high
GitHub Actions pull_request_target code injection in nrfconnect/ncs-zigbee (build_documentation.yml)
- Severity
- 7.5high CVSS:3.1 by YesWeHack
- Exploit likelihood
- 0.96% (higher than 62% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- YesWeHack
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Nordic Semiconductor ASA ncs-zigbee (nRF Connect SDK Zigbee R23 add-on, GitHub repository nrfconnect/ncs-zigbee) | main branch from commit 163246b7be03c4ad2e88860a437ca827810d73cc (2026-01-15) until the fix in pull request #76 (2026-01-21) | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-129840 changed 2026-11-20 | CVE Terms of Use |
| NVD | CVE-2026-129840 changed 2026-11-23 | Public domain |