CVE Explorer
CVE-2026-25063
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1d7d8f720bb26dac2eb194ddb5db95d36b43cdb45d6a3b4ab01bd5225b150377 · sha256:e76d02b85691e11b… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-157","description":"CWE-157: Failure to Sanitize Paired Delimiters","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1d7d8f720bb26dac2eb194ddb5db95d36b43cdb45d6a3b4ab01bd5225b150377 · sha256:e76d02b85691e11b… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"gradle-completion","vendor":"gradle","versions":[{"status":"affected","version":"< 9.3.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1d7d8f720bb26dac2eb194ddb5db95d36b43cdb45d6a3b4ab01bd5225b150377 · sha256:e76d02b85691e11b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":8.3,"baseSeverity":"HIGH","privilegesRequired":"HIGH","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"HIGH","userInteraction":"ACTIVE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1d7d8f720bb26dac2eb194ddb5db95d36b43cdb45d6a3b4ab01bd5225b150377 · sha256:e76d02b85691e11b… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1d7d8f720bb26dac2eb194ddb5db95d36b43cdb45d6a3b4ab01bd5225b150377 · sha256:e76d02b85691e11b… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-157","description":"CWE-157: Failure to Sanitize Paired Delimiters","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1d7d8f720bb26dac2eb194ddb5db95d36b43cdb45d6a3b4ab01bd5225b150377 · sha256:e76d02b85691e11b… · /containers/cna/problemTypes/1/descriptions/0
Source references
4 source assertions{"name":"https://github.com/gradle/gradle-completion/commit/ecacc32bb882210e5d37cd79a74de1af0d0ccad7","tags":["x_refsource_MISC"],"url":"https://github.com/gradle/gradle-completion/commit/ecacc32bb882210e5d37cd79a74de1af0d0ccad7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1d7d8f720bb26dac2eb194ddb5db95d36b43cdb45d6a3b4ab01bd5225b150377 · sha256:e76d02b85691e11b… · /containers/cna/references/1
{"name":"https://github.com/gradle/gradle-completion/security/advisories/GHSA-qggc-44r3-cjgv","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gradle/gradle-completion/security/advisories/GHSA-qggc-44r3-cjgv"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1d7d8f720bb26dac2eb194ddb5db95d36b43cdb45d6a3b4ab01bd5225b150377 · sha256:e76d02b85691e11b… · /containers/cna/references/0
{"url":"https://www.vicarius.io/vsociety/posts/cve-2026-25063-detection-script-command-injection-vulnerability-in-bash-completion-component"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1d7d8f720bb26dac2eb194ddb5db95d36b43cdb45d6a3b4ab01bd5225b150377 · sha256:e76d02b85691e11b… · /containers/adp/1/references/0
{"url":"https://www.vicarius.io/vsociety/posts/cve-2026-25063-mitigation-script-command-injection-vulnerability-in-bash-completion-component"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1d7d8f720bb26dac2eb194ddb5db95d36b43cdb45d6a3b4ab01bd5225b150377 · sha256:e76d02b85691e11b… · /containers/adp/1/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.