Skip to content
Fencer Intel
low 2.5

CVE-2025-54798 json

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

published last yr. modified last mo. also GHSA-52f5-9888-hmc6 , EUVD-2025-23895

cvss
2.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 34%
public exploits
0
none known

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.

Patch / fix

  • npm tmp 0.2.4
  • raszi tmp 0.2.4
  • node-tmp Debian 12 0.2.2+dfsg+~0.2.3-1.1~deb12u1
  • node-tmp Debian 13 0.2.2+dfsg+~0.2.3-1.1~deb13u1
  • node-tmp Debian 14 0.2.2+dfsg+~0.2.3-1.1

debian advisories DEBIAN-CVE-2025-54798

  • python-bqplot openSUSE Tumbleweed 0.12.45-13.1
  • python-nbdime openSUSE Tumbleweed 4.0.2-23.1

opensuse advisories openSUSE-SU-2025:15506-1openSUSE-SU-2025:15502-1

Is CVE-2025-54798 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-54798 updated cvss 2.5

tmp: tmp Symbolic Link Write Vulnerability

  • Red Hat Cryostat 4 io.cryostat-cryostat
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/vector-rhel9, openshift-logging/kibana6-rhel8, openshift-logging/eventrouter-rhel9, openshift-logging/cluster-logging-rhel9-operator, openshift-logging/log-file-metric-exporter-rhel9, openshift-logging/cluster-logging-operator-bundle
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-console-plugin-rhel9 Red Hat Multicluster Engine for Kubernetes multicluster-engine/console-mce-rhel8, multicluster-engine/console-mce-rhel9 Red Hat Multicluster Global Hub multicluster-globalhub/multicluster-globalhub-grafana-rhel9 Red Hat Network Observability Operator network-observability/network-observability-console-plugin-rhel9, network-observability/network-observability-console-plugin-compat-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Node HealthCheck Operator workload-availability/node-remediation-console-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-console-plugin-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-api-rhel8, openshift-pipelines/pipelines-console-plugin-rhel8, openshift-pipelines/pipelines-console-plugin-rhel9, openshift-pipelines/pipelines-hub-db-migration-rhel8
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat OpenShift Serverless openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8
    affected: workaround, no fix available “Fix deferred”
  • Red Hat OpenShift Service Mesh 2 openshift-service-mesh/kiali-rhel8, openshift-service-mesh/kiali-ossmc-rhel8
    affected: workaround, no fix planned “Out of support scope”
show 11 more
  • Red Hat OpenShift Service Mesh 3 openshift-service-mesh/kiali-rhel9, openshift-service-mesh/kiali-ossmc-rhel9, openshift-service-mesh/kiali-rhel9-operator, openshift-service-mesh/kiali-operator-bundle Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel9, rhacm2/acm-grafana-rhel9 Red Hat Ansible Automation Platform 2 automation-gateway Red Hat build of Apicurio Registry 2 io.apicurio-apicurio-registry
    affected: workaround, no fix available “Fix deferred”
  • Red Hat build of OptaPlanner 8 org.optaweb.vehiclerouting-optaweb-vehicle-routing
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9, rhdh/rhdh-rhel9-operator Red Hat Edge Manager preview rhem/flightctl-ui-rhel9, rhem/flightctl-api-rhel9, rhem/flightctl-ui-ocp-rhel9, rhem/flightctl-worker-rhel9, rhem/flightctl-periodic-rhel9, rhem/flightctl-cli-artifacts-rhel9 Red Hat Enterprise Linux 8 grafana, mozjs60, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, +9 more Red Hat Enterprise Linux 9 gjs, polkit, grafana, polkit-libs, grafana-selinux
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Fuse 7 io.apicurio-apicurito, io.syndesis-syndesis-parent
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat JBoss Enterprise Application Platform 8 org.keycloak-keycloak-parent Red Hat JBoss Enterprise Application Platform Expansion Pack org.keycloak-keycloak-parent Red Hat OpenShift AI (RHOAI) rhoai/odh-rhel8-operator, rhods/odh-rhel8-operator, rhoai/odh-dashboard-rhel8, rhoai/odh-dashboard-rhel9, rhoai/odh-modelmesh-rhel8, rhods/odh-dashboard-rhel8, +26 more Red Hat OpenShift Container Platform 4 openshift4/ose-console, openshift4/ose-console-rhel9 Red Hat Openshift Data Foundation 4 odf4/odf-console-rhel9, odf4/ocs-client-console-rhel9, odf4/odf-multicluster-console-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat OpenShift Dev Spaces devspaces/code-rhel9, devspaces/traefik-rhel9, devspaces/dashboard-rhel9, devspaces/configbump-rhel9, devspaces/imagepuller-rhel9, devspaces/pluginregistry-rhel9, +3 more Red Hat OpenShift GitOps openshift-gitops-1/dex-rhel8, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/gitops-rhel8, openshift-gitops-1/must-gather-rhel8, openshift-gitops-1/argo-rollouts-rhel8, openshift-gitops-1/console-plugin-rhel8, +3 more
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Process Automation 7 org.uberfire-uberfire-parent, org.kie.workbench-kie-wb-common, org.kie-process-migration-service
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Quay 3 quay/quay-rhel8
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Single Sign-On 7 org.keycloak-keycloak-parent
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Trusted Artifact Signer rhtas/rekor-search-ui-rhel9
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux 7 firefox, thunderbird Red Hat OpenShift Dev Spaces devspaces/pluginregistry-rhel8
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 2.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
GitHub 3.1 2.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Affected packages

ecosystem package affected fixed in
npm tmp
<0.2.4
0.2.4

Affected products

  • raszi node-tmp

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.