CVE-2026-12208: jsonata: Function Binding Prototype Pollution via hasOwnProperty Override
A weakness has been identified in jsonata-js jsonata up to 2.2.0. The affected element is the function createFrame of the file src/jsonata.js of the component Function Binding Frame System. This manipulation causes improperly controlled modification of object prototype attributes. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks.
Published Jun 15, 2026 · Updated Sep 8, 2026
Affected packages
jsonata
- Ecosystem
- npm
- Affected
- < 1.8.8
- Fixed in
- 1.8.8
- Check
npm ls jsonata
jsonata
- Ecosystem
- npm
- Affected
- >= 2.0.0, < 2.2.1
- Fixed in
- 2.2.1
- Check
npm ls jsonata
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A weakness has been identified in jsonata-js jsonata up to 2.2.0. The affected element is the function createFrame of the file src/jsonata.js of the component Function Binding Frame System. This manipulation causes improperly controlled modification of object prototype attributes. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Credited to mattbaileyuk, noren95.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-12208
- https://github.com/OriginSecurityX/jsonata-hasownproperty-bypass
- https://vuldb.com/cve/CVE-2026-12208
- https://vuldb.com/submit/832446
- https://vuldb.com/vuln/370850
- https://vuldb.com/vuln/370850/cti
- https://github.com/jsonata-js/jsonata/pull/799
- https://github.com/jsonata-js/jsonata/pull/806
- https://github.com/jsonata-js/jsonata/commit/59e25144fc3b7125f6befd71b8a6e14e1fa610d2
- https://github.com/jsonata-js/jsonata/commit/f09df8416eab8ff44926fc6527c80fb8701de159
- https://github.com/jsonata-js/jsonata/releases/tag/v1.8.8
- https://github.com/jsonata-js/jsonata/releases/tag/v2.2.1
- https://github.com/advisories/GHSA-663r-x48j-fg8p
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-77413
JSONata: Arbitrary Code Execution via crafted JSONata expressions
critical9.3Aug 21, 2026CVE-2026-77414
JSONata vulnerable to Arbitrary Code Execution via crafted JSONata expressions
critical9.3Aug 21, 2026CVE-2026-77415
JSONata vulnerable to Arbitrary Code Execution via crafted JSONata expressions
critical9.3Aug 21, 2026CVE-2026-52746
jsonata: Malicious inputs to "$toMillis" function can cause resource exhaustion
high7.5Jul 2, 2026CVE-2024-27307
JSONata expression can pollute the "Object" prototype
critical9.8Mar 4, 2024
