CVE catalog

CVE-2026-25063

gradle-completion: CVE-2026-25063

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.79% · Oct 25, 2026

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`.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangradle-completionsid1.3.1-1.1vulnerable
Debiangradle-completionforky1.3.1-1.1vulnerable
Debiangradle-completiontrixie1.3.1-1.1vulnerable
Debiangradle-completionbookworm1.3.1-1.1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangradle-completionsourcesid(unfixed)not yet assignedNot reported[1126696]
Debiangradle-completionsourceforky(unfixed)not yet assignedNot reported[1126696]
Debiangradle-completionsourcetrixie(unfixed)not yet assignedNot reported[1126696]
Debiangradle-completionsourcebookworm(unfixed)not yet assignedNot reported[1126696]

[Debian bug #1126696]

Notes

[trixie] gradle-completion: Minor issue [bookworm] gradle-completion: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 1.3.1-1.1 · all · bookworm

      Affected

      dsa · gradle-completion · debian · bookworm; dsa · gradle-completion · debian · 12

    • 1.3.1-1.1 · all · bookworm

      Affected

      dsa · gradle-completion · debian · bookworm; dsa · gradle-completion · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 1.3.1-1.1 · all · trixie

      Affected

      dsa · gradle-completion · debian · 13

    • 1.3.1-1.1 · all · trixie

      Affected

      dsa · gradle-completion · debian · 13

Observed:

References