Path Traversal in Prasathmani Tiny File Manager
CVE-2021-40964
A Path Traversal vulnerability exists in TinyFileManager all version up to and including 2.4.6 that allows attackers to upload a file (with Admin credentials or with the CSRF vulnerability) with the "fullpath" parameter containing path traversal strings (../ and ..\) in order to escape the server's intended working directory and write malicious files onto any directory on the computer.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.082, 95.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- Z3R0space/CVE-2021-40964 (last pushed 2025-06-20): Tiny File Manager <= 2.4.6 - Remote Code Execution (RCE)
- Z3R0-0x30/CVE-2021-40964
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, FeFi7/attacking_embedded_linux, plzheheplztrying/cve_monitor, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/prasathmani/tinyfilemanager (Product, Third Party Advisory)
- gist.github.com/omriinbar/953368dcdd9e5eeefd83920166099528 (Third Party Advisory)
- packetstormsecurity.com/files/166330/Tiny-File-Manager-2.4.6-Shell-Upload.html (Exploit, VDB Entry, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.