{"id":"GHSA-hf5p-q87m-crj7","summary":"Junrar: Path Traversal (Zip-Slip) via Sibling Directory Name Prefix","details":"### Summary\n\nA path traversal vulnerability in `LocalFolderExtractor` allows an attacker to write arbitrary files with attacker-controlled content into sibling directories when a crafted RAR archive is extracted.\n\n### Example\n\nGiven an extraction directory set to `/tmp/extract`, a crafted archive with an entry with the filename as `../extract_evil/file.txt` would be actually extracted to `/tmp/extract_evil/file.txt`.\n\n### Details\n\nThe `createDirectory()` and `createFile()` methods in`LocalFolderExtractor` validate extraction paths using a string prefix.","aliases":["CVE-2026-41245"],"modified":"2026-05-05T16:11:47.377856Z","published":"2026-04-16T21:14:33Z","database_specific":{"github_reviewed_at":"2026-04-16T21:14:33Z","nvd_published_at":"2026-04-20T16:16:49Z","cwe_ids":["CWE-22"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/junrar/junrar/security/advisories/GHSA-hf5p-q87m-crj7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41245"},{"type":"WEB","url":"https://github.com/junrar/junrar/commit/d77e9a83eb721cd51f9c23d7869d0e6ad7f952d7"},{"type":"PACKAGE","url":"https://github.com/junrar/junrar"},{"type":"WEB","url":"https://github.com/junrar/junrar/releases/tag/v7.5.10"}],"affected":[{"package":{"name":"com.github.junrar:junrar","ecosystem":"Maven","purl":"pkg:maven/com.github.junrar/junrar"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.5.10"}]}],"versions":["0.7","1.0.0","1.0.1","2.0.0","3.0.0","3.1.0","4.0.0","5.0.0","6.0.0","6.0.1","7.0.0","7.1.0","7.2.0","7.3.0","7.4.0","7.4.1","7.5.0","7.5.1","7.5.2","7.5.3","7.5.4","7.5.5","7.5.6","7.5.7","7.5.8","7.5.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-hf5p-q87m-crj7/GHSA-hf5p-q87m-crj7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}