SecurityContext

CVE-2025-54798: tmp - Unrestricted File Upload

  • Cve: CVE-2025-54798
  • Name: tmp - Unrestricted File Upload
  • Description: tmp is a temporary file and directory creator for node.js. In versions 0.2.3 and below, tmp is vulnerable to an arbitrary temporary file / directory write via symbolic link dir parameter. This is fixed in version 0.2.4.
  • Impact: Attackers can write arbitrary files or directories, potentially leading to data tampering or further system compromise.
  • Remediation: Update to version 0.2.4 or later.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00404
  • Epss percentile: 0.35179
  • Assignee: [email protected]
  • Published at: 2025-08-07T01:15:26Z
  • Age in days: 474
  • Modified at: 2026-06-17T09:40:43Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-54798
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-59Improper Link Resolution Before File Access

Public exploits

UrlSourceAdded date
https://github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6nvd2025-08-07

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/raszi/node-tmp/commit/188b25e529496e37adaf1a1d9dccb40019a08b1bPatch
https://github.com/raszi/node-tmp/issues/207Issue Tracking, Patch
https://github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6Exploit, Vendor Advisory
https://lists.debian.org/debian-lts-announce/2025/08/msg00007.html

Products

ProductAffectedPlatform boundSourcesUrl
raszi:tmp< 0.2.4nonvd/v1/products/raszi/tmp

Projects

RepositoryLink kindsIndexedUrl
raszi/node-tmpcommit, issues, package, security_advisoryyes/v1/repositories/raszi/node-tmp

Index

  • Repositories: 1178
  • Repositories high signal: 552
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-08-07
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts