CVE-2026-88396

Directory Traversal in ApiAdmin Enables Remote Code Execution via File Upload

Published Oct 5, 2026 CVSS 3.1 · 7.2 High EPSS 1.0% KEV · Not listed
Description
ApiAdmin v5.0 and before is vulnerable to Directory Traversal. The admin file-upload endpoint POST /admin/Index/upload in ApiAdmin takes the uploaded file's extension verbatim there is no whitelist, blacklist or content check and move_uploaded_file() drops the file into the web-accessible directory public/upload/Ymd/. Any logged-in admin user can upload a .php file and reach it directly over HTTP, achieving remote code execution on the server.

Analysis

AI-generated

Technical impact

ApiAdmin versions 5.0 and prior permit any logged‑in administrator to upload executable files to the web‑accessible directory public/upload/Ymd/ because the upload handler accepts the file extension verbatim and performs no validation or content checking. The uploaded file is then delivered by the web server, allowing an attacker to place a PHP file that can be executed directly over HTTP. This flaw relies on improper input handling and lack of file type restrictions, enabling an attacker with administrative login to run arbitrary code on the server, compromising confidentiality, integrity, and availability of the system.

Affected Systems

The vulnerability affects the ApiAdmin software, specifically all releases version 5.0 and earlier. No specific vendor or additional product variants are named, and version details beyond the upper bound are not provided.

Risk and Exploitability

The CVSS score of 7.2 indicates near‑high severity, and the EPSS score is below 1%, indicating a very low exploitation probability; the vulnerability is not listed in the CISA KEV catalog. Nevertheless, the flaw presents a high‑risk remote code execution vector for any authenticated administrator who can upload a file. The lack of chunking or restrictions means exploitation can be performed locally by the admin or remotely if the vulnerability is exposed to an attacker capable of performing admin authentication, without additional conditions noted in the description.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Restrict the file upload endpoint to accept only safe MIME types and file extensions, rejecting PHP and other executable files.
  • Store uploaded files in a directory that is not web‑accessible, or configure the web server to block execution of files in public/upload/Ymd/.
  • Apply any vendor‑released patch or upgrade to the latest version of ApiAdmin when available.

Generated by OpenCVE AI on October 7, 2026 at 07:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Directory Traversal in ApiAdmin Enables Remote Code Execution via File Upload
Type Values Removed Values Added
Weaknesses CWE-22
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Description ApiAdmin v5.0 and before is vulnerable to Directory Traversal. The admin file-upload endpoint POST /admin/Index/upload in ApiAdmin takes the uploaded file's extension verbatim there is no whitelist, blacklist or content check and move_uploaded_file() drops the file into the web-accessible directory public/upload/Ymd/. Any logged-in admin user can upload a .php file and reach it directly over HTTP, achieving remote code execution on the server.
References

Subscriptions

No data.

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 6, 2026, 10:12 PM
Reserved
Sep 10, 2026, 12:00 AM
Status
Deferred
Published
Oct 5, 2026, 4:17 PM
Modified
Oct 6, 2026, 11:16 PM