CVE-2025-61140
CRITICAL 9.8CVSS 3.1JSONPath vulnerable to Prototype Pollution due to insufficient input validation of object keys in lib/index.js
The value function in jsonpath 1.1.1 lib/index.js is vulnerable to Prototype Pollution.
- Published
- 28 Jan 2026
- Last modified
- 7 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-1321CWE-502
- Also known as
- GHSA-6c59-mwgh-r2x6
- Sources
- NVDJSONOSV GHSA-6c59-mwgh-r2x6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dchester | jsonpathcpe:2.3:a:dchester:jsonpath:1.1.1:*:*:*:*:node.js:*:* |
= 1.1.1 | |
| OSV | npm | jsonpath | < 1.2.0 | 1.2.0 |
References
- https://gist.github.com/Dremig/8105c189774217222a8ebea3ed4d341d · Third Party Advisory, WEB
- https://github.com/dchester/jsonpath · Product, PACKAGE
- https://access.redhat.com/errata/RHSA-2026:2180 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:2181 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:3960 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:3962 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:6174 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:6802 · Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2025-61140 · Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2433946 · Third Party Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61140.json · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-61140 · ADVISORY
- https://github.com/dchester/jsonpath/issues/181 · WEB
- https://github.com/dchester/jsonpath/issues/194 · WEB
- https://github.com/dchester/jsonpath/pull/195 · WEB
- https://github.com/dchester/jsonpath/commit/9631412641b7095f86840a7a45b5b3afc68b0fcb · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 28 Jan 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 28 Jan 2026)