CVE-2026-129840
GitHub Actions pull_request_target code injection in nrfconnect/ncs-zigbee (build_documentation.yml)
- Severity
- high CVSS 7.5 (v3.1)
- Affects
- ncs-zigbee (nRF Connect SDK Zigbee R23 add-on, GitHub repository nrfconnect/ncs-zigbee) · Nordic Semiconductor ASA
- Weakness
- CWE-829 Inclusion of functionality from untrusted control sphere
- Published
- 20 November 2026 by YesWeHack
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.