Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
gradle gradle-completion
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

gradle-completion是Gradle开源的一个自动补全工具。 gradle-completion 9.3.0及之前版本存在安全漏洞,该漏洞源于对Gradle任务名称和描述清理不足,可能导致命令注入和任意代码执行。

AI Predicted 8.1 Difficulty: Easy EPSS 0.80% · P56
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-25063

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
gradle-completion has a Bash command injection issue
Source: CVE Program / CVE List V5
Vulnerability 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`.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
gradle-completion 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
gradle-completion是Gradle开源的一个自动补全工具。 gradle-completion 9.3.0及之前版本存在安全漏洞,该漏洞源于对Gradle任务名称和描述清理不足,可能导致命令注入和任意代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gradle gradle-completion < 9.3.1 -

II. Public POCs for CVE-2026-25063

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-25063

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-25063 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-25063

No comments yet


Leave a comment