CVE-2023-40582
CRITICAL 9.8CVSS 3.1Command Injection Vulnerability in find-exec
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.
- Published
- 30 Aug 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-95rp-6gqp-6622
- Sources
- NVDJSONOSV GHSA-95rp-6gqp-6622JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | find-exec_project | find-execcpe:2.3:a:find-exec_project:find-exec:*:*:*:*:*:node.js:*:* |
< 1.0.3 | 1.0.3 |
| OSV | npm | find-exec | < 1.0.3 | 1.0.3 |
References
- https://github.com/shime/find-exec/commit/74fb108097c229b03d6dba4cce81e36aa364b51c · Patch, WEB
- https://github.com/shime/find-exec/security/advisories/GHSA-95rp-6gqp-6622 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-40582 · ADVISORY
- https://github.com/shime/find-exec · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 30 Aug 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Aug 2023)