{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-119189",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-10-29T16:04:48.727Z",
        "datePublished": "2026-10-29T19:23:25.238Z",
        "dateUpdated": "2026-10-29T19:23:25.238Z"
    },
    "containers": {
        "cna": {
            "title": "Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-295",
                            "lang": "en",
                            "description": "CWE-295: Improper Certificate Validation",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.9,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/digitalbazaar/forge/security/advisories/GHSA-h46v-rmh6-fq4f",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/digitalbazaar/forge/security/advisories/GHSA-h46v-rmh6-fq4f"
                },
                {
                    "name": "https://github.com/digitalbazaar/forge/commit/696db92348623e88cc63c35f0a89ede481d55ad0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/digitalbazaar/forge/commit/696db92348623e88cc63c35f0a89ede481d55ad0"
                },
                {
                    "name": "https://github.com/digitalbazaar/forge/releases/tag/v1.4.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/digitalbazaar/forge/releases/tag/v1.4.1"
                }
            ],
            "affected": [
                {
                    "vendor": "digitalbazaar",
                    "product": "forge",
                    "versions": [
                        {
                            "version": "< 1.4.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-10-29T19:23:25.238Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge enforced an X.509 CA certificate's basicConstraints.pathLenConstraint only when that certificate also carried a keyUsage extension. Exploitation requires a path-length-constrained CA without keyUsage that chains to a root trusted by the application, and an attacker who holds that CA's private key or obtains a subordinate CA certificate from it. The attacker could then construct a chain exceeding the declared path length that still passed pki.verifyCertificateChain(). Public web PKI CA certificates normally include keyUsage; private PKIs with CA certificates created without it are more likely to be affected. This issue is fixed in version 1.4.1."
                }
            ],
            "source": {
                "advisory": "GHSA-h46v-rmh6-fq4f",
                "discovery": "UNKNOWN"
            }
        }
    }
}