CVE-2026-46625
published high CVSS 3.1 · 7.5JavaScript Cookie: Per-instance prototype hijack in assign() enables cookie-attribute injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| js-cookie | — | js-cookie< 3.0.7 | Affected | Not stated | GitHub_M |
| Red Hat | — | cryostat/cryostat-grafana-dashboard-rhel9Cryostat 4 on RHEL 9 · 4.2.0-13 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | advanced-cluster-security/rhacs-main-rhel8Red Hat Advanced Cluster Security for Kubernetes 4.10 · 1783357140 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | ansible-automation-platform/automation-portalRed Hat Ansible Automation Platform 2.1 · 1787047114 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | ansible-automation-platform/automation-portalRed Hat Ansible Automation Platform 2.2 · 1787047188 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | ansible-automation-platform-27/gateway-rhel9Red Hat Ansible Automation Platform 2.7 · 1787218409 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhdh/red-hat-developer-hub-backstage-plugin-lightspeedRed Hat Developer Hub 1.10 · 1785333413 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhdh/red-hat-developer-hub-backstage-plugin-orchestratorRed Hat Developer Hub 1.10 · 1785340831 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
Show 35 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgetsRed Hat Developer Hub 1.10 · 1785332928 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhdh/rhdh-hub-rhel9Red Hat Developer Hub 1.10 · 1785411652 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhdh/rhdh-hub-rhel9Red Hat Developer Hub 1.9 · 1785972843 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-dashboard-rhel9Red Hat OpenShift AI 3.4 · 1787347991 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-automl-rhel9Red Hat OpenShift AI 3.4 · 1787250508 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-autorag-rhel9Red Hat OpenShift AI 3.4 · 1787251550 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-gen-ai-rhel9Red Hat OpenShift AI 3.4 · 1786611759 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-maas-rhel9Red Hat OpenShift AI 3.4 · 1787251250 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-mlflow-rhel9Red Hat OpenShift AI 3.4 · 1786612219 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-model-registry-rhel9Red Hat OpenShift AI 3.4 · 1787250617 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | openshift-service-mesh/kiali-ossmc-rhel9Red Hat OpenShift Service Mesh 3.3 · 1782231869 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | openshift-service-mesh/kiali-rhel9Red Hat OpenShift Service Mesh 3.3 · 1782201466 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | openshift-lightspeed/lightspeed-console-plugin-419-rhel9OpenShift Lightspeed | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift-lightspeed/lightspeed-console-plugin-rhel9OpenShift Lightspeed | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp21/systemRed Hat 3scale API Management Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | 3scale-amp22/systemRed Hat 3scale API Management Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | 3scale-amp2/system-rhel7Red Hat 3scale API Management Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | 3scale-amp2/system-rhel8Red Hat 3scale API Management Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | 3scale-amp2/system-rhel9Red Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | automation-gatewayRed Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | automation-hubRed Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | automation-platform-uiRed Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | python3.11-galaxy-ngRed Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | python3.12-galaxy-ngRed Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | python3x-galaxy-ngRed Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | python-galaxy-ngRed Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | discovery/discovery-ui-rhel9Red Hat Discovery 2 | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 9, 10 | grafana-pcp | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 8 | grafana | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 8 | grafana-pcp | Affected | Not stated | redhat-SADP |
| Red Hat | — | js-cookieRed Hat JBoss Enterprise Application Platform 7 | Affected | Not stated | redhat-SADP |
| Red Hat | — | js-cookieRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | js-cookieRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-eval-hub-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift4/ose-agent-installer-ui-rhel9Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat-SADP |
Description
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.
A flaw was found in JavaScript Cookie (js-cookie). This vulnerability allows a remote attacker to manipulate cookie attributes by exploiting a prototype pollution issue within the `assign()` helper function. When processing specially crafted JSON input, the flaw enables an attacker to hijack the prototype of a cookie's attribute object. This allows the attacker to set sensitive cookie attributes such as `domain`, `secure`, `samesite`, `expires`, and `path`, potentially leading to security bypasses or session manipulation.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| js-cookie | js-cookie | < 3.0.7 (affected) | GitHub_M · cna |
| Red Hat | Cryostat 4 on RHEL 9 | 4.2.0-13 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Advanced Cluster Security for Kubernetes 4.10 | 1783357140 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2.1 | 1787047114 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2.2 | 1787047188 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2.7 | 1787218409 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Developer Hub 1.10 | 1785333413 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Developer Hub 1.10 | 1785340831 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Developer Hub 1.10 | 1785332928 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Developer Hub 1.10 | 1785411652 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Developer Hub 1.9 | 1785972843 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787347991 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787250508 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787251550 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1786611759 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787251250 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1786612219 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787250617 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Service Mesh 3.3 | 1782231869 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Service Mesh 3.3 | 1782201466 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: affected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Discovery 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 7 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-1321 CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
- CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
References
16- https://access.redhat.com/errata/RHSA-2026:33183
- https://access.redhat.com/errata/RHSA-2026:36625
- https://access.redhat.com/errata/RHSA-2026:48126
- https://access.redhat.com/errata/RHSA-2026:48151
- https://access.redhat.com/errata/RHSA-2026:49642
- https://access.redhat.com/errata/RHSA-2026:52768
- https://access.redhat.com/errata/RHSA-2026:56338
- https://access.redhat.com/errata/RHSA-2026:56357
- https://access.redhat.com/errata/RHSA-2026:59153
- https://access.redhat.com/errata/RHSA-2026:60520
- https://access.redhat.com/security/cve/CVE-2026-46625
- RHBZ#2487740 https://bugzilla.redhat.com/show_bug.cgi?id=2487740
- https://github.com/js-cookie/js-cookie/commit/eb3c40e89731e99b8970faaf35ddad249c6c0020
- https://github.com/js-cookie/js-cookie/releases/tag/v3.0.7
- https://github.com/js-cookie/js-cookie/security/advisories/GHSA-qjx8-664m-686j
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46625.json
Provider assertions
3GitHub_M · cna
JavaScript Cookie: Per-instance prototype hijack in assign() enables cookie-attribute injection
redhat-SADP · adp
js-cookie: JavaScript Cookie: Cookie attribute manipulation via prototype pollution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 20a14153f52eec9ae2ebc604e5355ad23561471715c28171464443c9f2914a40
- Ingested
- 23 Sep 2026, 09:16:38 UTC
- Source record
- Official CVE record