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.
Published: 2026-10-09
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Fri, 09 Oct 2026 14:30:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-09T14:13:49.992Z

Reserved: 2026-10-01T18:02:50.084Z

Link: CVE-2026-104081

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-09T15:17:06.940

Modified: 2026-10-09T15:17:06.940

Link: CVE-2026-104081

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T15:45:07Z

Weaknesses
  • CWE-22

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