Detect-It-Easy Path Traversal Vulnerability Allowing Arbitrary File Write

Vulnerability

A path traversal vulnerability has been identified in Detect-It-Easy versions prior to 3.21. This vulnerability allows attackers to write arbitrary files to the filesystem by creating malicious archive entries that include relative traversal sequences or absolute paths. The issue arises from inadequate path normalization during the extraction of archives, which can be exploited to write files outside the designated extraction directory. This could lead to persistent code execution by overwriting user startup scripts.

Impact

Exploitation of this vulnerability could result in arbitrary file writing, with the potential for overwriting user startup scripts to achieve persistent code execution.

Reproduction

To reproduce this vulnerability, create an archive file that includes relative path traversal sequences or absolute paths. When this archive is extracted by Detect-It-Easy version 3.20 or earlier, the application will write the files to locations outside the intended directory, due to insufficient path normalization. This can be verified by checking the extraction results and observing any overwritten startup scripts.

Remediation

Users can upgrade to Detect-It-Easy version 3.21 or later, where this vulnerability has been addressed.

Added: May 4, 2026, 6:19 PM
Updated: May 4, 2026, 6:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.6
exploitability
5.3
remediation
0.0
relevance
7.4
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.