{"answers":{"affected":"2 open source packages ship an affected version, including wrangler. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-7079 in the wild and no public exploit code.","fix":"Upgrade wrangler to 3.19.0 or later.","what":"CVE-2023-7079 is a medium-severity path traversal vulnerability in Cloudflare wrangler, published on 29 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-7079 and fix it if it is affected.\n\nWhat it is: CVE-2023-7079 is a medium-severity path traversal vulnerability in Cloudflare wrangler, published on 29 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-7079 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- wrangler (npm): affected from 3.9.0; fixed in 3.19.0\n- wrangler (npm): affected from 3.9.0; fixed in 3.19.0\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-2023-7079/ (Markdown: https://insights.sbomify.com/CVE-2023-7079/index.md)","id":"CVE-2023-7079","markdown":"https://insights.sbomify.com/CVE-2023-7079/index.md","name":"CVE-2023-7079","record":{"aliases":["GHSA-cfph-4qqh-w828"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Cloudflare Wrangler CLI","requires_auth":"none","summary":"An attacker can read arbitrary files on a developer's machine by sending crafted requests to the Wrangler dev server.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cloudflare","cpe":[{"product":"wrangler","vendor":"cloudflare"}],"cvss":{"score":6.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"Sending specially crafted HTTP requests and inspector messages to Wrangler's dev server could result in any file on the user's computer being accessible over the local network. An attacker that could trick any user on the local network into opening a malicious website could also read any file.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Arbitrary remote file read in Wrangler dev server","id":"CVE-2023-7079","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":2,"n_references":3,"next":{"headline":"Arbitrary remote code execution within wrangler dev Workers sandbox","id":"CVE-2023-7080"},"packages":[{"ecosystem":"npm","fixed":["3.19.0"],"introduced":["3.9.0"],"last_affected":[],"package":"wrangler","purl":null,"source":"GHSA-cfph-4qqh-w828"},{"ecosystem":"npm","fixed":["3.19.0"],"introduced":["3.9.0"],"last_affected":[],"package":"wrangler","purl":"pkg:npm/wrangler","source":"GHSA-cfph-4qqh-w828"}],"prev":{"headline":"Server-Side Request Forgery (SSRF) in Miniflare","id":"CVE-2023-7078"},"products":["wrangler"],"published":"2023-12-29","related":[{"cvss_score":8.5,"headline":"Arbitrary remote code execution within wrangler dev Workers sandbox","id":"CVE-2023-7080","kev_date_added":null,"published":"2023-12-29"},{"cvss_score":7.7,"headline":"OS Command Injection in `wrangler pages deploy`","id":"CVE-2026-0933","kev_date_added":null,"published":"2026-01-20"},{"cvss_score":5.7,"headline":"Directory traversal vulnerability in Cloudflare Wrangler","id":"CVE-2023-3348","kev_date_added":null,"published":"2023-08-03"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["Cloudflare"]},"summary":"An attacker can read arbitrary files on a developer's machine by sending crafted requests to the Wrangler dev server.","url":"https://insights.sbomify.com/CVE-2023-7079/"}