{"id":"CVE-2026-26318","published":"2026-02-19T19:48:55Z","modified":"2026-07-15T01:15:02Z","title":"systeminformation has Command Injection via Unsanitized `locate` Output in `versions()`","vendor":"sebhildebrandt","product":"systeminformation","tier":"tail","description":{"text":"systeminformation is a System and OS information library for node.js. Versions prior to 5.31.0 are vulnerable to command injection via unsanitized `locate` output in `versions()`. Version 5.31.0 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0126,"percentile":0.70318,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-5vv4-hvf7-2h46","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sebhildebrandt/systeminformation/commit/b67d3715eec881038ccbaace2f2711419ac3e107","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-26318","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2441124","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26318.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":20.2,"factors":[{"name":"EPSS percentile","points":14.06},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"sebhildebrandt","affectedVersions":[{"vendor":"sebhildebrandt","product":"systeminformation","versions":["< 5.31.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-02-19T20:57:34.116139Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"systeminformation","vulnerableRanges":["<5.31.0"],"patched":["5.31.0"],"from":["GHSA-5vv4-hvf7-2h46"],"provenance":"source"}],"summary":{"text":"The systeminformation library, a System and OS information module for node.js, contains an OS command injection flaw in its versions() function, caused by unsanitized output from the locate command. An attacker with local access and low-privilege authentication, requiring no user interaction, can inject OS commands that run with the affected process's privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:02Z"},"euvd":{"id":"EUVD-2026-8239","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-sebhildebrandt-systeminformation-cve-2020-7752","parents":[{"from":"CVE-2025-68154","to":"CVE-2026-26318","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/filesystem.js"],"commits":["https://github.com/sebhildebrandt/systeminformation/commit/c52f9fd07fef42d2d8e8c66f75b42178da701c68","https://github.com/sebhildebrandt/systeminformation/commit/b67d3715eec881038ccbaace2f2711419ac3e107"],"basis":"shared function","functions":["diskLayout"]}]}],"packageHistory":[{"cve":"CVE-2024-56334","published":"2024-12-20","fixed":"5.23.7","kev":false},{"cve":"CVE-2025-68154","published":"2025-12-16","fixed":"5.27.14","kev":false},{"cve":"CVE-2026-26280","published":"2026-02-19","fixed":"5.30.8","kev":false,"link":{"from":"CVE-2026-26280","to":"CVE-2026-26318","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:systeminformation","fromFixed":"5.30.8","toFixed":"5.31.0","daysApart":0}]}},{"cve":"CVE-2026-26318","published":"2026-02-19","fixed":"5.31.0","kev":false},{"cve":"CVE-2026-44724","published":"2026-05-27","fixed":"5.31.6","kev":false,"link":{"from":"CVE-2026-26318","to":"CVE-2026-44724","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:systeminformation","fromFixed":"5.31.0","toFixed":"5.31.6","daysApart":97}]}},{"cve":"CVE-2026-50289","published":"2026-07-17","fixed":"5.31.7","kev":false},{"cve":"CVE-2026-116674","published":"2026-10-27","fixed":"5.33.13","kev":false}],"package":"npm:systeminformation"}}