{"id":"CVE-2018-16462","aliases":["EUVD-2018-0740","GHSA-9jm3-5835-537m"],"status":"published","title":"Command Injection in apex-publish-static-files","description":"A command injection vulnerability in the apex-publish-static-files npm module version \u003c2.0.1 which allows arbitrary shell command execution through a maliciously crafted argument.","severity":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.06991,"percentile":0.9419,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77","CWE-78"],"published":"2018-10-30T21:00:00Z","modified":"2026-10-24T10:31:01Z","fixes":[{"ecosystem":"npm","package":"apex-publish-static-files","fixed_in":["2.0.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"apex-publish-static-files","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1"}]}]},{"source":"osv","ecosystem":"npm","package":"apex-publish-static-files","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.1"}]}]}],"products":[{"vendor":"apex-publish-static-files_project","product":"apex-publish-static-files"}],"references":[{"url":"https://hackerone.com/reports/405694","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16462","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9jm3-5835-537m","tags":["advisory"]},{"url":"https://github.com/nodejs/security-wg/blob/master/vuln/npm/475.json","tags":["web"]},{"url":"https://www.npmjs.com/advisories/718","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-16462","description":"A command injection vulnerability in the apex-publish-static-files npm module version \u003c2.0.1 which allows arbitrary shell command execution through a maliciously crafted argument.","status":"published","published":"2018-10-30T21:00:00Z","modified":"2024-08-05T10:24:32.408Z","cwes":["CWE-77"],"updated_at":"2026-11-02T14:35:11.426178Z"}],"euvd":[{"id":"EUVD-2018-0740","description":"A command injection vulnerability in the apex-publish-static-files npm module version \u003c2.0.1 which allows arbitrary shell command execution through a maliciously crafted argument.","status":"published","published":"2018-10-30T21:00:00Z","modified":"2024-08-05T10:24:32Z","updated_at":"2026-11-03T02:39:41.750379Z"}],"ghsa":[{"id":"GHSA-9jm3-5835-537m","title":"Command Injection in apex-publish-static-files","description":"Versions of `apex-publish-static-files` before 2.0.1 are vulnerable to command injection. This is exploitable if user input is passed into the `connectString` option in the `publish` method.\n\n\n## Recommendation\n\nUpdate to version 2.0.1 or later.","status":"published","published":"2018-11-01T14:48:50Z","modified":"2023-09-13T19:36:05Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:37:05.004935Z"}],"nvd":[{"id":"CVE-2018-16462","description":"A command injection vulnerability in the apex-publish-static-files npm module version \u003c2.0.1 which allows arbitrary shell command execution through a maliciously crafted argument.","status":"published","published":"2018-10-30T21:29:00.45Z","modified":"2026-06-17T01:44:20.033Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-77","CWE-78"],"updated_at":"2026-11-02T14:04:47.196456Z"}],"osv":[{"id":"CVE-2018-16462","description":"A command injection vulnerability in the apex-publish-static-files npm module version \u003c2.0.1 which allows arbitrary shell command execution through a maliciously crafted argument.","status":"published","published":"2018-10-30T21:29:00.45Z","modified":"2026-10-24T10:31:01.681021865Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:08.533609Z"},{"id":"GHSA-9jm3-5835-537m","title":"Command Injection in apex-publish-static-files","description":"Versions of `apex-publish-static-files` before 2.0.1 are vulnerable to command injection. This is exploitable if user input is passed into the `connectString` option in the `publish` method.\n\n\n## Recommendation\n\nUpdate to version 2.0.1 or later.","status":"published","published":"2018-11-01T14:48:50Z","modified":"2023-11-08T03:59:59.577081Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:43.875515Z"}]}}
