Patch Ticker
EnglishEN
Notice Score pending

Clojure deserialization flaw allows remote code execution

Clojure programs that rebuild objects from outside data can be hacked.

First seen
—
Products

Mitigation

Update to Clojure 1.12.7. Until then, configure an ObjectInputFilter to reject clojure.lang.AFunction. Do not deserialize untrusted data.

Summary

Clojure libraries let an attacker run OS commands when an application deserializes untrusted data. Versions 1.12.6 and older, and 1.13.0-alpha1 through 1.13.0-alpha11, are affected.

Exploit code is public

Affected when

  • Application deserializes attacker-controlled data with ObjectInputStream.readObject
  • clojure.jar on the classpath

Incidents by product: Clojure

All Incidents of 2026-11-20

Read the write-up · github.com (opens in a new tab)