Is tough-cookie 2.5 vulnerable?

npm · 1 release from 2.5.0 to 2.5.0 · latest tough-cookie is 6.0.2 · checked 2 Nov 2026

Yes: 1 known advisory

Yes. tough-cookie 2.5.0, the last 2.5 release, is affected by 1 known security advisory (1 medium), including CVE-2023-26136. Upgrade to 4.1.3 or later to fix all of them.

Upgrade with:npm install tough-cookie@4.1.3

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Advisories affecting tough-cookie 2.5.0

  • MediumCVE-2023-26136GHSA-72xf-g2v4-qvf31 Jul 2023

    tough-cookie Prototype Pollution vulnerability

    Affected
    <4.1.3
    Fixed in
    4.1.3

Which of your client projects are still on tough-cookie 2.5?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact tough-cookie version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other tough-cookie versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.