High severity7.4NVD Advisory· Published Jul 26, 2024· Updated Jun 17, 2026
CVE-2024-41815
CVE-2024-41815
Description
Starship is a cross-shell prompt. Starting in version 1.0.0 and prior to version 1.20.0, undocumented and unpredictable shell expansion and/or quoting rules make it easily to accidentally cause shell injection when using custom commands with starship in bash. This issue only affects users with custom commands, so the scope is limited, and without knowledge of others' commands, it could be hard to successfully target someone. Version 1.20.0 fixes the vulnerability.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
starshipcrates.io | >= 1.0.0, < 1.20.0 | 1.20.0 |
Affected products
3Patches
Vulnerability mechanics
References
6- github.com/starship/starship/commit/cfc58161e0ec595db90af686ad77a73df6d44d74nvdPatchWEB
- github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5nvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-vx24-x4mv-vwr5ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-41815ghsaADVISORY
- github.com/starship/starship/releases/tag/v1.20.0nvdRelease NotesWEB
- rustsec.org/advisories/RUSTSEC-2024-0446.htmlghsaWEB
News mentions
0No linked articles in our index yet.