node-forge, a widely used JavaScript crypto library, accepted non-canonical BER encodings of the DigestInfo when verifying RSASSA-PKCS1-v1_5 signatures. This is a BERserk-style flaw that lets an attacker forge signatures without the private key. Practical exploitation is limited to RSA keys with a low public exponent (e=3), which are rare today, so real-world exposure is narrower than the 7.5 High CVSS suggests. Blast radius is still large, with 6,440 downstream dependents, and the library also backs X.509 and PKCS#7 verification. There is no KEV listing, no public exploit, no Nuclei template and no EPSS data, so no active exploitation is known. Upgrade to node-forge 1.4.1 or later, find transitive copies in lockfiles and SBOMs, and reject e=3 keys in any signature-verification path, especially for model, artifact or update signing in AI pipelines.
What is the risk?
Overall risk is medium. The CVSS 3.1 score is 7.5 (High) with network attack vector, low complexity, no privileges and no user interaction, and the impact is integrity only. Exploitability depends on the verifying RSA public key having a low exponent (e=3), which is uncommon in modern deployments. No public exploit, scanner template or KEV listing exists, and EPSS is unavailable. Exposure is widened by the 6,440 dependents and by the library's use in X.509 and PKCS#7 verification. The package also has 94 other CVEs, which signals a high maintenance burden. The AI relevance is indirect: node-forge is a general-purpose crypto dependency, not an AI/ML component.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Anthropic Python | npm | <= 1.4.0 | 1.4.1 |
Do you use Anthropic Python? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 step1) Upgrade node-forge to 1.4.1 or later, and force the version in transitive dependencies via npm overrides or resolutions. 2) Run npm ls node-forge and review lockfiles and SBOMs to find indirect copies in AI tooling and build pipelines. 3) Workaround: do not use RSA keys with a low public exponent (e=3) for signature verification, and reject trust anchors or certificates with e=3. 4) Prefer modern schemes such as RSA-PSS, ECDSA or Ed25519, and the platform's native crypto module for verification. 5) Detection: audit for acceptance of signatures that fail strict DER re-encoding, and alert on certificates or keys with e=3. 6) Re-verify any artifacts or tokens validated by vulnerable versions if e=3 keys were in use. Also apply the related fix for CVE-2026-85393 (GHSA-2g46-22mc-6gwp), which ships in the same release.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-119192?
node-forge, a widely used JavaScript crypto library, accepted non-canonical BER encodings of the DigestInfo when verifying RSASSA-PKCS1-v1_5 signatures. This is a BERserk-style flaw that lets an attacker forge signatures without the private key. Practical exploitation is limited to RSA keys with a low public exponent (e=3), which are rare today, so real-world exposure is narrower than the 7.5 High CVSS suggests. Blast radius is still large, with 6,440 downstream dependents, and the library also backs X.509 and PKCS#7 verification. There is no KEV listing, no public exploit, no Nuclei template and no EPSS data, so no active exploitation is known. Upgrade to node-forge 1.4.1 or later, find transitive copies in lockfiles and SBOMs, and reject e=3 keys in any signature-verification path, especially for model, artifact or update signing in AI pipelines.
Is CVE-2026-119192 actively exploited?
No confirmed active exploitation of CVE-2026-119192 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-119192?
1) Upgrade node-forge to 1.4.1 or later, and force the version in transitive dependencies via npm overrides or resolutions. 2) Run npm ls node-forge and review lockfiles and SBOMs to find indirect copies in AI tooling and build pipelines. 3) Workaround: do not use RSA keys with a low public exponent (e=3) for signature verification, and reject trust anchors or certificates with e=3. 4) Prefer modern schemes such as RSA-PSS, ECDSA or Ed25519, and the platform's native crypto module for verification. 5) Detection: audit for acceptance of signatures that fail strict DER re-encoding, and alert on certificates or keys with e=3. 6) Re-verify any artifacts or tokens validated by vulnerable versions if e=3 keys were in use. Also apply the related fix for CVE-2026-85393 (GHSA-2g46-22mc-6gwp), which ships in the same release.
What systems are affected by CVE-2026-119192?
This vulnerability affects the following AI/ML architecture patterns: Agent frameworks, Model serving gateways, AI supply chain / artifact verification, LLM API client applications, Plugin and MCP tool ecosystems.
What is the CVSS score for CVE-2026-119192?
CVE-2026-119192 has a CVSS v3.1 base score of 7.5 (HIGH).
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0010.001AI SoftwareAML.T0074MasqueradingCompliance Controls Affected
What are the technical details?
Original Advisory
### Summary RSASSA-PKCS1-v1_5 signature verification (`publicKey.verify()` with the default scheme, also used by X.509 certificate and PKCS#7 verification) accepted non-canonical BER encodings of the DigestInfo, such as NULL parameters with content and non-minimal lengths. These leave attacker-controlled bytes inside an accepted DigestInfo, which allows signatures to be forged without the private key for RSA keys with a low public exponent (e=3). Fixed in node-forge 1.4.1. ### Details In `lib/rsa.js`, `key.verify()` with the default `RSASSA-PKCS1-V1_5` scheme removes the padding, parses the recovered DigestInfo with the lenient BER parser `asn1.fromDer()` and checks its structure with `asn1.validate()` against `digestInfoValidator`. Neither requires a canonical DER encoding, so verification accepted, among others: - NULL parameters with content bytes (e.g. `05 40 <64 bytes>`) - non-NULL or constructed values in the parameters position - non-minimal (long form) and indefinite lengths - non-canonical OID encodings (padded subidentifiers, trailing bytes) These leave attacker-controlled bytes inside an accepted DigestInfo. For RSA keys with a low public exponent (e=3) this allows signatures to be forged without the private key (BERserk / Bleichenbacher-style forgery, see CVE-2014-1568). RFC 8017 section 8.2.2 verifies a signature by encoding the expected EMSA-PKCS1-v1_5 message and comparing it with the recovered one; section 9.2 defines the DigestInfo encoding. The fix adds `_encodeDigestInfo()`, which DER-encodes the expected DigestInfo from the digest algorithm OID and the digest (with and without NULL parameters). Verification now requires the recovered DigestInfo to match one of these encodings byte for byte. The same change fixes GHSA-2g46-22mc-6gwp (CVE-2026-85393). #### Patches Fixed in node-forge 1.4.1. Verification now re-encodes the expected DigestInfo and requires a byte-for-byte match (RFC 8017 section 8.2.2). #### Workarounds Do not use RSA keys with a low public exponent (e=3) for signature verification. #### References - https://www.rfc-editor.org/rfc/rfc8017#section-8.2.2 - https://www.rfc-editor.org/rfc/rfc8017#section-9.2 - CVE-2026-85393 / GHSA-2g46-22mc-6gwp (related, same fix) - CVE-2026-33894 / https://github.com/digitalbazaar/forge/security/advisories/GHSA-ppp5-5v6c-4jwp - https://www.cve.org/CVERecord?id=CVE-2014-1568 (BERserk) #### Severity CVSS 3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (7.5, High) CVSS 4.0 (informational): CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N (8.2) Both versions rate this High. The severity rating follows CVSS 3.1. #### Credits Independently reported by Oren Yomtov (@orenyomtov, Fireblocks), Bronson Yen (Calif.io, in collaboration with Claude and Anthropic Research), Kamil Hałajda, @pzartech, @antonlissone and @Brechard. ### Proof of concept DigestInfo encodings accepted before 1.4.1 (SHA-256; OID = 06 09 60 86 48 01 65 03 04 02 01, H = the 32-byte digest): NULL parameters with content: 30 33 30 0F <OID> 05 02 BE EF 04 20 <H> non-minimal DigestInfo length: 30 81 31 30 0D <OID> 05 00 04 20 <H> (canonical form: 30 31 30 0D <OID> 05 00 04 20 <H>) Long-form lengths are accepted the same way for the DigestAlgorithm, OID, NULL and digest fields. A signature whose EMSA-PKCS1-v1_5 block (00 01 FF..FF 00 || DigestInfo) contains such an encoding verified as valid: `publicKey.verify(digest, signature)` returned true. Content bytes in the NULL parameters (reports used e.g. `05 40 <64 bytes>`) and similar slack give an attacker room to construct a forged signature for an e=3 key. With 1.4.1, verification throws "ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value." Regression tests: tests/unit/rsa.js, "canonical DigestInfo checks". They use an e=1 key, so the signature equals the encoded block, with one test per non-canonical shape (also indefinite length, constructed and non-NULL parameters, padded OID subidentifiers) and two tests that the canonical encodings with and without NULL parameters still verify. Included in the 1.4.1 release. ### Impact Applications that verify RSASSA-PKCS1-v1_5 signatures with node-forge: `publicKey.verify()` with the default scheme, and X.509 certificate and PKCS#7 signature verification, which use it. If the verifying RSA public key has a low public exponent (e=3), an attacker can forge a signature that verifies as valid, without the private key. Only keys with a small public exponent such as e=3 are practically affected.
Exploitation Scenario
An organization runs a Node.js service, such as an agent gateway or model-artifact loader, that uses node-forge to verify RSA PKCS#1 v1.5 signatures on plugin manifests or model update bundles. The signer's public key uses e=3. The attacker crafts a Bleichenbacher/BERserk-style signature whose recovered block contains a non-canonical DigestInfo, for example NULL parameters with attacker-controlled bytes or non-minimal lengths. The vulnerable verifier accepts it as valid without the private key. The service then loads a tampered plugin or model artifact, giving the attacker integrity-level control over what the AI pipeline trusts and runs.
Weaknesses (CWE)
CWE-347 — Improper Verification of Cryptographic Signature: The product does not verify, or incorrectly verifies, the cryptographic signature for data.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NReferences
- github.com/advisories/GHSA-6qrw-m8cv-hcxf
- github.com/digitalbazaar/forge/commit/2bce9d477a2ff436e86ff9694ae999f1552aa2bb
- github.com/digitalbazaar/forge/releases/tag/v1.4.1
- github.com/digitalbazaar/forge/security/advisories/GHSA-2g46-22mc-6gwp
- github.com/digitalbazaar/forge/security/advisories/GHSA-6qrw-m8cv-hcxf
Timeline
Related Vulnerabilities
CVE-2026-9460310.0Podman: checkpoint images override sandbox on run
Same package: anthropicCVE-2026-466339.8Twig: single-quote escape flaw in {% use %} allows RCE
Same package: anthropicCVE-2026-544498.8LangBot: RCE via arbitrary STDIO MCP command
Same package: anthropicCVE-2026-277758.8Gitea: cached permission check allows repo takeover
Same package: anthropicCVE-2026-75748.7Claude Desktop: VM integrity bypass enables RCE
Same package: anthropic