CVE-2024-45401
stripe-cli Path Traversal vulnerability
Also known as GHSA-fv4g-gwpj-74gr, GO-2024-3119
Mitigation
- Upgrade github.com/stripe/stripe-cli to 1.21.3 or later.
Who should check
- Projects that depend on Go package github.com/stripe/stripe-cli (>= 1.11.1, < 1.21.3)
- Anyone running stripe-cli >= 1.11.1, < 1.21.3
Vulnerability facts
- Affected
- github.com/stripe/stripe-cli >= 1.11.1, < 1.21.3
- Fixed in
- 1.21.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.6 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-22
- Modified
Description
stripe-cli is a command-line tool for the payment processor Stripe. A vulnerability exists in stripe-cli starting in version 1.11.1 and prior to version 1.21.3 where a plugin package containing a manifest with a malformed plugin shortname installed using the --archive-url or --archive-path flags can overwrite arbitrary files. The update in version 1.21.3 addresses the path traversal vulnerability by removing the ability to install plugins from an archive URL or path. There has been no evidence of exploitation of this vulnerability.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/stripe/stripe-cli | >= 1.11.1, < 1.21.3 | 1.21.3 | osv |
| stripe-cli | >= 1.11.1, < 1.21.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-45401. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-45401.md Affected: github.com/stripe/stripe-cli >= 1.11.1, < 1.21.3 Fixed in: 1.21.3 Steps: 1. Search this machine and project for github.com/stripe/stripe-cli (Go), stripe-cli: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2024-45401 being exploited?
There is no confirmed exploitation: CVE-2024-45401 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-45401?
High: CVSS 7.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-45401?
github.com/stripe/stripe-cli >= 1.11.1, < 1.21.3.
Is there a fix for CVE-2024-45401?
Yes. Fixed in 1.21.3. Upgrade github.com/stripe/stripe-cli to 1.21.3 or later.
How do I check if I'm affected by CVE-2024-45401?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.