{"answers":{"affected":"2 open source packages ship an affected version, including static-web-server. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-67487 exists.","fix":"Upgrade static-web-server to 2.40.1 or later.","what":"CVE-2025-67487 is a medium-severity path traversal vulnerability in static-web-server, published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-67487 and fix it if it is affected.\n\nWhat it is: CVE-2025-67487 is a medium-severity path traversal vulnerability in static-web-server, published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-67487 exists.\n\nAffected packages and fixed versions:\n- static-web-server (crates.io): affected all versions; fixed in 2.40.1\n- static-web-server (crates.io): affected all versions; fixed in 2.40.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-67487/ (Markdown: https://insights.sbomify.com/CVE-2025-67487/index.md)","id":"CVE-2025-67487","markdown":"https://insights.sbomify.com/CVE-2025-67487/index.md","name":"CVE-2025-67487","record":{"aliases":["GHSA-459f-x8vq-xjjm"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Static Web Server","requires_auth":"none","summary":"An attacker with write access to the web root can create symlinks to read files outside the intended directory.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"static_web_server","vendor":"static-web-server"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"description":"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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Static Web Server is vulnerable to symbolic link Path Traversal","id":"CVE-2025-67487","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"SiYuan: ZipSlip -\u003e Arbitrary File Overwrite -\u003e RCE","id":"CVE-2025-67488"},"packages":[{"ecosystem":"crates.io","fixed":["2.40.1"],"introduced":["0"],"last_affected":[],"package":"static-web-server","purl":null,"source":"GHSA-459f-x8vq-xjjm"},{"ecosystem":"crates.io","fixed":["2.40.1"],"introduced":["0"],"last_affected":[],"package":"static-web-server","purl":"pkg:cargo/static-web-server","source":"GHSA-459f-x8vq-xjjm"}],"prev":{"headline":"Dolibarr has an Authenticated Remote Code Execution via eval() injection in user extrafields","id":"CVE-2025-67486"},"products":["static-web-server"],"published":"2025-12-09","related":[{"cvss_score":5.3,"headline":"Static Web Server: Timing-Based Username Enumeration in Basic Authentication","id":"CVE-2026-27480","kev_date_added":null,"published":"2026-02-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-09","vendors":["static-web-server"]},"summary":"An attacker with write access to the web root can create symlinks to read files outside the intended directory.","url":"https://insights.sbomify.com/CVE-2025-67487/"}