Read the docs
TI-2024-27858 Aliases CVE-2024-41815GHSA-vx24-x4mv-vwr5

Starship vulnerable to shell injection via undocumented, unpredictable shell expansion in custom commands

Priority HIGH 68CWE-77Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00463 40th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed starship (starship): 1.20.0starship (crates.io): 1.20.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
starshipstarship1.0.0 to before 1.20.01.20.0Patch availableCNA
—starship (crates.io)1.0.0 to before 1.20.01.20.0Patch availableGHSA-vx24-x4mv-vwr5
  • starship Vendorstarship Affected 1.0.0 to before 1.20.0 Fixed in 1.20.0 Patch available CNA
  • starship (crates.io) Vendor— Affected 1.0.0 to before 1.20.0 Fixed in 1.20.0 Patch available GHSA-vx24-x4mv-vwr5

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:starship:starship:*:*:*:*:*:*:*:*1.0.0 to before 1.20.0Vulnerablestarship
  • cpe:2.3:a:starship:starship:*:*:*:*:*:*:*:* Versions 1.0.0 to before 1.20.0 Vulnerable ·starship

Remediation

  • Fix · CNA starship (starship) Fixed in 1.20.0
  • Fix · GHSA-vx24-x4mv-vwr5 starship (crates.io) Fixed in 1.20.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-41815
  2. 2026-10-03 Alias added: GHSA-vx24-x4mv-vwr5

References

Sources