{"id":"CVE-2018-3714","aliases":["EUVD-2018-0226","GHSA-52r9-g5g6-2hjp"],"status":"published","title":"Path Traversal in node-srv","description":"node-srv node module suffers from a Path Traversal vulnerability due to lack of validation of url, which allows a malicious user to read content of any file with known path.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.08574,"percentile":0.95107,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2018-06-07T02:00:00Z","modified":"2026-06-17T01:57:42Z","exploits":[{"source":"nuclei","id":"CVE-2018-3714","title":"node-srv - Local File Inclusion","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-3714.yaml"}],"fixes":[{"ecosystem":"npm","package":"node-srv","fixed_in":["2.1.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"node-srv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1"}]}]},{"source":"osv","ecosystem":"npm","package":"node-srv","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.1"}]}]}],"products":[{"vendor":"hackerone","product":"node-srv node module"},{"vendor":"node-srv_project","product":"node-srv"}],"references":[{"url":"https://hackerone.com/reports/309124","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3714","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-52r9-g5g6-2hjp","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/588","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-3714","description":"node-srv node module suffers from a Path Traversal vulnerability due to lack of validation of url, which allows a malicious user to read content of any file with known path.","status":"published","published":"2018-06-07T02:00:00Z","modified":"2024-09-17T00:51:50.998Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:05.619113Z"}],"euvd":[{"id":"EUVD-2018-0226","description":"node-srv node module suffers from a Path Traversal vulnerability due to lack of validation of url, which allows a malicious user to read content of any file with known path.","status":"published","published":"2018-06-07T02:00:00Z","modified":"2024-09-17T00:51:50Z","updated_at":"2026-11-03T00:28:54.932148Z"}],"ghsa":[{"id":"GHSA-52r9-g5g6-2hjp","title":"Path Traversal in node-srv","description":"Versions of `node-srv` before 2.1.1 are vulnerable to path traversal allowing a remote attacker to read files from the server that uses `node-srv`.\n\n\n## Recommendation\n\nUpdate to version 2.1.1 or later.","status":"published","published":"2018-07-26T14:50:41Z","modified":"2023-03-01T01:19:49Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:46.526285Z"}],"nvd":[{"id":"CVE-2018-3714","description":"node-srv node module suffers from a Path Traversal vulnerability due to lack of validation of url, which allows a malicious user to read content of any file with known path.","status":"published","published":"2018-06-07T02:29:07.973Z","modified":"2026-06-17T01:57:42.65Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:04:28.483469Z"}],"osv":[{"id":"GHSA-52r9-g5g6-2hjp","title":"Path Traversal in node-srv","description":"Versions of `node-srv` before 2.1.1 are vulnerable to path traversal allowing a remote attacker to read files from the server that uses `node-srv`.\n\n\n## Recommendation\n\nUpdate to version 2.1.1 or later.","status":"published","published":"2018-07-26T14:50:41Z","modified":"2023-11-08T04:00:16.752032Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:37.864461Z"}]}}
