
CVE catalog
CVE-2026-25063
gradle-completion: CVE-2026-25063
- 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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | gradle-completion | sid | 1.3.1-1.1 | vulnerable |
| Debian | gradle-completion | forky | 1.3.1-1.1 | vulnerable |
| Debian | gradle-completion | trixie | 1.3.1-1.1 | vulnerable |
| Debian | gradle-completion | bookworm | 1.3.1-1.1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | gradle-completion | source | sid | (unfixed) | not yet assigned | Not reported | [1126696] |
| Debian | gradle-completion | source | forky | (unfixed) | not yet assigned | Not reported | [1126696] |
| Debian | gradle-completion | source | trixie | (unfixed) | not yet assigned | Not reported | [1126696] |
| Debian | gradle-completion | source | bookworm | (unfixed) | not yet assigned | Not reported | [1126696] |
Notes
[trixie] gradle-completion: Minor issue [bookworm] gradle-completion: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [gradle-completion]Affected
Details (2)
1.3.1-1.1· all · bookwormAffected
dsa · gradle-completion · debian · bookworm; dsa · gradle-completion · debian · 12
1.3.1-1.1· all · bookwormAffected
dsa · gradle-completion · debian · bookworm; dsa · gradle-completion · debian · 12
[Debian 13 (Trixie)]
- [gradle-completion]Affected
Details (2)
1.3.1-1.1· all · trixieAffected
dsa · gradle-completion · debian · 13
1.3.1-1.1· all · trixieAffected
dsa · gradle-completion · debian · 13
Observed: