{"id":"CVE-2019-5417","aliases":["EUVD-2019-0395","GHSA-xg75-3277-gvvj"],"status":"published","title":"Directory Traversal in serve","description":"A path traversal vulnerability in serve npm package version 7.0.1 allows the attackers to read content of arbitrary files on the remote server.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02271,"percentile":0.83192,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2019-03-17T19:24:24Z","modified":"2026-06-17T02:37:39Z","fixes":[{"ecosystem":"npm","package":"serve","fixed_in":["7.1.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"serve","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.3"}]}]},{"source":"osv","ecosystem":"npm","package":"serve","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.1.3"}]}]}],"products":[{"vendor":"pytorch","product":"serve"},{"vendor":"zeit","product":"serve"}],"references":[{"url":"https://hackerone.com/reports/358645","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5417","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-xg75-3277-gvvj","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/795","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2019-5417","description":"A path traversal vulnerability in serve npm package version 7.0.1 allows the attackers to read content of arbitrary files on the remote server.","status":"published","published":"2019-03-17T19:24:24Z","modified":"2024-08-04T19:54:53.458Z","updated_at":"2026-11-02T14:20:18.411291Z"}],"euvd":[{"id":"EUVD-2019-0395","description":"A path traversal vulnerability in serve npm package version 7.0.1 allows the attackers to read content of arbitrary files on the remote server.","status":"published","published":"2019-03-17T19:24:24Z","modified":"2024-08-04T19:54:53Z","updated_at":"2026-11-03T03:06:52.999682Z"}],"ghsa":[{"id":"GHSA-xg75-3277-gvvj","title":"Directory Traversal in serve","description":"Versions of `serve` before 7.1.3 are vulnerable to Directory Traversal. File paths are not sanitized leading to unauthorized access of system files.\n\n\n## Recommendation\n\nUpgrade to version 7.1.3 or later","status":"published","published":"2019-03-25T18:04:01Z","modified":"2023-01-09T05:03:24Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:05.071174Z"}],"nvd":[{"id":"CVE-2019-5417","description":"A path traversal vulnerability in serve npm package version 7.0.1 allows the attackers to read content of arbitrary files on the remote server.","status":"published","published":"2019-03-21T16:01:05.593Z","modified":"2026-06-17T02:37:39Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:05:07.268578Z"}],"osv":[{"id":"GHSA-xg75-3277-gvvj","title":"Directory Traversal in serve","description":"Versions of `serve` before 7.1.3 are vulnerable to Directory Traversal. File paths are not sanitized leading to unauthorized access of system files.\n\n\n## Recommendation\n\nUpgrade to version 7.1.3 or later","status":"published","published":"2019-03-25T18:04:01Z","modified":"2023-11-08T04:01:35.621609Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:59.835583Z"}]}}
