{"id":"CVE-2026-129840","aliases":["CVE-2026-129840"],"related":[],"kind":"vulnerability","state":"published","title":"GitHub Actions pull_request_target code injection in nrfconnect/ncs-zigbee (build_documentation.yml)","summary":"In the nrfconnect/ncs-zigbee repository, the GitHub Actions workflow\n.github/workflows/build_documentation.yml used the pull_request_target trigger\nwhile checking out and executing untrusted pull request code. This allowed a\npull request from a fork to run attacker-controlled code in the base repository\ncontext with a write-scoped GITHUB_TOKEN (contents: write, pages: write,\npull-requests: write), enabling remote code execution in CI, token\nexfiltration, and unauthorized modification of repository content and GitHub\nPages. The workflow was disabled and then rewritten to remove the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the nrfconnect/ncs-zigbee repository, the GitHub Actions workflow\n.github/workflows/build_documentation.yml used the pull_request_target trigger\nwhile checking out and executing untrusted pull request code. This allowed a\npull request from a fork to run attacker-controlled code in the base repository\ncontext with a write-scoped GITHUB_TOKEN (contents: write, pages: write,\npull-requests: write), enabling remote code execution in CI, token\nexfiltration, and unauthorized modification of repository content and GitHub\nPages. The workflow was disabled and then rewritten to remove the issue.","source":"cvelist"}],"published":"2026-11-20T08:46:41.561Z","modified":"2026-11-23T15:18:36.233Z","severity":{"scorer":"YesWeHack","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"YesWeHack","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-829"],"affected":[{"ranges":[{"type":"semver","version":"main branch from commit 163246b7be03c4ad2e88860a437ca827810d73cc (2026-01-15) until the fix in pull request #76 (2026-01-21)","status":"affected"}],"vendor":"Nordic Semiconductor ASA","product":"ncs-zigbee (nRF Connect SDK Zigbee R23 add-on, GitHub repository nrfconnect/ncs-zigbee)","platforms":["GitHub Actions (CI workflow); not device firmware"],"source":"cvelist"}],"references":[{"url":"https://github.com/nrfconnect/ncs-zigbee/pull/76","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/nrfconnect/ncs-zigbee/commit/163246b7be03c4ad2e88860a437ca827810d73cc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/","tags":[],"sources":["cvelist","nvd"]}],"credits":["Barak Haryati (barakharyati), JFrog"],"assigner":"YesWeHack","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-20T18:12:28.356Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-129840","url":"https://www.cve.org/CVERecord?id=CVE-2026-129840","licence":"CVE Terms of Use","modified":"2026-11-20T18:12:42.739Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-129840","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129840","licence":"Public domain","modified":"2026-11-23T15:18:36.233Z"}],"updatedAt":"2026-11-25T22:59:52.373Z","epss":{"score":0.00959,"percentile":0.62517,"date":"2026-12-01T12:00:22.000Z"}}