{"id":"CVE-2025-67487","aliases":["CVE-2025-67487","GHSA-459f-x8vq-xjjm"],"related":[],"kind":"vulnerability","state":"published","title":"Static Web Server is vulnerable to symbolic link Path Traversal","summary":"Static Web Server (SWS) is a production-ready web server suitable for static web files or assets. Versions 2.40.0 and below contain symbolic links (symlinks) which can be used to access files or directories outside the intended web root folder. SWS generally does not prevent symlinks from escaping the web server’s root directory. Therefore, if a malicious actor gains access to the web server’s root directory, they could create symlinks to access other files outside the designated web root folder either by URL or via the directory listing. This issue is fixed in version 2.40.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Static Web Server (SWS) is a production-ready web server suitable for static web files or assets. Versions 2.40.0 and below contain symbolic links (symlinks) which can be used to access files or directories outside the intended web root folder. SWS generally does not prevent symlinks from escaping the web server’s root directory. Therefore, if a malicious actor gains access to the web server’s root directory, they could create symlinks to access other files outside the designated web root folder either by URL or via the directory listing. This issue is fixed in version 2.40.1.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nSymbolic links (_symlinks_) could be used to access files or directories outside the intended web root folder.\n\n### Details\n\nSWS generally does not prevent symlinks from escaping the web server’s root directory. Therefore, if a malicious actor gains access to the web server’s root directory, they could create symlinks to access other files outside the designated web root folder either by URL or via the directory listing.\n\n### PoC\n\n- Serve a directory (web root) with SWS.\n- Create a symlink inside the web root that points to a file outside the web root.\n  e.g. `ln -s escape.txt $HOME/.bashrc`\n- Open `http://localhost/escape.txt` in your browser.\n- The file content will be served.\n\n### Impact\n\nAny web server that runs with elevated privileges (e.g., root/administrator) and handles user-supplied file uploads is primarily impacted.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Servidor Web Estático (SWS) es un servidor web listo para producción, adecuado para archivos web estáticos o activos. Las versiones 2.40.0 e inferiores contienen enlaces simbólicos (symlinks) que pueden usarse para acceder a archivos o directorios fuera de la carpeta raíz web prevista. SWS generalmente no evita que los symlinks escapen del directorio raíz del servidor web. Por lo tanto, si un actor malicioso obtiene acceso al directorio raíz del servidor web, podría crear symlinks para acceder a otros archivos fuera de la carpeta raíz web designada, ya sea por URL o a través del listado de directorios. Este problema está solucionado en la versión 2.40.1.","source":"nvd"}],"published":"2025-12-08T22:18:00.000Z","modified":"2026-10-14T21:10:00.183Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"}],"cwes":["CWE-59","CWE-61"],"affected":[{"ranges":[{"version":"< 2.40.1","status":"affected"}],"vendor":"static-web-server","product":"static-web-server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.40.1"}],"ecosystem":"crates.io","package":"static-web-server","purl":"pkg:cargo/static-web-server","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.40.0"}],"vendor":"static-web-server","product":"static_web_server","cpe":"cpe:2.3:a:static-web-server:static_web_server:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://github.com/static-web-server/static-web-server/security/advisories/GHSA-459f-x8vq-xjjm","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/static-web-server/static-web-server/commit/308f0d26ceb9c2c8bd219315d0f53914763357f2","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67487","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/static-web-server/static-web-server","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-12-09T14:23:20.676Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-67487","url":"https://www.cve.org/CVERecord?id=CVE-2025-67487","licence":"CVE Terms of Use","modified":"2025-12-09T16:02:20.028Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-459f-x8vq-xjjm","url":"https://github.com/advisories/GHSA-459f-x8vq-xjjm","licence":"CC-BY-4.0","modified":"2025-12-09T19:36:56.381Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-67487","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67487","licence":"Public domain","modified":"2026-10-14T21:10:00.183Z"}],"updatedAt":"2026-11-25T22:59:08.545Z","epss":{"score":0.00444,"percentile":0.40341,"date":"2026-12-02T12:00:21.000Z"}}