---
id: CVE-2026-88396
title: ApiAdmin v5.0 and before is vulnerable to Directory Traversal
summary: >-
  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_up…
severity: none
published: '2026-10-05'
updated: '2026-10-05'
sourceUpdated: '2026-10-05T16:17:17.080'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-88396'
references:
  - url: 'https://github.com/fangtang7/CVE/blob/main/ApiAdmin/rce.md'
    label: cve@mitre.org
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-05T16:25:58.413Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
