CVE-2026-41245
MEDIUM5.9EPSS 0.06%Junrar: Path Traversal (Zip-Slip) via Sibling Directory Name Prefix
發布日:2026/4/16修改日:2026/5/5
描述
### Summary A 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. ### Example Given 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`. ### Details The `createDirectory()` and `createFile()` methods in`LocalFolderExtractor` validate extraction paths using a string prefix.
受影響套件(1)
- Maven/com.github.junrar:junrarfrom 0, < 7.5.10
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-41245
- PATCHhttps://github.com/junrar/junrar
- WEBhttps://github.com/junrar/junrar/commit/d77e9a83eb721cd51f9c23d7869d0e6ad7f952d7
- WEBhttps://github.com/junrar/junrar/releases/tag/v7.5.10
- WEBhttps://github.com/junrar/junrar/security/advisories/GHSA-hf5p-q87m-crj7