CVE-2024-41815: Starship is a cross-shell prompt
CVE-2024-41815 is a high-severity flaw (CVSS 7.4) affecting starship. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-41815?
starship: upgrade to 1.20.0. Exact commands for each OS are on this page.
Is CVE-2024-41815 being exploited?
CVE-2024-41815 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-41815 affect?
CVE-2024-41815 affects starship. Severity is high (CVSS 7.4). 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 wit
How urgent is CVE-2024-41815?
Priority 41/100. High severity; Public exploit reference