CVE-2026-25063: gradle-completion provides Bash and Zsh completion support for Gradle
Affects gradleSource GCVE Database
Not known to be exploited · CVSS 8.3 High.
Data as of 24 Nov 2026, 20:26 UTC
CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:H/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10gradlepkg:deb/ubuntu/gradle?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSgradlepkg:deb/ubuntu/gradle?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10gradlepkg:deb/ubuntu/gradle?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSgradlepkg:deb/ubuntu/gradle?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSgradlepkg:deb/ubuntu/gradle?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSgradlepkg:deb/ubuntu/gradle?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
gradle-completion provides Bash and Zsh completion support for Gradle. A command injection vulnerability was found in gradle-completion up to and including 9.3.0 that allows arbitrary code execution when a user triggers Bash tab completion in a project containing a malicious Gradle build file. The `gradle-completion` script for Bash fails to adequately sanitize Gradle task names and task descriptions, allowing command injection via a malicious Gradle build file when the user completes a command in Bash (without them explicitly running any task in the build). For example, given a task description that includes a string between backticks, then that string would be evaluated as a command when presenting the task description in the completion list. While task execution is the core feature of Gradle, this inherent execution may lead to unexpected outcomes. The vulnerability does not affect zsh completion. The first patched version is 9.3.1. As a workaround, it is possible and effective to temporarily disable bash completion for Gradle by removing `gradle-completion` from `.bashrc` or `.bash_profile`.
References
- ubuntu.com/security/CVE-2026-25063 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-25063 (opens in a new tab)
- github.com/gradle/gradle-completion/commit/ecacc32bb882210e5d37cd79a74de1af0d0ccad7 (opens in a new tab)
- github.com/gradle/gradle-completion/security/advisories/GHSA-qggc-44r3-cjgv (opens in a new tab)