CVE-2026-129840 (GCVE-0-2026-129840)

Vulnerability from cvelistv5 – Published: 2026-11-20 08:46 – Updated: 2026-11-20 18:12
VLAI
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 .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.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-20 18:12 UTC
CWE
  • CWE-829 - Inclusion of functionality from untrusted control sphere
Impacted products
Vendor Product Version
Nordic Semiconductor ASA ncs-zigbee (nRF Connect SDK Zigbee R23 add-on, GitHub repository nrfconnect/ncs-zigbee) Affected: main branch from commit 163246b7be03c4ad2e88860a437ca827810d73cc (2026-01-15) until the fix in pull request #76 (2026-01-21) (semver)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-129840",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-20T18:12:28.356611Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-20T18:12:42.739Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "platforms": [
            "GitHub Actions (CI workflow); not device firmware"
          ],
          "product": "ncs-zigbee (nRF Connect SDK Zigbee R23 add-on, GitHub repository nrfconnect/ncs-zigbee)",
          "vendor": "Nordic Semiconductor ASA",
          "versions": [
            {
              "status": "affected",
              "version": "main branch from commit 163246b7be03c4ad2e88860a437ca827810d73cc (2026-01-15) until the fix in pull request #76 (2026-01-21)",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "Barak Haryati (barakharyati), JFrog"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cspan\u003eIn 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.\u003c/span\u003e"
            }
          ],
          "value": "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."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-242",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-242 Code Injection"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-829",
              "description": "CWE-829 Inclusion of functionality from untrusted control sphere",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-20T08:46:41.561Z",
        "orgId": "30a5e7fb-040d-440a-8cdf-a4a2068ce72e",
        "shortName": "YesWeHack"
      },
      "references": [
        {
          "url": "https://github.com/nrfconnect/ncs-zigbee/pull/76"
        },
        {
          "url": "https://github.com/nrfconnect/ncs-zigbee/commit/163246b7be03c4ad2e88860a437ca827810d73cc"
        },
        {
          "url": "https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "GitHub Actions pull_request_target code injection in nrfconnect/ncs-zigbee (build_documentation.yml)",
      "x_generator": {
        "engine": "Vulnogram 1.0.5"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "30a5e7fb-040d-440a-8cdf-a4a2068ce72e",
    "assignerShortName": "YesWeHack",
    "cveId": "CVE-2026-129840",
    "datePublished": "2026-11-20T08:46:41.561Z",
    "dateReserved": "2026-11-16T11:50:05.318Z",
    "dateUpdated": "2026-11-20T18:12:42.739Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-129840",
      "date": "2026-11-26",
      "epss": "0.00767",
      "percentile": "0.51885"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "platforms": [
                  "GitHub Actions (CI workflow); not device firmware"
                ],
                "product": "ncs-zigbee (nRF Connect SDK Zigbee R23 add-on, GitHub repository nrfconnect/ncs-zigbee)",
                "vendor": "Nordic Semiconductor ASA",
                "versions": [
                  {
                    "status": "affected",
                    "version": "main branch from commit 163246b7be03c4ad2e88860a437ca827810d73cc (2026-01-15) until the fix in pull request #76 (2026-01-21)",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "30a5e7fb-040d-440a-8cdf-a4a2068ce72e"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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."
          }
        ],
        "id": "CVE-2026-129840",
        "lastModified": "2026-11-23T15:18:36.233",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "30a5e7fb-040d-440a-8cdf-a4a2068ce72e",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-129840",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "yes"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-20T18:12:28.356611Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-11-20T09:19:58.200",
        "references": [
          {
            "source": "30a5e7fb-040d-440a-8cdf-a4a2068ce72e",
            "url": "https://github.com/nrfconnect/ncs-zigbee/commit/163246b7be03c4ad2e88860a437ca827810d73cc"
          },
          {
            "source": "30a5e7fb-040d-440a-8cdf-a4a2068ce72e",
            "url": "https://github.com/nrfconnect/ncs-zigbee/pull/76"
          },
          {
            "source": "30a5e7fb-040d-440a-8cdf-a4a2068ce72e",
            "url": "https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/"
          }
        ],
        "sourceIdentifier": "30a5e7fb-040d-440a-8cdf-a4a2068ce72e",
        "vulnStatus": "Awaiting Analysis",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-829"
              }
            ],
            "source": "30a5e7fb-040d-440a-8cdf-a4a2068ce72e",
            "type": "Secondary"
          }
        ]
      }
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-129840",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-20T18:12:28.356611Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-20T18:12:37.279Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "platforms": [
                "GitHub Actions (CI workflow); not device firmware"
              ],
              "product": "ncs-zigbee (nRF Connect SDK Zigbee R23 add-on, GitHub repository nrfconnect/ncs-zigbee)",
              "vendor": "Nordic Semiconductor ASA",
              "versions": [
                {
                  "status": "affected",
                  "version": "main branch from commit 163246b7be03c4ad2e88860a437ca827810d73cc (2026-01-15) until the fix in pull request #76 (2026-01-21)",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "Barak Haryati (barakharyati), JFrog"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cspan\u003eIn 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.\u003c/span\u003e"
                }
              ],
              "value": "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."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-242",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-242 Code Injection"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-829",
                  "description": "CWE-829 Inclusion of functionality from untrusted control sphere",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T08:46:41.561Z",
            "orgId": "30a5e7fb-040d-440a-8cdf-a4a2068ce72e",
            "shortName": "YesWeHack"
          },
          "references": [
            {
              "url": "https://github.com/nrfconnect/ncs-zigbee/pull/76"
            },
            {
              "url": "https://github.com/nrfconnect/ncs-zigbee/commit/163246b7be03c4ad2e88860a437ca827810d73cc"
            },
            {
              "url": "https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/"
            }
          ],
          "source": {
            "discovery": "UNKNOWN"
          },
          "title": "GitHub Actions pull_request_target code injection in nrfconnect/ncs-zigbee (build_documentation.yml)",
          "x_generator": {
            "engine": "Vulnogram 1.0.5"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "30a5e7fb-040d-440a-8cdf-a4a2068ce72e",
        "assignerShortName": "YesWeHack",
        "cveId": "CVE-2026-129840",
        "datePublished": "2026-11-20T08:46:41.561Z",
        "dateReserved": "2026-11-16T11:50:05.318Z",
        "dateUpdated": "2026-11-20T18:12:42.739Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…