PT-2026-35314
Published
2026-04-16
·
Updated
2026-04-16
Description by
CVSS 3.1
5.9
MediumMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
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. Found an issue in the description? Have something to add? Feel free to write us 👾