CVE-2026-129840

GitHub Actions pull_request_target code injection in nrfconnect/ncs-zigbee (build_documentation.yml)

State
Published
Severity
7.5 High
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Nov 16, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NYesWeHack

Weaknesses

  • CWE-829 Inclusion of functionality from untrusted control sphere

Affected Products

ProductVersions
ncs-zigbee (nRF Connect SDK Zigbee R23 add-on, GitHub repository nrfconnect/ncs-zigbee)Nordic Semiconductor ASA
  • main branch from commit 163246b7be03c4ad2e88860a437ca827810d73cc (2026-01-15) until the fix in pull request #76 (2026-01-21)Affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.