Security Resilience

CVE-2023-26136

Salesforce Tough-Cookie ≤ 4.1.3

Public PoC
Published
01 July 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS Score 0.026 85th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-26136 is a medium-severity Prototype Pollution (CWE-1321) vulnerability in Salesforce Tough-Cookie. Its CVSS base score is 6.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Junk Data (T1001.001); ranked in the top 15% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Versions of the tough-cookie npm package before 4.1.3 are vulnerable to prototype pollution (CWE-1321) when a CookieJar is instantiated with rejectPublicSuffixes set to false. The flaw stems from unsafe object initialization during cookie handling, allowing attacker-controlled properties to pollute the prototype chain. The issue carries a CVSS 3.1 score of 6.5 with network attack vector, no required privileges or user interaction, and limited impacts on confidentiality and integrity.

An unauthenticated remote attacker can supply a crafted cookie that triggers the pollution when the vulnerable CookieJar configuration is used, enabling subsequent manipulation of application objects that inherit from the polluted prototype. This can lead to bypasses of security checks or unexpected behavior in any dependent code that relies on the affected cookie-parsing logic.

The referenced GitHub commit, release tag v4.1.3, and downstream advisories from Debian LTS and Fedora all direct users to upgrade to tough-cookie 4.1.3 or later to eliminate the unsafe initialization path. EPSS scores have remained low, with a current value of 0.0625 and a peak of only 0.0693.

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1001.001 Junk Data Command And Control
Adversaries may add junk data to protocols used for command and control to make detection more difficult.
T1003 OS Credential Dumping Credential Access
Adversaries may attempt to dump credentials to obtain account login and credential material, normally in the form of a hash or a clear text password.
T1003.002 Security Account Manager Credential Access
Adversaries may attempt to extract credential material from the Security Account Manager (SAM) database either through in-memory techniques or through the Windows Registry where the SAM database is stored.
T1003.006 DCSync Credential Access
Adversaries may attempt to access credentials and other sensitive information by abusing a Windows Domain Controller's application programming interface (API)(Citation: Microsoft DRSR Dec 2017) (Citation: Microsoft GetNCCChanges) (Citati…
T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1008 Fallback Channels Command And Control
Adversaries may use fallback or alternate communication channels if the primary channel is compromised or inaccessible in order to maintain reliable command and control and to avoid data transfer thresholds.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-46308Shared CWE-1321
CVE-2024-38992Shared CWE-1321
CVE-2024-38997Shared CWE-1321
CVE-2025-27597Shared CWE-1321
CVE-2023-26102Shared CWE-1321
CVE-2021-48012Shared CWE-1321
CVE-2024-29651Shared CWE-1321
CVE-2024-57072Shared CWE-1321
CVE-2024-39013Shared CWE-1321
CVE-2023-36665Shared CWE-1321

Affected Assets

salesforce
tough-cookie
≤ 4.1.3

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V15.3.6

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 partial match
blocks

Secure SDLC practices directly require input validation and safe property assignment to prevent prototype pollution.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

removes
removes
removes
removes
removes

References