nday
CVE-2026-126367 GHSA-r7hq-q2xm-6c5m

@grpc/grpc-js: safe_regex incorrectly applies partial string matching for patterns with alternation

grpc / grpc-node

Correctif recensé 1 jour après la divulgation. Versions corrigées : @grpc/grpc-js-xds 1.14.2 et @grpc/grpc-js-xds 1.13.2. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

broken access control
CWE-863, stated by the CNA GitHub_M, NVD, republishing [email protected] et GitHub advisory GHSA-r7hq-q2xm-6c5m
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
npm
GHSA-r7hq-q2xm-6c5m: npm packages @grpc/grpc-js-xds
étape actuelle
PAT
divulgation
délai avant correctif
T+1d
CVSS
4.8 MEDIUM v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
11-12T22:43Z
PATcorrectif
11-13T00:04Z
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

@grpc/grpc-js implements the core functionality of gRPC purely in JavaScript, without a C++ addon. Before 1.13.2, and from 1.14.0 through 1.14.1, the @grpc/grpc-js-xds SafeRegexValueMatcher and PathSafeRegexValueMatcher add start and end anchors without grouping a supplied top-level alternation. An expression intended to match one of several complete values can therefore match a prefix, substring, or suffix. The affected matchers are used for route selection, xDS credential identity matching, and RBAC URL path, principal name, server name, and header rules. An ALLOW policy using an alternation can consequently accept a method, certificate identity, or header value outside the intended set, while a DENY policy becomes broader rather than permissive. This issue is fixed in versions 1.13.2 and 1.14.2.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 4.8, gravité moyenne. Évaluation SSVC de la CISA : exploitation au niveau « poc ».

source cvelist · observé en direct par nday le · brut
{
  "id": 66659,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-126367",
  "occurred_at": "2026-11-12T22:43:36.631Z",
  "observed_at": "2026-11-12T23:01:25.305088Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
      "version": "3.1",
      "base_score": 4.8,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-17T12:23:01.614228Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-12T22:43:36.631Z",
    "assigner_short_name": "GitHub_M"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique les versions corrigées @grpc/grpc-js-xds 1.14.2 et @grpc/grpc-js-xds 1.13.2. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-r7hq-q2xm-6c5m · observé en direct par nday le · brut
{
  "id": 66691,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-r7hq-q2xm-6c5m",
  "occurred_at": null,
  "observed_at": "2026-11-13T00:04:12.552906Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-r7hq-q2xm-6c5m",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 4.8,
        "vector_string": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Permissive Regular Expression",
        "cwe_id": "CWE-625"
      },
      {
        "name": "Incorrect Authorization",
        "cwe_id": "CWE-863"
      }
    ],
    "ghsa_id": "GHSA-r7hq-q2xm-6c5m",
    "packages": [
      {
        "name": "@grpc/grpc-js-xds",
        "ecosystem": "npm",
        "first_patched_version": "1.14.2",
        "vulnerable_version_range": ">= 1.14.0, < 1.14.2"
      },
      {
        "name": "@grpc/grpc-js-xds",
        "ecosystem": "npm",
        "first_patched_version": "1.13.2",
        "vulnerable_version_range": "< 1.13.2"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/grpc/grpc-node/security/advisories/GHSA-r7hq-q2xm-6c5m",
      "https://github.com/grpc/grpc-node/commit/3fc3b0ebf7a89d64843a73679951142d33b40cb1",
      "https://github.com/grpc/grpc-node/commit/57a67e96babcb29b6eabc1833221ccf2fa152d43",
      "https://github.com/grpc/grpc-node/releases/tag/@grpc/[email protected]",
      "https://github.com/grpc/grpc-node/releases/tag/@grpc/[email protected]",
      "https://github.com/advisories/GHSA-r7hq-q2xm-6c5m"
    ],
    "fix_commit_urls": [
      "https://github.com/grpc/grpc-node/commit/3fc3b0ebf7a89d64843a73679951142d33b40cb1",
      "https://github.com/grpc/grpc-node/commit/57a67e96babcb29b6eabc1833221ccf2fa152d43"
    ],
    "github_reviewed_at": "2026-11-12T23:21:57Z",
    "advisory_updated_at": "2026-11-12T23:21:58Z",
    "source_code_location": "https://github.com/grpc/grpc-node",
    "advisory_published_at": "2026-11-12T23:21:57Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.