Live threats

All CVEs / Starship

CVE-2024-41815Starship

High 7.0

Priority
42
CVSS 3.1
7.0
EPSS
0.6%
probability of exploitation in 30 days · percentile 42
Auth required
Yes
Published
Jul 26, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77, CWE-78
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Starship.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io starship ≥ 1.0.0 < 1.20.0 1.20.0 cargo update -p starship --precise 1.20.0
crates.io starship ≥ 1.0.1-0 < 1.20.0 1.20.0 cargo update -p starship --precise 1.20.0

Per OSV / GitHub Advisories (GHSA-vx24-x4mv-vwr5, RUSTSEC-2024-0446). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
starshipstarship≥ 1.0.0 < 1.20.0

Official sources

References

Links published by the sources. Open them with care.