{"id":"CVE-2025-6218","kind":"vulnerability","aliases":["CVE-2025-6218"],"related":[],"title":"RARLAB WinRAR Directory Traversal Remote Code Execution Vulnerability","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.","summary":"WinRAR, the Windows archive tool, has a path traversal flaw that lets a crafted archive write files outside the folder it is extracted to. An attacker can use this to run code as the user who opens the archive.","severity":"high","cvss":7.8,"epss":null,"exploited":true,"exploited_at":"2025-12-09T00:00:00+00:00","products":[{"name":"rarlab winrar","fixed":["7.12"],"affected":"< 7.12","ecosystem":"vendor"},{"name":"RARLAB WinRAR","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["exploited","other","windows","winrar"],"not_affected_if":["no-winrar-installed"],"how_to_check":"Open WinRAR, go to Help, About WinRAR and note the version number.","fix":"Update WinRAR to the latest release from rarlab.com; the sources do not name the fixed version.\nIf no fix is available, stop using WinRAR for untrusted archives, per CISA guidance.","status":"open","published_at":"2025-06-21T01:15:29+00:00","first_seen_at":"2026-10-23T19:11:51+00:00","triaged_at":"2026-10-23T20:42:47+00:00","updated_at":"2026-10-24T00:09:50+00:00","category":"other","confidence":0.7,"triage":{"at":"2026-10-23T20:42:47Z","model":"claude-haiku-5-5","output":{"fix":"Update WinRAR to the latest release from rarlab.com; the sources do not name the fixed version.\nIf no fix is available, stop using WinRAR for untrusted archives, per CISA guidance.","reach":"local","summary":"WinRAR, the Windows archive tool, has a path traversal flaw that lets a crafted archive write files outside the folder it is extracted to. An attacker can use this to run code as the user who opens the archive.","category":"other","who_cares":["windows","winrar"],"confidence":0.7,"needs_auth":"no","worst_case":"Attacker runs code as the victim user after they extract a crafted archive.","analyst_note":"Confirm the affected and fixed WinRAR versions from the RARLAB advisory or the NVD entry for CVE-2025-6218.","how_to_check":"Open WinRAR, go to Help, About WinRAR and note the version number.\nunknown\nunknown","needs_analyst":true,"not_affected_if":["no-winrar-installed"],"user_interaction":"yes","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.000442,"input_tokens":2522,"output_tokens":380,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2025':10A,13A '-6218':11A,14A '27198':153C 'affect':80C 'allow':72C 'arbitrari':77C 'archiv':26B,37B,61B,118C 'attack':48B,74C,134C 'caus':125C 'code':6A,54B,67C,78C,141C 'context':144C 'craft':36B,121C 'current':147C 'cve':9A,12A 'directori':3A,64C,132C 'execut':7A,68C,76C,140C 'exist':110C 'exploit':19B,90C 'extract':45B 'file':39B,106C,115C,119C,122C 'flaw':32B,109C 'folder':42B 'handl':113C 'instal':81C 'interact':86C 'let':34B 'leverag':136C 'malici':100C,105C 'must':97C 'open':59B,103C 'outsid':40B 'page':101C 'path':30B,116C,123C 'process':127C 'rarlab':1A,15A,17A,62C,83C 'remot':5A,66C,73C 'requir':88C 'run':53B 'specif':108C 'target':96C 'tool':27B 'travers':4A,31B,65C,129C 'unintend':131C 'use':50B 'user':57B,85C,148C 'visit':98C 'vulner':8A,69C,71C,92C,138C 'window':21B,25B 'winrar':2A,16A,18A,22B,23B,63C,84C 'within':111C,117C 'write':38B 'zdi':151C 'zdi-can':150C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2025-06-21T01:15:29+00:00","kev":{"dateAdded":"2025-12-09","dueDate":"2025-12-30","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.","knownRansomwareCampaignUse":"Unknown"},"cvss_vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvss_by":"zdi-disclosures@trendmicro.com","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2025-6218","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-6218","severity":null,"published_at":"2025-12-09T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:51+00:00","fetched_at":"2026-10-25T12:39:21+00:00","note":null},{"source":"nvd","external_id":"CVE-2025-6218","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6218","severity":null,"published_at":"2025-06-21T01:15:29+00:00","modified_at":"2026-06-17T10:01:24+00:00","first_seen_at":"2026-10-23T23:44:51+00:00","fetched_at":"2026-10-23T23:44:51+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}