CVEfocus › CVE database › CVE-2026-25063

CVE-2026-25063gradle-completion has a Bash command injection issue

CVSS 8.3 HighEPSS 1.0% (higher than 63% of CVEs)Published 2026-01-29Updated 2026-02-10Assigner: GitHub_M

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

CWE-157CWE-78

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
6Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10gradleFix pendingUBUNTU-CVE-2026-25063
Ubuntu 26.04gradleUnder investigationUBUNTU-CVE-2026-25063
Ubuntu 25.10gradleWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-25063
Ubuntu 24.04gradleUnder investigationUBUNTU-CVE-2026-25063
Ubuntu 22.04gradleUnder investigationUBUNTU-CVE-2026-25063
Ubuntu 20.04gradleFix pendingUBUNTU-CVE-2026-25063
Ubuntu 18.04gradleFix pendingUBUNTU-CVE-2026-25063
Ubuntu 16.04gradleFix pendingUBUNTU-CVE-2026-25063
Debian 14gradle-completionFixed1.4.1-1DEBIAN-CVE-2026-25063
Debian 13gradle-completionFix pendingDEBIAN-CVE-2026-25063
Debian 12gradle-completionFix pendingDEBIAN-CVE-2026-25063

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.