# CVE-2022-25923: exec-local-bin vulnerable to Command Injection

- Severity: High 7.4 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- 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): 2.61%, higher than 85% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-06T05:00:01.298Z
- Modified: 2026-06-17T04:34:30.000Z
- Also known as: GHSA-f259-h6m8-hm8m
- Weaknesses: CWE-77, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: snyk

## Description

Versions of the package exec-local-bin before 1.2.0 are vulnerable to Command Injection via the theProcess() functionality due to improper user-input sanitization.

(As written by CVE List.)

## Affected

- exec-local-bin: before 1.2.0
- exec-local-bin (npm): before 1.2.0
- exec-local-bin_project exec-local-bin: before 1.2.0

## Every score

- snyk: CVSS:3.1 7.4 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- 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://security.snyk.io/vuln/SNYK-JS-EXECLOCALBIN-3157956> (exploit, third-party-advisory, web)
- <https://github.com/saeedseyfi/exec-local-bin/blob/92db00bde9d6e2d83410849f898df12f075b73b0/index.js%23L9> (broken-link, web)
- <https://github.com/saeedseyfi/exec-local-bin/commit/d425866375c85038133a6f79db2aac66c0a72624> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25923> (advisory)
- <https://github.com/saeedseyfi/exec-local-bin> (package)

## Sources

- CVE List: [CVE-2022-25923](https://www.cve.org/CVERecord?id=CVE-2022-25923), CVE Terms of Use, modified 2025-04-10
- GitHub Advisory Database: [GHSA-f259-h6m8-hm8m](https://github.com/advisories/GHSA-f259-h6m8-hm8m), CC-BY-4.0, modified 2025-04-10
- NVD: [CVE-2022-25923](https://nvd.nist.gov/vuln/detail/CVE-2022-25923), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25923 · Whole record: https://cve.day/CVE-2022-25923.json · Rebuilt by cve.day 2026-11-25T22:58:18.063Z
