CVE-2021-26028:
Path Traversal within joomla/archive zip class
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.01535%
CWE
Published
3/24/2021
Updated
1/9/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
joomla/archive | composer | < 1.1.10 | 1.1.10 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insufficient path validation during ZIP extraction. The GitHub commit 32c9009 introduced the 'isBelow()' check in both extractCustom()
and extractNative()
methods, confirming these functions previously lacked path traversal safeguards. Before the patch, they concatenated user-controlled filenames
(from ZIP entries) with the destination path without resolving absolute paths or checking for directory escapes. This allowed malicious ZIP entries with '../' sequences to write files outside the target directory.