{"id":"CVE-2026-118777","state":"PUBLISHED","title":"Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie","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.","publishedAt":"2026-10-29T18:42:06.079Z","updatedAt":"2026-10-30T17:12:06.088Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["digitalbazaar forge"],"affected":[{"vendor":"digitalbazaar","product":"forge","versions":[{"version":"< 1.4.1","status":"affected"}]}],"references":["https://github.com/digitalbazaar/forge/security/advisories/GHSA-6wvx-3r32-xmcg","https://github.com/digitalbazaar/forge/commit/797c3f816a22748a96fceebb34eb3a6716853991","https://github.com/digitalbazaar/forge/releases/tag/v1.4.1"],"weaknesses":["CWE-1321"],"ingestedAt":"2026-10-30T17:18:06.571Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118777.json","commit":"caca5991c38b96213066f41f1d69f02d92b92db0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118777","state":"PUBLISHED","datePublished":"2026-10-29T18:42:06.079Z","dateUpdated":"2026-10-30T17:12:06.088Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-28T19:20:05.018Z"},"containers":{"cna":{"title":"Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"digitalbazaar","product":"forge","versions":[{"version":"< 1.4.1","status":"affected"}]}],"references":[{"url":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-6wvx-3r32-xmcg","name":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-6wvx-3r32-xmcg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/digitalbazaar/forge/commit/797c3f816a22748a96fceebb34eb3a6716853991","name":"https://github.com/digitalbazaar/forge/commit/797c3f816a22748a96fceebb34eb3a6716853991","tags":["x_refsource_MISC"]},{"url":"https://github.com/digitalbazaar/forge/releases/tag/v1.4.1","name":"https://github.com/digitalbazaar/forge/releases/tag/v1.4.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1321","lang":"en","description":"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-29T18:42:06.079Z"},"source":{"advisory":"GHSA-6wvx-3r32-xmcg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-30T15:20:36.875932Z","id":"CVE-2026-118777","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-30T17:12:06.088Z"}}]}}}