{
  "id": "CVE-2026-33442",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-33442",
  "published_at": "2026-03-26T17:01:57.866Z",
  "title": "Kysely has a MySQL SQL Injection via Backslash Escape Bypass in non-type-safe usage of JSON path keys.",
  "vendor": "kysely-org",
  "product": "kysely",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Kysely is a type-safe TypeScript SQL query builder. In versions 0.28.12 and 0.28.13, the `sanitizeStringLiteral` method in Kysely's query compiler escapes single quotes (`'` → `''`) but does not escape backslashes. On MySQL with the default `BACKSLASH_ESCAPES` SQL mode, an attacker can inject a backslash before a single quote to neutralize the escaping, breaking out of the JSON path string literal and injecting arbitrary SQL. Version 0.28.14 fixes the issue.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:kysely:kysely:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "kysely-org",
        "product": "kysely",
        "ranges": [
          "\u003e= 0.28.12, \u003c 0.28.14"
        ],
        "fixed_in": [
          "0.28.14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade kysely to 0.28.14 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/kysely-org/kysely/security/advisories/GHSA-fr9j-6mvq-frcv"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
