{"id":"CVE-2023-26111","state":"PUBLISHED","title":"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 s","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","publishedAt":"2023-03-06T05:00:03.346Z","updatedAt":"2025-03-05T20:30:05.472Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","source":"snyk"},"assigner":"snyk","products":["n/a @nubosoftware/node-static","n/a node-static"],"affected":[{"vendor":"n/a","product":"@nubosoftware/node-static","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"semver"}]},{"vendor":"n/a","product":"node-static","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"semver"}]}],"references":["https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927","https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928","https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc","https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/26xxx/CVE-2023-26111.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-26111","state":"PUBLISHED","datePublished":"2023-03-06T05:00:03.346Z","dateUpdated":"2025-03-05T20:30:05.472Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2023-02-20T10:28:48.922Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"n/a","product":"@nubosoftware/node-static","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"semver"}]},{"vendor":"n/a","product":"node-static","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"semver"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927"},{"url":"https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928"},{"url":"https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc"},{"url":"https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163"}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"Directory Traversal","lang":"en"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2023-03-06T05:00:03.346Z"},"credits":[{"value":"Liran Tal","lang":"en"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927","tags":["x_transferred"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928","tags":["x_transferred"]},{"url":"https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc","tags":["x_transferred"]},{"url":"https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T11:39:06.577Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-05T20:29:56.254470Z","id":"CVE-2023-26111","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","type":"CWE","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-05T20:30:05.472Z"}}]}}}