{"id":"CVE-2024-41815","revision":"b7d9a593510f4d0bb011000143a22cce","records":[{"revision":"b7d9a593510f4d0bb011000143a22cce","observedAt":"2026-10-25T00:17:22.831+00:00","statement":{"source":"nvd","id":"CVE-2024-41815","aliases":[],"title":"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…","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.","state":0,"publishedAt":"2024-07-26T21:15:14.37+00:00","modifiedAt":"2026-06-17T07:48:17.04+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":7.4,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"severity":"HIGH"}],"references":["https://github.com/starship/starship/commit/cfc58161e0ec595db90af686ad77a73df6d44d74","https://github.com/starship/starship/releases/tag/v1.20.0","https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-41815","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-77","CWE-78"],"productCriteria":["cpe:2.3:a:starship:starship:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2024-07-26T21:15:14.370","lastModified":"2026-06-17T07:48:17.040"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-41815","identifiers":["CVE-2024-41815"]},"retained":false,"historicalAffected":[]}],"coverage":[]}