Path traversal in junrar - #VU139361
Published: July 26, 2026
Vulnerability details
The vulnerability allows a remote attacker to create directories outside the intended extraction directory.
The vulnerability exists due to path traversal in LocalFolderExtractor makeFile() and createFile() when extracting a crafted RAR archive. A remote attacker can supply a malicious RAR archive to create directories outside the intended extraction directory.
This can be used for filesystem pollution or file-vs-directory squatting.