Skip to main content
← All vulnerabilities
CVE-2025-54798GHSA-52F5-9888-HMC6

tmp does not restrict arbitrary temporary file / directory write via symbolic link `dir` parameter

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.2.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • raszi node-tmp

    fixed in 0.2.4

  • tmpnpm

    fixed in 0.2.4

References 3

GitHub · raszi/node-tmp