---
id: "CVE-2026-61620"
kind: "vulnerability"
aliases: ["CVE-2026-61620"]
title: "HoneySQL: user input turned into SQL identifiers enables SQL injection"
severity: "critical"
cvss: 9.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["clojure", "honeysql", "jdbc", "package", "sql"]
not_affected_if: ["fixed-identifiers", "honeysql-not-used", "no-user-input-to-keyword"]
published_at: "2026-10-30T20:17:10+00:00"
first_seen_at: "2026-10-30T20:25:38+00:00"
updated_at: "2026-10-30T20:26:06+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-61620", "first_seen_at": "2026-10-30T20:25:38+00:00"}]
---

# HoneySQL: user input turned into SQL identifiers enables SQL injection

HoneySQL, a Clojure library that builds SQL from data structures, fails to apply its suspicious-character check to some identifier names created with keyword or symbol. An attacker who controls that input can inject SQL that runs against the database with the connection's privileges.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Search your Clojure projects for calls to `keyword` or `symbol` that receive user input before passing into HoneySQL's `DSL`
- Check the HoneySQL version in your `deps.edn` or `project.clj` against the affected range `2.0.0` to `2.7.1392`

## Fix

- HoneySQL: move to `2.7.1392` or later
- Until upgraded, validate input before constructing `keyword` or `symbol` entities (workaround stated in the source)

## Timeline

- 2026-10-30T20:25:38+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-61620

## From the sources

HoneySQL turns Clojure data structures into SQL. From 2.0.0 until 2.7.1392, applications that pass user input or other arbitrary data into the HoneySQL `DSL` by calling `keyword` or `symbol` on that input can produce SQL strings that facilitate SQL injection when executed unchanged by a `JDBC` driver. Some formatters do not apply the existing suspicious-character check to the resulting entity names. The impact depends on the privileges of the database connection executing the generated statement. Input validation before constructing `keyword` or `symbol` entities is a workaround. The maintainer-designated fixed version is 2.7.1392.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
