CVE-2023-26136Salesforce Tough-cookie
Critical 9.8 No auth needed
Follow: this CVE · Salesforce · Salesforce Tough-cookie We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.1% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Jul 1, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Tough-cookie.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | tough-cookie |
< 4.1.3 |
4.1.3 |
npm install tough-cookie@4.1.3 |
Per OSV / GitHub Advisories (GHSA-72xf-g2v4-qvf3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| salesforce | tough-cookie | < 4.1.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Issue Tracking Vendor Advisory
- github.com Release Notes
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.netapp.com
- security.snyk.io Exploit Technical Description Third Party Advisory