Vulnerabilities/

Kysely: JSON-path traversal injection via unsanitized path-leg metacharacters in `JSONPathBuilder.key()` / `.at()`

Severity:
High

Description

Kysely 0.28.12 added a sanitizeStringLiteral() call inside DefaultQueryCompiler.visitJSONPathLeg (commit 0a602bf, PR #1727) to fix CVE-2026-32763 (GHSA-wmrf-hv6w-mr66). The fix only doubles single quotes ('''); it does not escape JSON-path metacharacters (., [, ], *, **, ?).

Recommendation

Update the kysely package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
kysely
Anything's wrong? Let us know Last updated on May 11, 2026