CVE-2023-26136: Critical severity Salesforce Tough-cookie Node.js vulnerability

Published Jul 1, 2023
·
Updated

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.

Other sources

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.

— NVD

Affected Software

6 affected componentsFixes available
npm/tough-cookie<4.1.3
4.1.3
Salesforce Tough-cookie Node.js<4.1.3
redhat/tough-cookie<4.1.3
4.1.3
ubuntu/node-tough-cookie<2.3.2+dfsg-1ubuntu0.1~esm1
2.3.2+dfsg-1ubuntu0.1~esm1
ubuntu/node-tough-cookie<3.0.0-1ubuntu0.1~esm1
3.0.0-1ubuntu0.1~esm1
ubuntu/node-tough-cookie<4.0.0-2ubuntu0.1~esm1
4.0.0-2ubuntu0.1~esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/tough-cookie to a version that resolves this vulnerability.

    Fixed in 4.1.3
  2. Upgrade

    Upgrade redhat/tough-cookie to a version that resolves this vulnerability.

    Fixed in 4.1.3
  3. Upgrade

    Upgrade ubuntu/node-tough-cookie to a version that resolves this vulnerability.

    Fixed in 2.3.2+dfsg-1ubuntu0.1~esm1
  4. Upgrade

    Upgrade ubuntu/node-tough-cookie to a version that resolves this vulnerability.

    Fixed in 3.0.0-1ubuntu0.1~esm1
  5. Upgrade

    Upgrade ubuntu/node-tough-cookie to a version that resolves this vulnerability.

    Fixed in 4.0.0-2ubuntu0.1~esm1
  6. Upgrade

    Upgrade salesforce/tough-cookie to a version that resolves this vulnerability.

    Fixed in 4.1.3Patch SNYK-JS-TOUGHCOOKIE-5672873

Event History

Jul 1, 2023
CVE Published
via MITRE·05:00 AM
Data Sourced
via MITRE·05:00 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·05:15 AM
DescriptionSeverityAffected Software
Data Sourced
05:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
06:30 AM
Nov 6, 2023
Advisory Published
05:07 AM
Nov 7, 2023
Updated
04:09 AM
WeaknessAffected Software
Nov 15, 2023
Data Sourced
via Red Hat·01:25 AM
DescriptionSeverityAffected Software
Dec 4, 2023
Exploit Published
via GitHub·01:01 PM
Dec 21, 2023
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Feb 23, 2024
Updated
via IBM·12:00 AM
Affected Software
Feb 26, 2024
Updated
via IBM·12:00 AM
Affected Software
Feb 28, 2024
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·03:15 AM
Affected Software
Mar 7, 2024
Data Sourced
via GitHub·05:09 AM
DescriptionSeverityWeaknessAffected Software
Jun 21, 2024
Updated
via NVD·07:15 PM
Affected Software
Feb 4, 2025
Updated
via IBM·12:00 AM
Affected Software
Feb 20, 2025
Updated
via IBM·12:00 AM
Affected Software
Apr 3, 2025
Updated
via IBM·12:00 AM
Affected Software
Apr 14, 2025
Updated
via IBM·12:00 AM
Affected Software
Nov 3, 2025
Updated
via IBM·12:00 AM
DescriptionAffected Software
Jan 30, 2026
Updated
via IBM·12:00 AM
Affected Software
Jun 17, 2026
Updated
via NVD·05:42 AM
RemedyAffected Software
Nov 13, 2026
Updated
via OSV·11:21 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2023-26136?

CVE-2023-26136 has a high severity rating due to the potential for remote code execution caused by the prototype pollution vulnerability.

2

How do I fix CVE-2023-26136?

To fix CVE-2023-26136, upgrade to the patched version of tough-cookie, specifically version 4.1.3 or later.

3

Which software products are affected by CVE-2023-26136?

CVE-2023-26136 affects Salesforce tough-cookie and IBM Cognos Analytics across several versions.

4

What attack vector is exploited in CVE-2023-26136?

CVE-2023-26136 can be exploited through the improper handling of Cookies in the rejectPublicSuffixes=false mode.

5

Can CVE-2023-26136 be exploited remotely?

Yes, CVE-2023-26136 can be exploited by remote attackers to execute arbitrary code on affected systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203