Prototype Pollution in Salesforce Tough-Cookie
CVE-2023-26136
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.
Vulnerability class: Prototype Pollution
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.026, 85.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Salesforce Tough-Cookie
- Tough-Cookie — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
7 public repositories with exploit or proof-of-concept code for this CVE:
- CUCUMBERanOrSNCompany/SealSecurityAssignment (1 star, last pushed 2023-12-06): Researching on the vulnrability CVE-2023-26136
- guy2610/tough-cookie-patch-cve-2023-26136 (last pushed 2025-08-24)
- uriyahav/tough-cookie-2.5.0-cve-2023-26136-fix (last pushed 2025-06-18): ecurity patch for CVE-2023-26136 in tough-cookie 2.5.0 - Prototype pollution vulnerability fix with backward compatibility
- morrisel/CVE-2023-26136 (last pushed 2025-02-10): This repository contains a solution for the CVE-2023-26136 vulnerability.
- dani33339/Tough-Cookie-v2.5.0-Patched (last pushed 2025-02-05): CVE-2023-26136 vulnerability research
- m-lito13/SealSecurity_Exam (last pushed 2024-09-04): Fix prototype pollution vulnerability (CVE-2023-26136) for tough-cookie package
- ronmadar/Open-Source-Seal-Security (last pushed 2024-05-07): Fix open source package uses tough-cookie 2.5.0 - CVE-2023-26136,
Also mentioned in 12 other repositories (AlbertoChar/tough-cookie-demo, cfvalenzuela-vidal/safenotes, fkie-cad/nvd-json-data-feeds, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873 (Technical Description, Exploit, Third Party Advisory)
- github.com/salesforce/tough-cookie/issues/282 (Exploit, Issue Tracking, Vendor Advisory)
- github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09c… (Patch)
- github.com/salesforce/tough-cookie/releases/tag/v4.1.3 (Release Notes)
- lists.debian.org/debian-lts-announce/2023/07/msg00010.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- security.netapp.com/advisory/ntap-20240621-0006/
This CVE has public exploit evidence. See the latest CVEs with public exploits.