Vulnerabilities / CVE-2023-26136

critical

CVE-2023-26136

tough-cookie: prototype pollution in cookie memstore

Published Modified CWE 1321
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Red Hat6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (medium), Red Hat (medium).

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 and fixed versions

SourcePackageFixed in
chainguardarangodb-3.11, kubeflow-katib, py3-captum3.11.14.5-r22 and 2 more
debian 10node-tough-cookie2.3.4+dfsg-1+deb10u1
debian 11node-tough-cookie4.0.0-2+deb11u1
debian 12node-tough-cookie4.0.0-2+deb12u1
debian 13node-tough-cookie4.1.3+~4.0.2-1
debian 14node-tough-cookie4.1.3+~4.0.2-1
echonode-tough-cookie4.0.0-2+deb12u1
minimostrigger-dev4.5.2-r0
npm::GitHub Security Advisory npmtough-cookie4.1.3
Red Hatcockpit-ceph-installer, rh-nodejs14-nodejs, rh-nodejs14-nodejs-devel and 3 moreno fix listed
wolfikubeflow-katib0.19.0-r40
Show all 18 entries from 11 sources
SourcePackageFixed in
chainguardarangodb-3.113.11.14.5-r22
chainguardkubeflow-katib0.19.0-r40
chainguardpy3-captum0.9.0-r1
debian 10node-tough-cookie2.3.4+dfsg-1+deb10u1
debian 11node-tough-cookie4.0.0-2+deb11u1
debian 12node-tough-cookie4.0.0-2+deb12u1
debian 13node-tough-cookie4.1.3+~4.0.2-1
debian 14node-tough-cookie4.1.3+~4.0.2-1
echonode-tough-cookie4.0.0-2+deb12u1
minimostrigger-dev4.5.2-r0
npm::GitHub Security Advisory npmtough-cookie4.1.3
Red Hatcockpit-ceph-installerno fix listed
Red Hatrh-nodejs14-nodejsno fix listed
Red Hatrh-nodejs14-nodejs-develno fix listed
Red Hatrh-nodejs14-nodejs-docsno fix listed
Red Hatrh-nodejs14-nodejs-full-i18nno fix listed
Red Hatrh-nodejs14-npmno fix listed
wolfikubeflow-katib0.19.0-r40

References

All 15 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.