SecurityContext

CVE-2021-40964: TinyFileManager - Path Traversal

  • Cve: CVE-2021-40964
  • Name: TinyFileManager - Path Traversal
  • Description: 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.
  • Impact: Attackers can write malicious files outside the intended directory, potentially leading to remote code execution or server compromise.
  • Remediation: Update to the latest version of TinyFileManager that addresses this vulnerability.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write
  • Requirement type: admin_privileges
  • Requirements: Attacker needs admin credentials or CSRF vulnerability
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
  • Epss score: 0.08235
  • Epss percentile: 0.95031
  • Assignee: [email protected]
  • Published at: 2021-09-15T18:15:09Z
  • Age in days: 1896
  • Modified at: 2026-06-17T04:07:40Z
  • Public exploits total: 2
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-40964
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
http://packetstormsecurity.com/files/166330/Tiny-File-Manager-2.4.6-Shell-Upload.htmlnvd2021-09-15
https://github.com/Z3R0space/CVE-2021-40964poc-in-github2025-06-20

References

Same in every row:

  • Source: nvd
UrlTags
http://packetstormsecurity.com/files/166330/Tiny-File-Manager-2.4.6-Shell-Upload.htmlExploit, Third Party Advisory, VDB Entry
https://gist.github.com/omriinbar/953368dcdd9e5eeefd83920166099528Third Party Advisory
https://github.com/prasathmani/tinyfilemanagerProduct, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
prasathmani:tiny_file_manager<= 2.4.6nonvd/v1/products/prasathmani/tiny_file_manager

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2021-09-15
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts