{"id":"CVE-2019-5415","aliases":["CVE-2019-5415","GHSA-v588-qcp3-jv46"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in serve","summary":"A bug in handling the ignore files and directories feature in serve 6.5.3 allows an attacker to read a file or list the directory that the victim has not allowed access to.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A bug in handling the ignore files and directories feature in serve 6.5.3 allows an attacker to read a file or list the directory that the victim has not allowed access to.","source":"cvelist"},{"lang":"en","text":"Versions of `serve` prior to 7.0.1 are vulnerable to Path Traversal. Explicitly ignored folders can be accessed through if the path contains a `/./`, which allows attackers to access hidden folders and files.\n\n\n## Recommendation\n\nUpgrade to version 7.0.1 or later.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Un error en el manejo de los archivos ignore y en la funcionalidad de directorios en serve 6.5.3 permite que un atacante lea un archivo o liste el directorio al que la víctima no ha permitido el acceso.","source":"nvd"}],"published":"2019-03-17T19:28:37.000Z","modified":"2026-06-17T02:37:38.803Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-269","CWE-548"],"affected":[{"ranges":[{"version":"7.0.0","status":"affected"}],"product":"serve","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"7.0.0"}],"ecosystem":"npm","package":"serve","purl":"pkg:npm/serve","source":"ghsa"},{"ranges":[{"status":"affected","version":"6.5.3"}],"vendor":"zeit","product":"serve","cpe":"cpe:2.3:a:zeit:serve:6.5.3:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://hackerone.com/reports/330724","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5415","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-v588-qcp3-jv46","tags":["advisory"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1010","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"hackerone","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-5415","url":"https://www.cve.org/CVERecord?id=CVE-2019-5415","licence":"CVE Terms of Use","modified":"2024-08-04T19:54:53.375Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v588-qcp3-jv46","url":"https://github.com/advisories/GHSA-v588-qcp3-jv46","licence":"CC-BY-4.0","modified":"2025-07-15T19:34:30.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-5415","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5415","licence":"Public domain","modified":"2026-06-17T02:37:38.803Z"}],"updatedAt":"2026-11-25T22:57:44.074Z","epss":{"score":0.01643,"percentile":0.77138,"date":"2026-12-01T12:00:22.000Z"}}