# CVE-2022-25350: Command Injection in puppet-facter

- 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.18%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-24T05:00:01.270Z
- Modified: 2026-06-17T04:33:26.413Z
- Also known as: GHSA-g5qr-xgg7-8q2w
- Weaknesses: CWE-77, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: snyk

## Description

All versions of the package puppet-facter are vulnerable to Command Injection via the getFact  function due to improper input sanitization.

(As written by CVE List.)

## Affected

- puppet-facter: before *
- puppet-facter (npm): up to 0.0.2
- helecloud puppet-facter: 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 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://security.snyk.io/vuln/SNYK-JS-PUPPETFACTER-3175616> (exploit, third-party-advisory, web)
- <https://github.com/olindata/node-puppet-facter/blob/f34bcc754325d71bb3b1b534804e53d6170f15f5/index.js%23L10> (broken-link)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25350> (advisory)
- <https://github.com/olindata/node-puppet-facter/blob/f34bcc754325d71bb3b1b534804e53d6170f15f5/index.js#23L10> (web)

## Sources

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

---

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