{"api_version":"1","generated_at":"2026-07-23T12:58:27+00:00","cve":"CVE-2023-26152","urls":{"html":"https://cve.report/CVE-2023-26152","api":"https://cve.report/api/cve/CVE-2023-26152.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-26152","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-26152"},"summary":{"title":"CVE-2023-26152","description":"All versions of the package static-server are vulnerable to Directory Traversal due to improper input sanitization passed via the validPath function of server.js.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2023-10-03 05:15:00","updated_at":"2023-11-07 04:09:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223","name":"https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223","refsource":"MISC","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":""},{"url":"https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341","name":"https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341","refsource":"MISC","tags":[],"title":"Directory Traversal in static-server | CVE-2023-26152 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d","name":"https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d","refsource":"MISC","tags":[],"title":"Path traversal vulnerability in static-server@2.2.1 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/nbluis/static-server/blob/master/server.js#L218-L223","name":"MISC:https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223","refsource":"MITRE","tags":[],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-26152","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26152","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"26152","vulnerable":"1","versionEndIncluding":"3.0.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nbluis","cpe5":"static-server","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-26152","qid":"995506","title":"NodeJs (Npm) Security Update for static-server (GHSA-v834-rhv4-65m3)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-26152","ASSIGNER":"report@snyk.io","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"All versions of the package static-server are vulnerable to Directory Traversal due to improper input sanitization passed via the validPath function of server.js."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Directory Traversal","cweId":"CWE-22"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"static-server","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"*"}]}}]}}]}},"references":{"reference_data":[{"url":"https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341","refsource":"MISC","name":"https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341"},{"url":"https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d","refsource":"MISC","name":"https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d"},{"url":"https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223","refsource":"MISC","name":"https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223"}]},"credits":[{"lang":"en","value":"Liran Tal - Snyk Research Team"}],"impact":{"cvss":[{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P"}]}},"nvd":{"publishedDate":"2023-10-03 05:15:00","lastModifiedDate":"2023-11-07 04:09:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:nbluis:static-server:*:*:*:*:*:node.js:*:*","versionEndIncluding":"3.0.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}