Skip to main content
VulnerabilityPublished Updated

CVE-2026-25063: gradle-completion provides Bash and Zsh completion support for Gradle

Affects gradleSource GCVE Database

0
Compare
Authoritative record:CVE-2026-25063· High 8.3

Not known to be exploited · CVSS 8.3 High.

Data as of 24 Nov 2026, 20:26 UTC

CVSS 4.0 base score
8.3High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:H/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10gradlepkg:deb/ubuntu/gradle?arch=source&distro=stonkingOther threatsAffected
  • =4.4.1-22ubuntu1
  • =4.4.1-23
Fixed in–
Ubuntu 26.04 LTSgradlepkg:deb/ubuntu/gradle?arch=source&distro=resoluteOther threatsAffected
  • =4.4.1-22
  • =4.4.1-22build1
  • =4.4.1-22ubuntu1
Fixed in–
Ubuntu 25.10gradlepkg:deb/ubuntu/gradle?arch=source&distro=questingOther threatsAffected
  • =4.4.1-22
Fixed in–
Ubuntu 24.04 LTSgradlepkg:deb/ubuntu/gradle?arch=source&distro=nobleOther threatsAffected
  • =4.4.1-18
  • =4.4.1-20
Fixed in–
Ubuntu 22.04 LTSgradlepkg:deb/ubuntu/gradle?arch=source&distro=jammyOther threatsAffected
  • =4.4.1-13
Fixed in–
Ubuntu 20.04 LTSgradlepkg:deb/ubuntu/gradle?arch=source&distro=focalOther threatsAffected
  • =4.4.1-8
  • =4.4.1-9
  • =4.4.1-10
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

Community reviews

Loading reviews…