{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2025-6218 in the wild since at least 9 Dec 2025.","fix":"No fix has been published for CVE-2025-6218 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 30 Dec 2025.","what":"CVE-2025-6218 is a high-severity path traversal vulnerability in RARLAB WinRAR, published on 21 Jun 2025. 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-2025-6218 and fix it if it is affected.\n\nWhat it is: CVE-2025-6218 is a high-severity path traversal vulnerability in RARLAB WinRAR, published on 21 Jun 2025. 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: Yes. Attackers have exploited CVE-2025-6218 in the wild since at least 9 Dec 2025.\n\nAffected product: RARLAB WinRAR. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-6218/ (Markdown: https://insights.sbomify.com/CVE-2025-6218/index.md)","id":"CVE-2025-6218","markdown":"https://insights.sbomify.com/CVE-2025-6218/index.md","name":"CVE-2025-6218","record":{"aliases":["GHSA-8x66-x5gf-2pc8"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"WinRAR archive utility","requires_auth":"none","summary":"Remote attackers can execute arbitrary code by tricking users into opening malicious archives that exploit directory traversal flaws in WinRAR.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"winrar","vendor":"rarlab"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"RARLAB WinRAR Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of RARLAB WinRAR. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.\n\nThe specific flaw exists within the handling of file paths within archive files. A crafted file path can cause the process to traverse to unintended directories. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-27198.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-06-27","github_poc":6,"max_poc_stars":30,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-07-01T05:34:57Z","kind":"github_poc","ref":"https://github.com/skimask1690/CVE-2025-6218-POC","stars":30,"title":"Proof of Concept for CVE-2025-6218, demonstrating the exploitation of a vulnerability in WinRAR versions 7.11 and under, involving improper handling of archive extraction paths."},{"date":"2025-07-10T01:37:39Z","kind":"github_poc","ref":"https://github.com/absholi7ly/CVE-2025-6218-WinRAR-Directory-Traversal-RCE","stars":19,"title":"CVE-2025-6218 is a directory traversal vulnerability in WinRAR that allows an attacker to place files outside the intended extraction directory when a user extracts a specially crafted"},{"date":"2025-06-27T00:11:03Z","kind":"github_poc","ref":"https://github.com/speinador/CVE-2025-6218_WinRAR","stars":16,"title":null},{"date":"2025-06-29T19:06:53Z","kind":"github_poc","ref":"https://github.com/ignis-sec/CVE-2025-6218","stars":12,"title":"A simple proof of concept for WinRAR Path Traversal | RCE | CVE-2025-6218"},{"date":"2025-07-03T04:52:14Z","kind":"github_poc","ref":"https://github.com/mulwareX/CVE-2025-6218-POC","stars":10,"title":"RARLAB WinRAR Directory Traversal Remote Code Execution"},{"date":"2025-12-15T10:08:35Z","kind":"github_poc","ref":"https://github.com/Chrxstxqn/CVE-2025-6218-WinRAR-RCE-POC","stars":2,"title":"Comprehensive analysis and proof-of-concept for CVE-2025-6218 - WinRAR path traversal RCE vulnerability affecting versions 7.11 and earlier"}],"tier":"exploited"},"has_fix":null,"headline":"RARLAB WinRAR Path Traversal","id":"CVE-2025-6218","indexable":true,"kev":{"dateAdded":"2025-12-09","dueDate":"2025-12-30","knownRansomwareCampaignUse":"Unknown","product":"WinRAR","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","vendorProject":"RARLAB","vulnerabilityName":"RARLAB WinRAR Path Traversal Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"Ultimate Addons for Contact Form 7 \u003c= 3.5.12 - Authenticated (Administrator+) Arbitrary File Upload via 'save_options'","id":"CVE-2025-6220"},"packages":[],"prev":{"headline":"PEAK-System Driver PCANFD_ADD_FILTERS Time-Of-Check Time-Of-Use Information Disclosure Vulnerability","id":"CVE-2025-6217"},"products":["WinRAR"],"published":"2025-06-21","related":[{"cvss_score":7.8,"headline":"RARLAB WinRAR Code Execution","id":"CVE-2023-38831","kev_date_added":"2023-08-24","published":"2023-08-23"},{"cvss_score":7.8,"headline":"WinRAR Absolute Path Traversal","id":"CVE-2018-20250","kev_date_added":"2022-02-15","published":"2019-02-05"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-7144","kev_date_added":null,"published":"2009-09-01"},{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2004-1254","kev_date_added":null,"published":"2004-12-22"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2006-3845","kev_date_added":null,"published":"2006-07-25"},{"cvss_score":7.8,"headline":"RARLAB WinRAR Recovery Volume Improper Validation of Array Index Remote Code Execution Vulnerability","id":"CVE-2023-40477","kev_date_added":null,"published":"2024-05-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["RARLAB"]},"summary":"Remote attackers can execute arbitrary code by tricking users into opening malicious archives that exploit directory traversal flaws in WinRAR.","url":"https://insights.sbomify.com/CVE-2025-6218/"}