# CVE-2026-129840: GitHub Actions pull_request_target code injection in nrfconnect/ncs-zigbee (build_documentation.yml)

- Severity: High 7.5 (CVSS:3.1, scored by YesWeHack) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.96%, higher than 62% of CVEs (2026-12-01)
- Published: 2026-11-20T08:46:41.561Z
- Modified: 2026-11-23T15:18:36.233Z
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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)

## References

- <https://github.com/nrfconnect/ncs-zigbee/pull/76>
- <https://github.com/nrfconnect/ncs-zigbee/commit/163246b7be03c4ad2e88860a437ca827810d73cc>
- <https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/>

## Sources

- CVE List: [CVE-2026-129840](https://www.cve.org/CVERecord?id=CVE-2026-129840), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2026-129840](https://nvd.nist.gov/vuln/detail/CVE-2026-129840), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-129840 · Whole record: https://cve.day/CVE-2026-129840.json · Rebuilt by cve.day 2026-11-25T22:59:52.373Z
