Vulnerability GHSA-hf5p-q87m-crj7

Medium Risk
MEDIUM RISK
CVSS Score: 5.9
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
6 months ago
April 16, 2026 at 09:14 PM UTC
Junrar: Path Traversal (Zip-Slip) via Sibling Directory Name Prefix
0.7 - 7.5.9
0.7 - 7.5.9

Summary

Junrar: Path Traversal (Zip-Slip) via Sibling Directory Name Prefix

Details

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 inLocalFolderExtractor validate extraction paths using a string prefix.

Impacted packages

Timeline

Published
6 months ago
April 16, 2026 at 09:14 PM UTC
Fixed (7.5.10)
Unknown
Unknown
Last Modified
5 months ago
May 05, 2026 at 04:11 PM UTC