8.2

CVE-2026-49982: raszi node-tmp Improper Input Validation

CVSS: 8.2v3.1HighAnalyzed
AliasesUBUNTU-CVE-2026-49982CGA-296h-wx22-826rCGA-34rg-6c5w-5769
Published 11-06-2026Last modified 11-06-2026

Vulnerability summary

CVE-2026-49982 is a high (CVSS 8.2) Improper Input Validation vulnerability in raszi node-tmp. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 47.6% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
43/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.2/10
010
High · v3.1 (CVE.org)
EPSS score
0.60%
0%100%
Low · +0.10 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 11-06-2026
    PublishedVulnerability first disclosed.
  2. 11-06-2026
    Last modifiedVulnerability information updated.

Description

tmp is a temporary file and directory creator for node.js. In version 0.2.6, the _assertPath guard added to tmp rejects only string values that contain the substring ... It is bypassed when prefix, postfix, or template is supplied as a non-string value (Array, Buffer, or any object) whose includes('..') returns falsy but whose stringification still contains ../. The value flows through Array.prototype.join/String coercion inside _generateTmpName and path.join(tmpDir, opts.dir, name), producing a final path that escapes tmpdir and creates a file or directory at an attacker-controlled location with the host process's privileges. This affects any application that forwards untrusted request data (a common pattern is JSON body fields or qs-parsed bracket-array query strings such as ?prefix[]=...) into tmp.file, tmp.fileSync, tmp.dir, tmp.dirSync, tmp.tmpName, or tmp.tmpNameSync without explicit type coercion. This vulnerability is fixed in 0.2.7.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.60%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

+0.10 pp

From 0.50% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.60%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Node Tmp

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard40 products
  • arangodb-3.12< 3.12.9.4-r25
  • authentik-2026.2< 2026.2.5-r2
  • authentik-2026.5< 2026.5.3-r6
  • authentik-fips-2026.5< 2026.5.3-r5
  • lerna< 9.0.7-r9
Wolfi7 products
  • lerna< 9.0.7-r9
  • opensearch-dashboards-3-dashboards-reporting< 3.7.0-r0
  • prism< 5.15.11-r3
  • pulumi-language-nodejs< 3.246.0-r1
  • saf< 1.6.0-r1
Raszi2 products
Npm1 product
  • tmp≥ 0.2.6, < 0.2.7
Ubuntu1 product
  • node-tmpAll versions (No fix recorded)

5 vendors · 51 products

References

6 links