# CVE-2025-61140: JSONPath vulnerable to Prototype Pollution due to insufficient input validation of object keys in lib/index.js

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-01-28T00:00:00.000Z
- Modified: 2026-09-07T13:17:29.797Z
- Also known as: GHSA-6c59-mwgh-r2x6
- Weaknesses: CWE-502, CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

The value function in jsonpath 1.1.1 lib/index.js is vulnerable to Prototype Pollution.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ansible-automation-platform/automation-portal: no versions given (not affected: from 1770282458 before *; from 1770281704 before *)
- ansible-automation-platform-25/lightspeed-rhel8: no versions given (not affected: from 1772214630 before *)
- ansible-automation-platform-26/lightspeed-rhel9: no versions given (not affected: from 1772552788 before *)
- rhdh/rhdh-hub-rhel9: no versions given (not affected: from 1774545605 before *; from 1775140647 before *)
- migration-toolkit-virtualization/mtv-console-plugin-rhel9: no versions given
- mtv-candidate/mtv-console-plugin-rhel9: no versions given
- openshift-pipelines/pipelines-hub-api-rhel8: no versions given
- openshift-pipelines/pipelines-hub-db-migration-rhel8: no versions given
- openshift-pipelines/pipelines-hub-ui-rhel8: no versions given
- ansible-on-clouds/aoc-azure-aap-installer-rhel9: no versions given
- rhelai3/bootc-cuda-rhel9: no versions given
- rhelai3/disk-image-cuda-rhel9: no versions given
- io.hawt-hawtio-online: no versions given
- rhoai/odh-kf-notebook-controller-rhel8: no versions given
- rhoai/odh-notebook-controller-rhel8: no versions given
- quay/quay-rhel8: no versions given
- jsonpath (npm): before 1.2.0
- dchester jsonpath: 1.1.1

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/dchester/jsonpath> (package, product)
- <https://gist.github.com/Dremig/8105c189774217222a8ebea3ed4d341d> (third-party-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2025-61140> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2433946> (issue-tracking, third-party-advisory)
- <https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61140.json> (third-party-advisory)
- <https://access.redhat.com/errata/RHSA-2026:2181> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:3962> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:3960> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6174> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6802> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:2180> (third-party-advisory, vendor-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)

## Sources

- CVE List: [CVE-2025-61140](https://www.cve.org/CVERecord?id=CVE-2025-61140), CVE Terms of Use, modified 2026-09-07
- GitHub Advisory Database: [GHSA-6c59-mwgh-r2x6](https://github.com/advisories/GHSA-6c59-mwgh-r2x6), CC-BY-4.0, modified 2026-02-05
- NVD: [CVE-2025-61140](https://nvd.nist.gov/vuln/detail/CVE-2025-61140), Public domain, modified 2026-09-07

---

Page: https://cve.day/CVE-2025-61140 · Whole record: https://cve.day/CVE-2025-61140.json · Rebuilt by cve.day 2026-11-25T22:59:10.899Z
