# CVE-2023-40582: Command Injection Vulnerability in find-exec

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.80%, higher than 79% of CVEs (2026-12-01)
- Published: 2023-08-30T17:39:20.849Z
- Modified: 2026-06-17T06:18:34.207Z
- Also known as: GHSA-95rp-6gqp-6622
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

find-exec is a utility to discover available shell commands. Versions prior to 1.0.3 did not properly escape user input and are vulnerable to Command Injection via an attacker controlled parameter. As a result, attackers may run malicious shell commands in the context of the running process. This issue has been addressed in version 1.0.3. users are advised to upgrade. Users unable to upgrade should ensure that all input passed to find-exec comes from a trusted source.

(As written by CVE List.)

## Affected

- shime find-exec: < 1.0.3
- find-exec (npm): before 1.0.3
- find-exec_project find-exec: before 1.0.3

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/shime/find-exec/security/advisories/GHSA-95rp-6gqp-6622> (vendor-advisory, web)
- <https://github.com/shime/find-exec/commit/74fb108097c229b03d6dba4cce81e36aa364b51c> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-40582> (advisory)
- <https://github.com/shime/find-exec> (package)

## Sources

- CVE List: [CVE-2023-40582](https://www.cve.org/CVERecord?id=CVE-2023-40582), CVE Terms of Use, modified 2024-10-01
- GitHub Advisory Database: [GHSA-95rp-6gqp-6622](https://github.com/advisories/GHSA-95rp-6gqp-6622), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-40582](https://nvd.nist.gov/vuln/detail/CVE-2023-40582), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-40582 · Whole record: https://cve.day/CVE-2023-40582.json · Rebuilt by cve.day 2026-11-25T22:58:27.452Z
