Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
MEDIUM severity

CVE-2023-26136 — tough-cookie

MEDIUMFix: salesforce/tough-cookie@12d4747

CVE-2023-26136 is a medium-severity (CVSS 6.5) CWE-1321 vulnerability in tough-cookie. 2 public exploit references exist, so weaponization risk is real. A fix is available for tough-cookie — see the affected versions and patch details below.

tough-cookie Prototype Pollution vulnerability

Also known asGHSA-72xf-g2v4-qvf3
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
2 known
Exploitation data as of Oct 21, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.

Exploitation and automatability from CISA’s SSVC triage for CVE-2023-26136.

EPSS Exploitation Probability

via FIRST.org ↗
2.6%probability of exploitation in next 30 days
Lower Risk+0.09%
Lower risk than most CVEs85th percentile — riskier than 85% of all scored CVEsHighest risk
0.85%3.14%5.42%7.71%6.4%2.6%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2023-26136 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 394,415 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

3Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
tough-cookienpm
83.2Mdownloads / week

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmtough-cookieall versions4.1.3npm install tough-cookie@4.1.3

Affected Products

1 product · 1 configurations
Application
tough-cookiesalesforce
< 4.1.3
range
Exploits & PoCs
2

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for tough-cookie, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update tough-cookie to 4.1.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-26136 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
ProductFixed inAdvisory
Red Hat JBoss Enterprise Application Platformorg.jboss.hal/hal-console:3.3.19.Final-redhat-00001RHSA-2023:5488
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-activemq-artemis-0:2.16.0-15.redhat_00049.1.el8eapRHSA-2023:5485
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-activemq-artemis-0:2.16.0-15.redhat_00049.1.el9eapRHSA-2023:5486
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7eap7-activemq-artemis-0:2.16.0-15.redhat_00049.1.el7eapRHSA-2023:5484
Red Hat Migration Toolkit for Containers 1.8rhmtc/openshift-migration-ui-rhel8:v1.8.2-2RHSA-2023:7222
Red Hat OpenShift Container Platform 4.14openshift4/ose-monitoring-plugin-rhel8:v4.14.0-202310201027.p0.g8757197.assembly.streamRHSA-2023:5006
RHODF-4.14-RHEL-9odf4/odf-multicluster-console-rhel9:v4.14.13-3RHSA-2025:0323
RHODF-4.15-RHEL-9odf4/odf-multicluster-console-rhel9:v4.15.9-1RHSA-2025:0164

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2023-26136 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2023-26136: tough-cookie — Fixed in 4.1.3