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
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6 | nvd | 2025-08-07 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| raszi:tmp | < 0.2.4 | no | nvd | /v1/products/raszi/tmp |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| raszi/node-tmp | commit, issues, package, security_advisory | yes | /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