---
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: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-22
published: '2026-10-05'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T23:16:56.530'
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
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-06T22:11:47.446872Z'
epss: 0.01032
epssPercentile: 0.63594
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.
