# CVE-2022-25962: Command injection in vagrant.js

- 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): 1.15%, higher than 67% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-25T05:00:04.278Z
- Modified: 2026-06-17T04:34:31.870Z
- Also known as: GHSA-54jw-jqr9-6cj9
- Weaknesses: CWE-77, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: snyk

## Description

All versions of the package vagrant.js are vulnerable to Command Injection via the boxAdd function due to improper input sanitization.

(As written by CVE List.)

## Affected

- vagrant.js: before *
- vagrant.js (npm): up to 0.0.4
- vagrant.js_project vagrant.js: no versions given

## 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-VAGRANTJS-3175614> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25962> (advisory)
- <https://github.com/cakecatz/vagrant.js> (package)

## Sources

- CVE List: [CVE-2022-25962](https://www.cve.org/CVERecord?id=CVE-2022-25962), CVE Terms of Use, modified 2025-04-01
- GitHub Advisory Database: [GHSA-54jw-jqr9-6cj9](https://github.com/advisories/GHSA-54jw-jqr9-6cj9), CC-BY-4.0, modified 2025-04-01
- NVD: [CVE-2022-25962](https://nvd.nist.gov/vuln/detail/CVE-2022-25962), Public domain, modified 2026-06-17

---

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