Remote Code Execution Vulnerability in nrfconnect/ncs-zigbee GitHub Actions Workflow
CVE-2026-129840
What is CVE-2026-129840?
The nrfconnect/ncs-zigbee repository contains a vulnerability that arises from the use of the pull_request_target trigger within its GitHub Actions workflow, specifically in the build_documentation.yml file. This misconfiguration allowed untrusted pull requests from forks to execute arbitrary code within the base repository's context. The workflow granted access via a write-scoped GITHUB_TOKEN, which facilitated remote code execution, token exfiltration, and unauthorized changes to repository content and GitHub Pages. The workflow has since been disabled and rewritten to mitigate the risks associated with this security flaw.
Affected Version(s)
ncs-zigbee (nRF Connect SDK Zigbee R23 add-on, GitHub repository nrfconnect/ncs-zigbee) GitHub Actions (CI workflow); not device firmware main branch from commit 163246b7be03c4ad2e88860a437ca827810d73cc (2026-01-15) until the fix in pull request #76 (2026-01-21)
