Authenticated code execution via fullpath upload bypass
Published Dec 28, 2025 · Updated Dec 28, 2025
Upload validation bypass in TinyFileManager 2.0 through 2.6 allows remote authenticated users to upload and execute PHP via fullpath. The upload handler trusts the fullpath filename after fm_clean_path processing, allowing it to bypass configured upload-extension allowlists and place a PHP web shell in the document root. The demonstrated path requires a writable web directory, a valid non-read-only session, and a CSRF token; successful exploitation executes code with the web server process privileges.
Summary
What happened
Upload validation bypass in TinyFileManager 2.0 through 2.6 allows remote authenticated users to upload and execute PHP via fullpath. The upload handler trusts the fullpath filename after fm_clean_path processing, allowing it to bypass configured upload-extension allowlists and place a PHP web shell in the document root. The demonstrated path requires a writable web directory, a valid non-read-only session, and a CSRF token; successful exploitation executes code with the web server process privileges.
The record
- CVE
- CVE-2025-15138
- Published
- Dec 28, 2025
- Updated
- Dec 28, 2025
- Vendor
- Tiny File Manager Project
- Product
- TinyFileManager
- Classifications
- CWE-22, T1505.003
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 28, 2025CVE publishedPublication date reported by the CVE source.
- Dec 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.0
- Affected versionversion=2.1
- Affected versionversion=2.2
- Affected versionversion=2.3
- Affected versionversion=2.4
- Affected versionversion=2.5
- Affected versionversion=2.6
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- tinyfilemanager File Upload(RCE) Reportproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo