Read the docs
TI-2025-34552 Aliases CVE-2025-54798GHSA-52f5-9888-hmc6

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

Priority MEDIUM 57CWE-59Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 32 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00376 31st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial node-tmp (raszi): 0.2.4tmp (npm): 0.2.4Red Hat: 32 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
raszinode-tmpbefore 0.2.40.2.4Patch availableCNA
—tmp (npm)before 0.2.40.2.4Patch availableGHSA-52f5-9888-hmc6
  • node-tmp Vendorraszi Affected before 0.2.4 Fixed in 0.2.4 Patch available CNA
  • tmp (npm) Vendor— Affected before 0.2.4 Fixed in 0.2.4 Patch available GHSA-52f5-9888-hmc6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:raszi:tmp:*:*:*:*:*:node.js:*:*before 0.2.4Vulnerableraszi
  • cpe:2.3:a:raszi:tmp:*:*:*:*:*:node.js:*:* Versions before 0.2.4 Vulnerable ·raszi

Remediation

  • Fix · CNA node-tmp (raszi) Fixed in 0.2.4
  • Fix · GHSA-52f5-9888-hmc6 tmp (npm) Fixed in 0.2.4 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Cryostat 4AffectedNo fix yet: Fix deferred
Logging Subsystem for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Migration Toolkit for VirtualizationAffectedNo fix yet: Fix deferred
Multicluster Engine for KubernetesAffectedNo fix yet: Fix deferred
Multicluster Global HubAffectedNo fix yet: Fix deferred
Network Observability OperatorAffectedNo fix yet: Fix deferred
Node HealthCheck OperatorAffectedNo fix planned: Will not fix
OpenShift LightspeedAffectedNo fix yet: Fix deferred
OpenShift PipelinesAffectedNo fix yet: Fix deferred
OpenShift ServerlessAffectedNo fix yet: Fix deferred
OpenShift Service Mesh 2AffectedNo fix planned: Out of support scope
OpenShift Service Mesh 3AffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Developer Hub 1AffectedNo fix yet: Fix deferred
Red Hat Edge Manager previewAffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Fuse 7AffectedNo fix planned: Out of support scope
Red Hat JBoss Enterprise Application Platform 8AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform Expansion PackAffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Dev SpacesAffectedNo fix planned: Will not fix
Red Hat OpenShift GitOpsAffectedNo fix planned: Will not fix
Red Hat Openshift Data Foundation 4AffectedNo fix yet: Fix deferred
Red Hat Process Automation 7AffectedNo fix planned: Out of support scope
Red Hat Quay 3AffectedNo fix yet: Fix deferred
Red Hat Single Sign-On 7AffectedNo fix planned: Out of support scope
Red Hat Trusted Artifact SignerAffectedNo fix planned: Will not fix
Red Hat build of Apicurio Registry 2AffectedNo fix yet: Fix deferred
Red Hat build of OptaPlanner 8AffectedNo fix planned: Out of support scope
Not affected: 2 products
  • Red Hat Enterprise Linux 7
  • Red Hat OpenShift Dev Spaces

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-54798
  2. 2026-10-03 Alias added: GHSA-52f5-9888-hmc6
  3. 2026-10-27 Affected versions changed · Red Hat

References

  • TI-2026-36815 tmp: Type-confusion bypass of _assertPath in [email protected] allows path traversal via non-string prefix/postfix/template CVSS 3.1HIGH 8.2
  • TI-2026-32592 tmp: Path Traversal via unsanitized prefix/postfix enables directory escape CVSS 4.0HIGH 7.7

Sources