CVE-2026-25063

Source
https://cve.org/CVERecord?id=CVE-2026-25063
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25063.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-25063
Aliases
  • GHSA-qggc-44r3-cjgv
Downstream
Published
2026-01-29T21:47:16.881Z
Modified
2026-03-01T02:57:04.810133Z
Severity
  • 8.3 (High) CVSS_V4 - 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 CVSS Calculator
Summary
gradle-completion has a Bash command injection issue
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25063.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-157",
        "CWE-78"
    ]
}
References

Affected packages

Git / github.com/gradle/gradle-completion

Affected ranges

Type
GIT
Repo
https://github.com/gradle/gradle-completion
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*
v1.0.0
v1.1.0
v1.2.0
v1.3.0
v1.3.1
v1.4.0
v1.4.1
v1.5.0
v1.6.0
v9.*
v9.2.0
v9.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25063.json"