{"id":"CVE-2022-24753","aliases":["CVE-2022-24753","GHSA-4cx6-fj7j-pjx9","GO-2022-0350"],"related":[],"kind":"vulnerability","state":"published","title":"Code injection in Stripe CLI on windows","summary":"Stripe CLI is a command-line tool for the Stripe eCommerce platform. A vulnerability in Stripe CLI exists on Windows when certain commands are run in a directory where an attacker has planted files. The commands are `stripe login`, `stripe config -e`, `stripe community`, and `stripe open`. MacOS and Linux are unaffected. An attacker who successfully exploits the vulnerability can run arbitrary code in the context of the current user. The update addresses the vulnerability by throwing an error in these situations before the code can run.Users are advised to upgrade to version 1.7.13. There are no known workarounds for this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Stripe CLI is a command-line tool for the Stripe eCommerce platform. A vulnerability in Stripe CLI exists on Windows when certain commands are run in a directory where an attacker has planted files. The commands are `stripe login`, `stripe config -e`, `stripe community`, and `stripe open`. MacOS and Linux are unaffected. An attacker who successfully exploits the vulnerability can run arbitrary code in the context of the current user. The update addresses the vulnerability by throwing an error in these situations before the code can run.Users are advised to upgrade to version 1.7.13. There are no known workarounds for this issue.","source":"cvelist"},{"lang":"en","text":"### Impact\nA vulnerability in Stripe CLI exists on Windows when certain commands are run in a directory where an attacker has planted files. The commands are `stripe login`, `stripe config -e`, `stripe community`, and `stripe open`. MacOS and Linux are unaffected.\n\nAn attacker who successfully exploits the vulnerability can run arbitrary code in the context of the current user. The update addresses the vulnerability by throwing an error in these situations before the code can run.\n\nThere has been no evidence of exploitation of this vulnerability.\n\n### Recommendation\nUpgrade to Stripe CLI v1.7.13.\n\n### Acknowledgments\nThanks to [trungpabc](https://hackerone.com/trungpabc) for reporting the issue.\n\n### For more information\nEmail us at [security@stripe.com](mailto:security@stripe.com).","format":"markdown","source":"ghsa"},{"lang":"en","text":"Code injection in Stripe CLI on windows in github.com/stripe/stripe-cli","format":"markdown","source":"go"},{"lang":"es","text":"Stripe CLI es una herramienta de línea de comandos para la plataforma de comercio electrónico Stripe. Se presenta una vulnerabilidad en Stripe CLI en Windows cuando determinados comandos se ejecutan en un directorio donde un atacante ha plantado archivos. Los comandos son \"stripe login\", \"stripe config -e\", \"stripe community\" y \"stripe open\". MacOS y Linux no están afectados. Un atacante que explote con éxito la vulnerabilidad puede ejecutar código arbitrario en el contexto del usuario actual. La actualización aborda la vulnerabilidad al lanzar un error en estas situaciones antes de que el código pueda ejecutarse. Es recomendado a usuarios actualizar a versión 1.7.13. No se presentan medidas de mitigación conocidas para este problema","source":"nvd"}],"published":"2022-03-09T22:35:09.000Z","modified":"2026-06-17T04:32:26.533Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":7.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"< 1.7.13","status":"affected"}],"vendor":"stripe","product":"stripe-cli","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.13"}],"ecosystem":"Go","package":"github.com/stripe/stripe-cli","purl":"pkg:golang/github.com/stripe/stripe-cli","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.13"}],"ecosystem":"Go","package":"github.com/stripe/stripe-cli","purl":"pkg:golang/github.com/stripe/stripe-cli","source":"go"},{"ranges":[{"status":"affected","fixed":"1.7.13"}],"vendor":"stripe","product":"stripe_cli","cpe":"cpe:2.3:a:stripe:stripe_cli:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/stripe/stripe-cli/security/advisories/GHSA-4cx6-fj7j-pjx9","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/stripe/stripe-cli/commit/be38da5c0191adb77f661f769ffff2fbc7ddf6cd","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24753","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/stripe/stripe-cli","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-23T15:55:19.193Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24753","url":"https://www.cve.org/CVERecord?id=CVE-2022-24753","licence":"CVE Terms of Use","modified":"2025-04-23T18:55:56.607Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4cx6-fj7j-pjx9","url":"https://github.com/advisories/GHSA-4cx6-fj7j-pjx9","licence":"CC-BY-4.0","modified":"2024-08-21T14:56:37.320Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0350","url":"https://pkg.go.dev/vuln/GO-2022-0350","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:06.576Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24753","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24753","licence":"Public domain","modified":"2026-06-17T04:32:26.533Z"}],"updatedAt":"2026-11-25T22:58:09.979Z","epss":{"score":0.00365,"percentile":0.32341,"date":"2026-12-01T12:00:22.000Z"}}