{"id":"EUVD-2026-13392","enisaUuid":"2bd6755b-2a70-304a-b85e-d4cba86b736e","description":"Kysely is a type-safe TypeScript SQL query builder. Versions up to and including 0.28.11 has a SQL injection vulnerability in JSON path compilation for MySQL and SQLite dialects. The `visitJSONPathLeg()` function appends user-controlled values from `.key()` and `.at()` directly into single-quoted JSON path string literals (`\u0027$.key\u0027`) without escaping single quotes. An attacker can break out of the JSON path string context and inject arbitrary SQL. This is inconsistent with `sanitizeIdentifier()`, which properly doubles delimiter characters for identifiers — both are non-parameterizable SQL constructs requiring manual escaping, but only identifiers are protected. Version 0.28.12 fixes the issue.","datePublished":"Mar 19, 2026, 11:14:58 PM","dateUpdated":"Mar 21, 2026, 3:05:22 AM","baseScore":8.2,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","references":"https://github.com/kysely-org/kysely/security/advisories/GHSA-wmrf-hv6w-mr66\nhttps://github.com/kysely-org/kysely/commit/0a602bff2f442f6c26d5e047ca8f8715179f6d24\nhttps://github.com/kysely-org/kysely/releases/tag/v0.28.12\n","aliases":"CVE-2026-32763\nGHSA-wmrf-hv6w-mr66\n","assigner":"GitHub_M","epss":0.46,"enisaIdProduct":[{"id":"13927bdf-f7c9-3780-995b-bfa2ef818813","product":{"name":"kysely","vendor":{"name":"kysely-org"}},"product_version":"0.26.0, \u003c 0.28.12"}],"enisaIdVendor":[{"id":"c8962242-fc3a-3d78-93ee-34ab98553198","vendor":{"name":"kysely-org"}}],"enisaIdVulnerability":[{"id":"4a603198-a5da-3f0d-8130-a25def6fe81d","vulnerability":{"id":"CVE-2026-32763","description":"Kysely is a type-safe TypeScript SQL query builder. Versions up to and including 0.28.11 has a SQL injection vulnerability in JSON path compilation for MySQL and SQLite dialects. The `visitJSONPathLeg()` function appends user-controlled values from `.key()` and `.at()` directly into single-quoted JSON path string literals (`\u0027$.key\u0027`) without escaping single quotes. An attacker can break out of the JSON path string context and inject arbitrary SQL. This is inconsistent with `sanitizeIdentifier()`, which properly doubles delimiter characters for identifiers — both are non-parameterizable SQL constructs requiring manual escaping, but only identifiers are protected. Version 0.28.12 fixes the issue.","datePublished":"Mar 19, 2026, 11:14:58 PM","dateUpdated":"Mar 21, 2026, 3:05:22 AM","status":"PUBLISHED","baseScore":8.2,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","references":"https://github.com/kysely-org/kysely/security/advisories/GHSA-wmrf-hv6w-mr66\nhttps://github.com/kysely-org/kysely/commit/0a602bff2f442f6c26d5e047ca8f8715179f6d24\nhttps://github.com/kysely-org/kysely/releases/tag/v0.28.12\n","enisa_id":"EUVD-2026-13392\n","assigner":"GitHub_M","epss":0.46,"dataProcessed":"Nov 15, 2026, 7:22:27 AM","vulnerabilityProduct":[{"id":"fd812ee8-74c9-372e-bf93-656aaab27610","product":{"name":"kysely","vendor":{"name":"kysely-org"}},"product_version":"0.26.0, \u003c 0.28.12"}],"vulnerabilityVendor":[{"id":"e244529f-313d-3a75-b55b-79c00a2f13a5","vendor":{"name":"kysely-org"}}]}},{"id":"8156e520-c8f2-34e3-861f-2b977c165053","vulnerability":{"id":"GHSA-wmrf-hv6w-mr66","description":"SQL Injection via unsanitized JSON path keys when ignoring/silencing compilation errors or using `Kysely\u003cany\u003e`.","datePublished":"Mar 18, 2026, 12:59:32 PM","dateUpdated":"Mar 20, 2026, 9:16:22 PM","baseScore":0.0,"references":"https://github.com/kysely-org/kysely/security/advisories/GHSA-wmrf-hv6w-mr66\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-32763\nhttps://github.com/kysely-org/kysely/commit/0a602bff2f442f6c26d5e047ca8f8715179f6d24\nhttps://github.com/kysely-org/kysely\nhttps://github.com/kysely-org/kysely/releases/tag/v0.28.12\n","enisa_id":"EUVD-2026-13392\n","aliases":"CVE-2026-32763\nGHSA-wmrf-hv6w-mr66\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:48:45 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}