# CVE-2026-125336: Forge: X.509 nameConstraints not enforced by verifyCertificateChain()

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.4.3 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-10 · Modified: 2026-11-13
- Aliases: UBUNTU-CVE-2026-125336, RHSA-2026:104040
- Record: https://cvemate.com/vulnerability/CVE-2026-125336 · JSON: https://cvemate.com/vulnerability/CVE-2026-125336/json

## Description

```text
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, pki.verifyCertificateChain() in lib/x509.js does not decode or enforce the X.509 nameConstraints extension while validating certificate paths. A name-constrained certificate authority with a non-critical extension can therefore issue a leaf certificate with a subjectAltName dNSName or subject commonName outside a permitted subtree or inside an excluded subtree, and node-forge accepts the chain. Exploitation requires a name-constrained CA that chains to a trusted root and either its private key or the ability to obtain an out-of-scope certificate, allowing impersonation of names outside the delegated namespace, including against forge.tls clients. Chains without nameConstraints are not affected, and affected versions safely reject critical nameConstraints as unsupported rather than accepting them. This issue is fixed in version 1.4.3.
```

## Signals

- CVSS: 7.4 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.264%, percentile 19.538%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- ubuntu node-node-forge (Ubuntu): All versions (No fix recorded)
- digitalbazaar forge: \< 1.4.3
- redhat grafana13.1 (Red Hat): \< 0:13.1.11-0.1.hum1

## References (first 20 of 41)

- <https://github.com/digitalbazaar/forge/security/advisories/GHSA-3cc4-3294-vgjf>
- <https://github.com/digitalbazaar/forge/pull/1169>
- <https://github.com/digitalbazaar/forge/commit/6b23eae8beac316b6867bdb0e7ad7c2c959a97f6>
- <https://github.com/digitalbazaar/forge/commit/862aa5f630bdf40b0dfda408d6ac357bf35a7d6b>
- <https://github.com/digitalbazaar/forge/releases/tag/v1.4.3>
- <https://ubuntu.com/security/CVE-2026-125336>
- <https://www.cve.org/CVERecord?id=CVE-2026-125336>
- <https://access.redhat.com/errata/RHSA-2026:104040>
- <https://images.redhat.com/>
- <https://access.redhat.com/security/cve/CVE-2026-125336>
- <https://access.redhat.com/security/updates/classification/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_104040.json>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2570463>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-125336>
- <https://access.redhat.com/security/cve/CVE-2026-140008>
- <https://access.redhat.com/security/cve/CVE-2026-140007>
- <https://access.redhat.com/security/cve/CVE-2026-88960>
- <https://access.redhat.com/security/cve/CVE-2026-137484>
- <https://access.redhat.com/security/cve/CVE-2026-137483>
- <https://access.redhat.com/security/cve/CVE-2026-137485>

---

Data as of 2026-12-05T07:21:36.490Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
