{"id":"CVE-2018-3731","aliases":["GHSA-rwv8-jvff-jq28"],"kind":"cve","tier":"cold","status":"published","title":"Path Traversal in public","description":"public node module suffers from a Path Traversal vulnerability due to lack of validation of filePath, which allows a malicious user to read content of any file with known path.","ai_summary":null,"severity":"high","cvss":{"score":7.5,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"NVD"},"scores":[{"score":7.5,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd"},{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"nvd"}],"cwe":["CWE-22"],"remote":true,"remote_unauth":true,"epss":{"score":0.01993,"percentile":0.81375,"date":"2026-12-04"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[]},"affected":[{"ecosystem":"npm","name":"public","affected":"< 0.1.3","fixed":["0.1.3"],"source":"osv"}],"affected_products":[{"vendor":"HackerOne","product":"public node module","versions":"All versions","source":"cvelist"}],"ai_versions":null,"mitigation":"Upgrade public to 0.1.3 or later.","technologies":[],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3731","kind":"vendor"},{"url":"https://github.com/advisories/GHSA-rwv8-jvff-jq28","kind":"vendor"},{"url":"https://github.com/tnantoka/public/commit/eae8ad8017b260f8667ded5e12801bd72b877af2","kind":"patch"},{"url":"https://hackerone.com/reports/312918","kind":"exploit"},{"url":"https://www.npmjs.com/advisories/571","kind":"other"}],"workarounds":null,"vendors":["hackerone","public.js_project"],"products":["public node module","public.js"],"cpes":["cpe:2.3:a:public.js_project:public.js:0.1.2:*:*:*:*:node.js:*:*"],"published_at":"2018-06-07T02:00:00.000Z","modified_at":"2026-06-17T01:57:44.373Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3731"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-rwv8-jvff-jq28","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2018-3731","markdown":"https://flawdb.com/CVE-2018-3731.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-3731"}}