{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-6410","id":"CVE-2026-6410","title":"@fastify/static vulnerable to path traversal in directory listing","description":"@fastify/static versions 8.0.0 through 9.1.0 allow path traversal when directory listing is enabled via the list option. The dirList.path() function resolves directories outside the configured static root using path.join() without a containment check. A remote unauthenticated attacker can obtain directory listings for arbitrary directories accessible to the Node.js process, disclosing directory an","descriptionLong":"@fastify/static versions 8.0.0 through 9.1.0 allow path traversal when directory listing is enabled via the list option. The dirList.path() function resolves directories outside the configured static root using path.join() without a containment check. A remote unauthenticated attacker can obtain directory listings for arbitrary directories accessible to the Node.js process, disclosing directory and file names. File contents are not disclosed. Upgrade to @fastify/static 9.1.1 to fix this issue. As a workaround, disable directory listing by removing the list option from the plugin configuration.","published":"2026-04-16T13:29:08.120Z","updated":"2026-10-28T02:30:39.826380160Z","reserved":"2026-04-15T22:59:38.193Z","status":"Analyzed","rejected":false,"assigner":"openjs","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"openjs"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"openjs"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"ce714d77-add3-4f53-aff5-83d477b104bb"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["@fastify/static"],"affectedProducts":[{"vendor":"@fastify/static","product":"@fastify/static","defaultStatus":"unaffected","versions":[{"versionType":"semver","status":"affected","version":"8.0.0","lessThan":"9.1.1"},{"versionType":"semver","status":"unaffected","version":"9.1.1"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@fastify/static","purl":"pkg:npm/%40fastify/static","ranges":[">=8.0.0 <9.1.1"],"fixed":["9.1.1"],"advisory":"GHSA-pr96-94w5-mx2h"}],"cwes":["CWE-22"],"aliases":["GHSA-pr96-94w5-mx2h"],"references":[{"url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-pr96-94w5-mx2h","tags":["Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["Third Party Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6410.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6410","tags":["advisory"]},{"url":"https://github.com/fastify/fastify-static","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00525,"epssPercentile":0.45298,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-6410","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6410","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-6410","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pr96-94w5-mx2h","ok":true,"note":"GHSA-pr96-94w5-mx2h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-6410","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}