{"id":"CVE-2023-26111","aliases":["EUVD-2023-0884","GHSA-5g97-whc9-8g7j"],"status":"published","title":"node-static and @nubosoftware/node-static vulnerable to Directory Traversal","description":"All versions of the package @nubosoftware/node-static; all versions of the package node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01445,"percentile":0.73626,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2023-03-06T05:00:03Z","modified":"2026-06-17T05:42:42Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"node-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.7.11"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@nubosoftware/node-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.7.11"}]}]},{"source":"osv","ecosystem":"npm","package":"node-static","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.7.11"}]}]},{"source":"osv","ecosystem":"npm","package":"@nubosoftware/node-static","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.7.11"}]}]}],"products":[{"vendor":"\\@nubosoftware\\/node-static_project","product":"\\@nubosoftware\\/node-static"},{"vendor":"node-static_project","product":"node-static"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163","tags":["x_transferred","Broken Link"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26111","tags":["advisory"]},{"url":"https://github.com/cloudhead/node-static/blob/master/lib/node-static.js#23L160-L163","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5g97-whc9-8g7j"},{"url":"https://github.com/cloudhead/node-static","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-26111","description":"All versions of the package @nubosoftware/node-static; all versions of the package node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.\r\r","status":"published","published":"2023-03-06T05:00:03.346Z","modified":"2025-03-05T20:30:05.472Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-22","CWE-22"],"updated_at":"2026-11-02T14:35:15.434947Z"}],"euvd":[{"id":"EUVD-2023-0884","description":"All versions of the package @nubosoftware/node-static; all versions of the package node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.\r\r","status":"published","published":"2023-03-06T05:00:03Z","modified":"2025-03-05T20:30:05Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","level":"high"}],"updated_at":"2026-11-02T20:53:11.987115Z"}],"ghsa":[{"id":"GHSA-5g97-whc9-8g7j","title":"node-static and @nubosoftware/node-static vulnerable to Directory Traversal","description":"node-static and its fork, @nubosoftware/node-static, are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.","status":"published","published":"2023-03-06T06:30:18Z","modified":"2025-09-26T21:58:16Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/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:38:59.83883Z"}],"nvd":[{"id":"CVE-2023-26111","description":"All versions of the package @nubosoftware/node-static; all versions of the package node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.\r\r","status":"published","published":"2023-03-06T05:15:12.92Z","modified":"2026-06-17T05:42:42.057Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:48.342507Z"}],"osv":[{"id":"GHSA-5g97-whc9-8g7j","title":"node-static and @nubosoftware/node-static vulnerable to Directory Traversal","description":"node-static and its fork, @nubosoftware/node-static, are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.","status":"published","published":"2023-03-06T06:30:18Z","modified":"2025-09-26T21:58:15Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/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:38.213481Z"}]}}
