CVE-2023-26136 tough-cookie Prototype Pollution vulnerability
Prototype pollution in tough-cookie allows attackers to manipulate object prototypes, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-26136?
CVE-2023-26136 is a medium-severity vulnerability in tough-cookie, published on 1 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-1321
Which versions are affected by CVE-2023-26136?
2 open source packages ship an affected version, including tough-cookie. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
tough-cookie npm | All versions | 4.1.3 |
tough-cookie npm | All versions | 4.1.3 |
Products include Salesforce Tough-Cookie.
How do I fix CVE-2023-26136?
Upgrade tough-cookie to 4.1.3 or later.
Is CVE-2023-26136 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26136 exists.
Public exploit code: 7 proofs of concept on GitHub.
Other vulnerabilities in tough-cookie
Sources
Also known as AZL-43684, AZL-44556, CLEANSTART-2026-ZC18850, CLSA-2026-1773274553, CLSA-2026-1773274554, CLSA-2026-1773274558 and 12 more.