Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-118777— Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie

Quick assessment

Affected
digitalbazaar forge
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Forge(也称为 node-forge)是一个用 JavaScript 原生实现的传输层安全(TLS)库。在 1.4.1 版本之前,forge.http 客户端将 Set-Cookie 响应头中的 cookie 名称和路径存储在普通的 JavaScript 对象中。恶意服务器可利用名为 的 cookie,将攻击者控制的 cookie 路径作为属性写入 ;或者使用如 等继承属性名来修改 对象。若 cookie 值为空,则可通过“移除路径”机制删除 上的继承属性。 直接依赖 forge.http 或通过 forge.

CVSS 4.8 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
digitalbazaar forge < 1.4.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-118777

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie
Source: CVE Program / CVE List V5
Vulnerability Description
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the forge.http client stored cookie names and paths from Set-Cookie response headers in ordinary JavaScript objects. A malicious server could use the cookie name __proto__ so that the attacker-controlled cookie path was written as a property on Object.prototype, or use inherited names such as constructor to modify Object. An empty cookie value could use the removal path to delete an inherited Object.prototype property. Applications using forge.http directly or through forge.xhr are affected; applications that do not use forge.http are unaffected. This issue is fixed in version 1.4.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1321
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
digitalbazaar forge < 1.4.1 -

II. Public POCs for CVE-2026-118777

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-118777

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-118777 (1)

Vendor Advisories for CVE-2026-118777 (1)

Vendor Pages for CVE-2026-118777 (1)

Same Patch Batch · digitalbazaar · 2026-10-29 · 15 CVEs total

CVE-2026-118779 7.5 HIGH Forge: Regular expression denial of service in PEM decoding (pem.decode)
CVE-2026-118782 7.5 HIGH Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count
CVE-2026-119188 7.5 HIGH Forge: Denial of service in TLS record processing via a record interleaved with a fragment
CVE-2026-119191 7.5 HIGH Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer
CVE-2026-119187 7.5 HIGH Forge: Denial of service in TLS record processing via call stack exhaustion
CVE-2026-119190 7.4 HIGH Forge: X.509 basicConstraints bypass in verifyCertificateChain() via deprecated extension
CVE-2026-118778 5.9 MEDIUM Forge: TLS client crash when the server sends no certificate
CVE-2026-119186 5.9 MEDIUM Forge: AES-GCM authentication bypass via unvalidated tagLength option
CVE-2026-119189 5.9 MEDIUM Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificate
CVE-2026-118774 3.7 LOW Forge: Certificate signature verified with the issuer's RSA signature scheme
CVE-2026-118780 3.7 LOW Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from
CVE-2026-118775 3.7 LOW Forge: ASN.1 OID first arc truncation in asn1.oidToDer
CVE-2026-118776 3.7 LOW Forge: Incomplete PKCS#7 padding validation in AES/DES CBC and ECB decryption
CVE-2026-118781 2.9 LOW Forge: Denial of Service via infinite loop in BigInteger.modInverse() with negative input

IV. Related Vulnerabilities