CVE-2026-125336: 
Grafana analisi e mitigazione delle vulnerabilità

Panoramica

CVE-2026-125336 is an improper certificate validation vulnerability in node-forge (also called Forge), a native JavaScript implementation of Transport Layer Security. The flaw exists in pki.verifyCertificateChain() within lib/x509.js, which fails to decode or enforce the X.509 nameConstraints extension (OID 2.5.29.30) during certificate path validation. All versions up to and including 1.4.2 are affected; the issue was disclosed on November 4, 2026, and fixed in version 1.4.3. It carries a CVSS v3.1 base score of 7.4 (High) (GitHub Advisory, Feedly).

Dettagli tecnici

The root cause is classified as CWE-295 (Improper Certificate Validation). RFC 5280 path validation steps 6.1.3(b) and (c) — which check each certificate's names against the permitted and excluded subtrees defined by CA certificates above it — were never implemented in pki.verifyCertificateChain(), and the nameConstraints extension was not decoded at all. As a result, a non-critical nameConstraints extension is silently ignored: an intermediate CA constrained to only .example.com can issue a leaf certificate with CN=evil.com or a subjectAltName dNSName evil.com, and node-forge accepts the chain as valid. Notably, chains with a critical nameConstraints extension were previously rejected as an unsupported critical extension (fail-safe), so only non-critical extensions are exploitable. The CA/Browser Forum Baseline Requirements historically permitted technically constrained subordinate CAs to mark this extension non-critical, meaning such CAs exist in real-world PKI hierarchies. A proof-of-concept is included in the advisory and in the repository at tests/pocs/GHSA-3cc4-3294-vgjf.js (GitHub Advisory, Forge PR #1169).

Impatto

Successful exploitation allows an attacker to obtain TLS certificates that node-forge accepts for arbitrary domain names, enabling impersonation of any host to a forge.tls client. The primary impacts are high confidentiality loss (interception of TLS-protected communications) and high integrity loss (man-in-the-middle attacks, forged server identity), with no availability impact. Applications relying on pki.verifyCertificateChain() or forge.tls for peer verification are at risk of accepting fraudulent certificates, potentially exposing sensitive data or allowing unauthorized actions on behalf of impersonated services (GitHub Advisory).

Sfruttabilità

A proof-of-concept is publicly available in the GitHub Security Advisory and the node-forge test suite, with concrete reproduction steps described (GitHub Advisory). Exploitation is not automated — it requires the attacker to possess the private key of a name-constrained CA that chains to a root trusted by the target application, or the ability to obtain a certificate issued under such a CA, making it a high-complexity attack. There is no evidence of in-the-wild exploitation at this time, and no threat actor attribution has been reported. The EPSS score is approximately 0.0023 (low probability of near-term exploitation), and the vulnerability is not listed in the CISA KEV catalog (Feedly).

Fasi di sfruttamento

  1. Identify a vulnerable target: Locate an application using node-forge <= 1.4.2 for TLS peer verification (forge.tls) or certificate chain validation (pki.verifyCertificateChain()), and confirm it trusts a root CA under which a name-constrained intermediate CA with a non-critical nameConstraints extension exists.
  2. Obtain CA access: Acquire the private key of the name-constrained intermediate CA, or obtain a certificate issued under it for an out-of-scope name (e.g., through a misconfigured or compromised CA).
  3. Issue a rogue leaf certificate: Using the intermediate CA's key, sign a leaf certificate with a subject CN=evil.com (no subjectAltName) or with a subjectAltName dNSName evil.com — a name outside the CA's permitted subtrees.
  4. Present the forged chain: During a TLS handshake or via a direct call, present the chain [leaf, intermediate] to the victim's node-forge verification routine. On versions <= 1.4.2, pki.verifyCertificateChain(caStore, [leaf, intermediate]) returns true because the nameConstraints extension is not enforced.
  5. Achieve impersonation: The attacker's server, presenting the accepted forged certificate, successfully impersonates the target domain to the forge.tls client, enabling man-in-the-middle interception or data manipulation (GitHub Advisory).

