Deserialization of Untrusted Data in gradle - #VU166061
Published: November 12, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose client environment variables and system properties and execute arbitrary code with the victim's privileges.
The vulnerability exists due to deserialization of untrusted data and acceptance of arbitrary daemon addresses in the Gradle client's daemon registry handling when a project selects its own registry through org.gradle.daemon.registry.base. A remote attacker can lure a victim into cloning a crafted repository and running Gradle or opening it in an IDE to redirect requests, expose client data, and deliver crafted Tooling API replies that execute code from an attacker-chosen jar URL.