cve.bz

CVE-2026-46625 Prototype Pollution

7.5 highExploit referenceEPSS 0.9%Fix available

High (7.5). EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in js-cookie 3.0.7.

On this page
JavaScript Cookie is a JavaScript API for handling cookies, client-side. Prior to version 3.0.7, js-cookie's internal assign() helper copies properties with for...in + plain assignment. When the source object is produced by JSON.parse, the JSON object's "__proto__" member is an own enumerable property, so the for…in enumerates it and the target[key] = source[key] write triggers the Object.prototype.__proto__ setter on the fresh target ({}). The result is a per-instance prototype hijack: Object.prototype itself is untouched, but the merged attributes object now inherits attacker-controlled keys. Because the consuming set() function then enumerates the merged object with another for...in, every key the attacker placed on the polluted prototype lands in the resulting Set-Cookie string as an attribute pair. The attacker can set domain=, secure=, samesite=, expires=, and path= on cookies whose attributes the developer thought were locked down. This issue has been patched in version 3.0.7.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-06-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution)
CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-46625 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-46625?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-46625?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-46625 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
js-cookie:javascript_cookiebefore 3.0.7
redhat:3scale_api_management2.0
redhat:ansible_automation_platform2.0
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0
redhat:enterprise_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qjx8-664m-686jnpmjs-cookie<3.0.73.0.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-js-cookieno fix listedDEBIAN-CVE-2026-46625
Debian14node-js-cookie3.0.7+~3.0.6-1DEBIAN-CVE-2026-46625
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morenode-js-cookieno fix listedUBUNTU-CVE-2026-46625

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Important: This flaw in the `js-cookie` JavaScript library allows for cookie attribute manipulation via prototype pollution. When applications process untrusted JSON data with affected versions of `js-cookie`, an attacker could control sensitive cookie properties such as `domain` or `secure`, potentially leading to session fixation or other client-side security bypasses.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-grafana-dashboard-rhel9:4.2.0-13Fixed 2026-07-29RHSA-2026:48151
Red Hat Advanced Cluster Security for Kubernetes 4.10advanced-cluster-security/rhacs-main-rhel8:1783357140Fixed 2026-07-08RHSA-2026:36625
Red Hat Ansible Automation Platform 2.1ansible-automation-platform/automation-portal:1787047114Fixed 2026-08-18RHSA-2026:56338
Red Hat Ansible Automation Platform 2.2ansible-automation-platform/automation-portal:1787047188Fixed 2026-08-18RHSA-2026:56357
Red Hat Ansible Automation Platform 2.7ansible-automation-platform-27/gateway-rhel9:1787218409Fixed 2026-08-24RHSA-2026:59153
Red Hat Developer Hub 1.10rhdh/red-hat-developer-hub-backstage-plugin-lightspeed:1785333413Fixed 2026-07-29RHSA-2026:48126
Red Hat Developer Hub 1.10rhdh/red-hat-developer-hub-backstage-plugin-orchestrator:1785340831Fixed 2026-07-29RHSA-2026:48126
Red Hat Developer Hub 1.10rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets:1785332928Fixed 2026-07-29RHSA-2026:48126
Red Hat Developer Hub 1.10rhdh/rhdh-hub-rhel9:1785411652Fixed 2026-08-03RHSA-2026:49642
Red Hat Developer Hub 1.9rhdh/rhdh-hub-rhel9:1785972843Fixed 2026-08-10RHSA-2026:52768
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-419-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-rhel9Affected
Red Hat 3scale API Management Platform 23scale-amp21/systemNot affected
Red Hat 3scale API Management Platform 23scale-amp22/systemNot affected
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel7Not affected
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel8Not affected
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/gateway-rhel9Affected
Red Hat Ansible Automation Platform 2automation-gatewayWill not fix
Red Hat Ansible Automation Platform 2automation-hubWill not fix
25 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-46625.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON