{"id":"CVE-2018-16475","aliases":["EUVD-2018-0726","GHSA-3hvm-hgpw-rx4j"],"status":"published","title":"Path Traversal in knightjs","description":"A Path Traversal in Knightjs versions \u003c= 0.0.1 allows an attacker to read content of arbitrary files on a 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-08","score":0.01764,"percentile":0.78195,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2018-11-06T19:00:00Z","modified":"2026-06-17T01:44:21Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"knightjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.1"}]}]},{"source":"osv","ecosystem":"npm","package":"knightjs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.1"}]}]}],"products":[{"vendor":"knight_project","product":"knight"},{"vendor":"npm","product":"knightjs"}],"references":[{"url":"https://hackerone.com/reports/403707","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16475","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3hvm-hgpw-rx4j","tags":["advisory"]},{"url":"https://github.com/nodejs/security-wg/blob/master/vuln/npm/484.json","tags":["web"]},{"url":"https://www.npmjs.com/advisories/743","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-16475","description":"A Path Traversal in Knightjs versions \u003c= 0.0.1 allows an attacker to read content of arbitrary files on a remote server.","status":"published","published":"2018-11-06T19:00:00Z","modified":"2024-08-05T10:24:32.48Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:11.426178Z"}],"euvd":[{"id":"EUVD-2018-0726","description":"A Path Traversal in Knightjs versions \u003c= 0.0.1 allows an attacker to read content of arbitrary files on a remote server.","status":"published","published":"2018-11-06T19:00:00Z","modified":"2024-08-05T10:24:32Z","updated_at":"2026-11-03T02:39:41.750379Z"}],"ghsa":[{"id":"GHSA-3hvm-hgpw-rx4j","title":"Path Traversal in knightjs","description":"All versions of `knightjs` are vulnerable to Path Traversal. \n\nThis vulnerability allows an attacker to read content of arbitrary files on the server due to lack of input validation.\n\n\n## Recommendation\n\nAs there is currently no fix for this module we recommend not using this module in production environments. ","status":"published","published":"2018-11-06T23:11:10Z","modified":"2023-09-12T20:40:51Z","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:37:04.447845Z"}],"nvd":[{"id":"CVE-2018-16475","description":"A Path Traversal in Knightjs versions \u003c= 0.0.1 allows an attacker to read content of arbitrary files on a remote server.","status":"published","published":"2018-11-06T19:29:00.387Z","modified":"2026-06-17T01:44:21.523Z","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:04:47.196456Z"}],"osv":[{"id":"GHSA-3hvm-hgpw-rx4j","title":"Path Traversal in knightjs","description":"All versions of `knightjs` are vulnerable to Path Traversal. \n\nThis vulnerability allows an attacker to read content of arbitrary files on the server due to lack of input validation.\n\n\n## Recommendation\n\nAs there is currently no fix for this module we recommend not using this module in production environments. ","status":"published","published":"2018-11-06T23:11:10Z","modified":"2023-11-08T04:00:00.069813Z","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:35.747385Z"}]}}
