CVE-2026-104081

KodExplorer < 4.55 Path Traversal via unzip_pre_name() ZIP Extraction

Published Oct 9, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
Description
KodExplorer before 4.55 contains a path traversal vulnerability in the unzip_pre_name() function within app/function/helper.function.php, where a single non-recursive str_replace() sanitization pass can be bypassed using crafted filenames like "....//", combined with PclZip's extract() call in KodArchive.class.php lacking the PCLZIP_OPT_EXTRACT_DIR_RESTRICTION option. Authenticated attackers can upload a malicious ZIP archive with traversal sequences to overwrite arbitrary files such as core JavaScript assets, enabling stored XSS that leads to admin account takeover and subsequent remote code execution via unrestricted PHP file upload.

Analysis

AI-generated

Technical impact

KodExplorer before version 4.55 allows authenticated users to upload ZIP files. The unzip_pre_name() function performs a single non‑recursive str_replace() sanitization pass that cannot block filenames containing patterns such as ".….//", enabling path traversal when the archive is extracted with PclZip’s extract() call that lacks the PCLZIP_OPT_EXTRACT_DIR_RESTRICTION option. An attacker can craft a ZIP with traversal sequences to overwrite critical files like core JavaScript assets, resulting in stored cross‑site scripting that permits an attacker to hijack an administrator account. Once an admin account is compromised, the attacker can upload arbitrary PHP files to execute remote code.

Affected Systems

This issue affects the KodExplorer web application distributed by kalcaddle. All releases prior to version 4.55 are vulnerable. The vulnerability is present in the app/function/helper.function.php file of KodExplorer and the KodArchive.class.php extractor.

Risk and Exploitability

The CVSS score of 7.2 marks a high‑severity vulnerability, while the EPSS score is not available and the issue is not listed in the CISA KEV catalog. The vulnerability requires authenticated access to the application, but authenticated users can perform file uploads. Successful exploitation would give an attacker remote code execution capabilities once the prerequisite of admin takeover is achieved. Because the flaw relies purely on application‑level oversight, it is likely to be exploitable on any publicly reachable instance that has not applied the 4.55 patch or re‑implemented safe extraction measures.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade KodExplorer to version 4.55 or later.
  • If upgrading is not immediately possible, modify the ZIP extraction logic to prevent path traversal by applying a directory restriction (e.g., set PCLZIP_OPT_EXTRACT_DIR_RESTRICTION) and by sanitizing filenames more thoroughly.
  • Restrict file uploads in administrative areas to approved file types and ensure that the upload mechanism does not allow execution of uploaded PHP code until the underlying vulnerability is patched.

Generated by OpenCVE AI on October 9, 2026 at 15:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Kalcaddle
Kalcaddle kodexplorer
Vendors & Products Kalcaddle
Kalcaddle kodexplorer
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description KodExplorer before 4.55 contains a path traversal vulnerability in the unzip_pre_name() function within app/function/helper.function.php, where a single non-recursive str_replace() sanitization pass can be bypassed using crafted filenames like "....//", combined with PclZip's extract() call in KodArchive.class.php lacking the PCLZIP_OPT_EXTRACT_DIR_RESTRICTION option. Authenticated attackers can upload a malicious ZIP archive with traversal sequences to overwrite arbitrary files such as core JavaScript assets, enabling stored XSS that leads to admin account takeover and subsequent remote code execution via unrestricted PHP file upload.
Title KodExplorer < 4.55 Path Traversal via unzip_pre_name() ZIP Extraction
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:00 PM
Reserved
Oct 1, 2026, 6:02 PM
Status
Deferred
Published
Oct 9, 2026, 3:17 PM
Modified
Oct 9, 2026, 6:17 PM