CVE-2023-26136

MEDIUM

Tough-Cookie <4.1.3 - Prototype Pollution

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 7 public exploits for CVE-2023-26136. PoCs published by CUCUMBERanOrSNCompany, guy2610, uriyahav.

AI-analyzed exploit summary This repository contains a detailed analysis and patched version of the 'tough-cookie' library, addressing CVE-2023-26136. It includes technical documentation, code comparisons, and patched files to mitigate the vulnerability.

Description

Versions of the package tough-cookie before 4.1.3 are vulnerable to Prototype Pollution due to improper handling of Cookies when using CookieJar in rejectPublicSuffixes=false mode. This issue arises from the manner in which the objects are initialized.

Exploits (7)

nomisec WRITEUP 1 stars
by CUCUMBERanOrSNCompany · poc
https://github.com/CUCUMBERanOrSNCompany/SealSecurityAssignment

This repository contains a detailed analysis and patched version of the 'tough-cookie' library, addressing CVE-2023-26136. It includes technical documentation, code comparisons, and patched files to mitigate the vulnerability.

Classification
Writeup 90%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: tough-cookie (Node.js library)
No auth needed
Prerequisites: Access to a system using the vulnerable 'tough-cookie' library
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by guy2610 · poc
https://github.com/guy2610/tough-cookie-patch-cve-2023-26136

This repository contains a functional exploit PoC for CVE-2023-26136, targeting the 'tough-cookie' library. The exploit demonstrates a vulnerability in cookie parsing and handling, likely leading to improper validation or manipulation of cookie attributes.

Classification
Working Poc 90%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: tough-cookie library
No auth needed
Prerequisites: Node.js environment · tough-cookie library installed
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WRITEUP
by uriyahav · poc
https://github.com/uriyahav/tough-cookie-2.5.0-cve-2023-26136-fix

This repository provides a detailed technical analysis and patch for CVE-2023-26136, a prototype pollution vulnerability in tough-cookie 2.5.0. It includes a fix, test suite, and exploit demonstration.

Classification
Writeup 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: tough-cookie 2.5.0
No auth needed
Prerequisites: Node.js environment · tough-cookie library
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WRITEUP
by morrisel · poc
https://github.com/morrisel/CVE-2023-26136

This repository provides a detailed analysis and patch for CVE-2023-26136, a prototype pollution vulnerability in the `tough-cookie` library. It includes both the original vulnerable code and a patched version, with technical explanations of the root cause and mitigation.

Classification
Writeup 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: tough-cookie < 4.1.3
No auth needed
Prerequisites: Use of `CookieJar` in `rejectPublicSuffixes=false` mode
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by dani33339 · poc
https://github.com/dani33339/Tough-Cookie-v2.5.0-Patched

This repository contains a patched version of the `tough-cookie` package (v2.5.0) to address CVE-2023-26136, a prototype pollution vulnerability. It includes functional exploit code demonstrating the vulnerability and its fix, along with detailed technical analysis and unit tests.

Classification
Working Poc 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: tough-cookie v2.5.0
No auth needed
Prerequisites: Node.js environment · tough-cookie package installed
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by m-lito13 · poc
https://github.com/m-lito13/SealSecurity_Exam

This repository contains a functional exploit PoC for CVE-2023-26136, demonstrating a prototype pollution vulnerability in the 'tough-cookie' package (v2.5.0). The exploit manipulates the `__proto__` property to pollute the global object prototype, which can lead to arbitrary property injection.

Classification
Working Poc 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: tough-cookie v2.5.0
No auth needed
Prerequisites: Node.js environment · tough-cookie v2.5.0 installed
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by ronmadar · poc
https://github.com/ronmadar/Open-Source-Seal-Security

This repository contains a functional PoC for CVE-2023-26136, a prototype pollution vulnerability in tough-cookie versions before 4.1.3. The exploit demonstrates the vulnerability by setting a cookie with a domain of '__proto__' and verifying the pollution effect.

Classification
Working Poc 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: tough-cookie < 4.1.3
No auth needed
Prerequisites: Node.js environment · tough-cookie library installed
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 6.5
EPSS 0.0625
EPSS Percentile 91.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-1321
Status published
Products (2)
npm/tough-cookie 0 - 4.1.3npm
salesforce/tough-cookie < 4.1.3
Published Jul 01, 2023
Tracked Since Feb 18, 2026