Vulnerability
Published 2026-11-18 New
Updated 2026-11-21
Verified 2026-11-21

Deserialising attacker-controlled Java data with clojure.jar on the classpath can lead to remote code execution (GHSA-x4c4-68gp-vrhc, CVSS 8.1 High); patched in Clojure 1.12.7

The Clojure project published GitHub security advisory GHSA-x4c4-68gp-vrhc, 'Deserialization of Untrusted Data Allows Remote Code Execution', on Nov 18, 2026 for the org.clojure:clojure Maven package, rated High with a CVSS 3.1 score of 8.1 (source: Clojure advisory).

The advisory says compiled Clojure functions implement java.util.Comparator, so a serialized java.util.PriorityQueue whose comparator is clojure.core/apply and whose elements are clojure.core/load-string and a string of Clojure source executes that source during ObjectInputStream.readObject, using only classes in clojure.jar and the JDK (source: Clojure advisory).

It says any application that calls ObjectInputStream.readObject on attacker-controlled bytes with clojure.jar on the classpath is exposed to remote code execution, and that the one precondition is that the application deserializes attacker-controlled data (source: Clojure advisory).

The advisory lists versions 1.12.6 and earlier and 1.13.0-alpha1 through 1.13.0-alpha11 as affected and 1.12.7 as the patched version, and shows no CVE ID (source: Clojure advisory).

Product
Clojure (org.clojure:clojure, Maven)
Versions
Affected (advisory): 1.12.6 and earlier; 1.13.0-alpha1 through 1.13.0-alpha11. Patched: 1.12.7. As of 21 Nov.
CVSS
High (CVSS 3.1, GitHub advisory)
Exploited in Australia?
unknown
Patch to
Upgrade to Clojure 1.12.7; do not deserialize attacker-controlled data with ObjectInputStream in applications that have clojure.jar on the classpath (per the advisory's stated precondition).

vulnerabilities