{"cve":"CVE-2026-44635","nvd":{"published":"2026-05-27T19:16:20.947","modified":"2026-10-26T11:10:00.157","status":"Deferred","description":"Kysely is a type-safe TypeScript SQL query builder. From 0.26.0 to 0.28.16, DefaultQueryCompiler.visitJSONPathLeg does not escape JSON-path metacharacters (., [, ], *, **, ?). When attacker-controlled input flows into eb.ref(col, '->$').key(input) or .at(input) — including type-safe code where the JSON column is shaped like Record<string, T> so K extends string is the inferred type — every dot becomes a path-leg separator, letting an attacker traverse from the intended key into sibling and child fields the developer never meant to expose. The result is read access (and, in update statements, write access) to JSON sub-fields outside the intended scope across MySQL, PostgreSQL ->$/->>$, and SQLite. This vulnerability is fixed in 0.28.17.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22","CWE-89","CWE-915","CWE-1284"],"references":["https://github.com/kysely-org/kysely/security/advisories/GHSA-pv5w-4p9q-p3v2","https://github.com/kysely-org/kysely/security/advisories/GHSA-pv5w-4p9q-p3v2"],"products":[],"source":"nvd","synced_at":"2026-10-26T11:33:08.859761529+00:00"},"epss":{"cve":"CVE-2026-44635","score":0.00362,"percentile":0.29789,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-pv5w-4p9q-p3v2","url":"https://osv.dev/vulnerability/GHSA-pv5w-4p9q-p3v2","summary":"Kysely: JSON-path traversal injection via unsanitized path-leg metacharacters in `JSONPathBuilder.key()` / `.at()`","modified":"2026-06-09T00:00:17.762179524Z","packages":[{"ecosystem":"npm","name":"kysely","purl":"pkg:npm/kysely","ranges":[">=0.26.0 <0.28.17"],"fixed":["0.28.17"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}