Indicatori di compromissione

  • Network: Unexpected TLS connections where the server certificate's CN or subjectAltName does not match the domain permitted by the issuing intermediate CA's nameConstraints extension; TLS sessions established with certificates issued by an intermediate CA for domains outside its delegated namespace.
  • Logs: Application logs showing successful TLS handshakes or certificate chain verifications for hostnames inconsistent with the intermediate CA's permitted subtrees; absence of bad_certificate errors in node-forge logs where name constraint violations would be expected on a patched system.
  • File System: Presence of rogue certificate files (.pem, .crt, .cer) with subject names inconsistent with the issuing CA's nameConstraints extension in application certificate stores or temporary directories.
  • Process: Node.js processes loading node-forge versions <= 1.4.2 (package.json or node_modules/node-forge/package.json showing version < 1.4.3) in environments that perform TLS peer verification (GitHub Advisory).

Mitigazione e soluzioni alternative

Upgrade node-forge to version 1.4.3 or later, which enforces nameConstraints in verifyCertificateChain() for subject DN, emailAddress, subjectAltName (rfc822Name, dNSName, directoryName, uniformResourceIdentifier, iPAddress), and the trust anchor (Forge Release v1.4.3, Forge PR #1169). As a temporary workaround (which rejects all chains below any name-constrained CA, including valid ones), pass a custom options.verify callback to pki.verifyCertificateChain() (or verify to forge.tls.createConnection()) that returns an error when any CA certificate in the chain has an extension with OID 2.5.29.30. Organizations should prioritize patching systems using forge for TLS client operations and review certificate chains in production environments for potential misuse (GitHub Advisory).

Reazioni della comunità

The vulnerability was reported by security researcher @bhaswanthc, who also contributed the initial implementation of the fix, and was published with AI assistance according to the advisory (GitHub Advisory). The fix was developed in coordination with the digitalbazaar maintainer @davidlehn and validated against OpenSSL 3.5.5 across 62 curated chains and 2,600 random constraint/name combinations. No significant broader media coverage or notable social media reactions have been identified beyond the GitHub advisory and standard vulnerability database entries.

Risorse aggiuntive

Stato delle patch per la distribuzione Linux

Disponibilità delle patch per le principali distribuzioni Linux e relative versioni.

Ubuntu

Sconosciuto

focal (esm-apps)

node-node-forge

Sconosciuto

jammy

node-node-forge

Sconosciuto

jammy (esm-apps)

node-node-forge

Sconosciuto

RHEL / CentOS

Interessato

RHEL 8

grafana.src

Interessato

RHEL 9

grafana.src

Interessato

RHEL 10

grafana.src

Interessato

Fonte: Questo report è stato generato tramite IA

Vulnerabilità correlate di Grafana:

CVE ID

Gravità

Punteggio

Tecnologie

Nome del componente

Exploit CISA KEV

Dispone di patch

Data di pubblicazione

CVE-2026-134815CRITICAL9.2
  • Grafana logoGrafana
  • grafana-postgres
NoNoNov 22, 2026
CVE-2026-134813HIGH8.7
  • Grafana logoGrafana
  • cockpit-ha-cluster
NoNoNov 22, 2026
CVE-2026-133937MEDIUM5.5
  • Grafana logoGrafana
  • grafana-opentsdb
NoNoNov 20, 2026
CVE-2026-10084MEDIUM5.3
  • Grafana logoGrafana
  • cpe:2.3:a:grafana:grafana
NoSìNov 24, 2026
CVE-2026-133487LOW2.1
  • Grafana logoGrafana
  • nodejs24.src
NoSìNov 20, 2026

Valutazione gratuita delle vulnerabilità

Valuta la tua postura di sicurezza del cloud

Valuta le tue pratiche di sicurezza del cloud in 9 domini di sicurezza per stabilire un benchmark del tuo livello di rischio e identificare le lacune nelle tue difese.

Richiedi valutazione

Ulteriori risorse Wiz

Richiedi una demo personalizzata

Pronti a vedere Wiz in azione?

"La migliore esperienza utente che abbia mai visto offre piena visibilità ai carichi di lavoro cloud."
David EstlickCISO (CISO)
"Wiz fornisce un unico pannello di controllo per vedere cosa sta succedendo nei nostri ambienti cloud."
Adam FletcherResponsabile della sicurezza
"Sappiamo che se Wiz identifica qualcosa come critico, in realtà lo è."
Greg PoniatowskiResponsabile della gestione delle minacce e delle vulnerabilità