{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-129840","id":"CVE-2026-129840","title":"GitHub Actions pull_request_target code injection in nrfconnect/ncs-zigbee (build_documentation.yml)","description":"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),","descriptionLong":"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.","published":"2026-11-20T08:46:41.561Z","updated":"2026-11-20T08:46:41.561Z","reserved":"2026-11-16T11:50:05.318Z","status":"PUBLISHED","rejected":false,"assigner":"YesWeHack","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"YesWeHack"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"YesWeHack"}],"rating":"high","products":["Nordic Semiconductor ASA ncs-zigbee (nRF Connect SDK Zigbee R23 add-on, GitHub repository nrfconnect/ncs-zigbee)"],"affectedProducts":[{"vendor":"Nordic Semiconductor ASA","product":"ncs-zigbee (nRF Connect SDK Zigbee R23 add-on, GitHub repository nrfconnect/ncs-zigbee)","defaultStatus":"unaffected","versions":[{"status":"affected","version":"main branch from commit 163246b7be03c4ad2e88860a437ca827810d73cc (2026-01-15) until the fix in pull request #76 (2026-01-21)","versionType":"semver"}],"platforms":["GitHub Actions (CI workflow); not device firmware"]}],"packages":[],"cwes":["CWE-829"],"aliases":[],"references":[{"url":"https://github.com/nrfconnect/ncs-zigbee/pull/76","tags":[]},{"url":"https://github.com/nrfconnect/ncs-zigbee/commit/163246b7be03c4ad2e88860a437ca827810d73cc","tags":[]},{"url":"https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-129840","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129840","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-129840","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-129840","ok":false,"note":"no score yet"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}