{"answers":{"affected":"2 open source packages ship an affected version, including @grpc/grpc-js-xds.","exploited":"There is no known exploitation of CVE-2026-126367 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls SafeRegexValueMatcher or PathSafeRegexValueMatcher. Many projects that include it are not exposed.","fix":"Upgrade @grpc/grpc-js-xds to a fixed version for your release line: 1.13.2 or 1.14.2.","what":"CVE-2026-126367 is a medium-severity security feature bypass vulnerability in grpc-node, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-126367 and fix it if it is affected.\n\nWhat it is: CVE-2026-126367 is a medium-severity security feature bypass vulnerability in grpc-node, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-126367 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls SafeRegexValueMatcher or PathSafeRegexValueMatcher. Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- @grpc/grpc-js-xds (npm): affected all versions; fixed in 1.13.2\n- @grpc/grpc-js-xds (npm): affected from 1.14.0; fixed in 1.14.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to SafeRegexValueMatcher or PathSafeRegexValueMatcher and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-126367/ (Markdown: https://insights.sbomify.com/CVE-2026-126367/index.md)","id":"CVE-2026-126367","markdown":"https://insights.sbomify.com/CVE-2026-126367/index.md","name":"CVE-2026-126367","record":{"aliases":["GHSA-r7hq-q2xm-6c5m"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"JavaScript gRPC library","requires_auth":"none","requires_specific_call":true,"summary":"Alternated regex matchers in @grpc/grpc-js may accept or broaden access rules, letting requests bypass route, identity or RBAC policies; Node.js gRPC users should care.","user_interaction":"not_required","vuln_class":"security_feature_bypass","vulnerable_functions":["SafeRegexValueMatcher","PathSafeRegexValueMatcher"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.8,"severity":"medium","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"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-625","name":"Permissive Regular Expression"}],"description":"@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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"@grpc/grpc-js: safe_regex incorrectly applies partial string matching for patterns with alternation","id":"CVE-2026-126367","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":2,"n_references":5,"next":{"headline":"MQTTX through 1.13.3 Stored XSS via Topic Tree and JSON Tree Tooltips","id":"CVE-2026-126495"},"nickname":null,"packages":[{"ecosystem":"npm","fixed":["1.13.2"],"introduced":["0"],"last_affected":[],"package":"@grpc/grpc-js-xds","purl":null,"source":"GHSA-r7hq-q2xm-6c5m"},{"ecosystem":"npm","fixed":["1.14.2"],"introduced":["1.14.0"],"last_affected":[],"package":"@grpc/grpc-js-xds","purl":null,"source":"GHSA-r7hq-q2xm-6c5m"}],"prev":{"headline":"msgpack-java JRuby decoder allocates from declared header counts with no cap: 5-byte message forces multi-GiB OOM","id":"CVE-2026-126366"},"products":["grpc-node"],"published":"2026-11-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-11-12","vendors":["grpc"]},"summary":"Alternated regex matchers in @grpc/grpc-js may accept or broaden access rules, letting requests bypass route, identity or RBAC policies; Node.js gRPC users should care.","url":"https://insights.sbomify.com/CVE-2026-126367/"}