GHSA-7c78-jf6q-g5cm · 深刻度: high · エコシステム: npm — tmp: Type-confusion bypass of _assertPath allows path traversal via non-string prefix/postfix/template
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.
総合評価: CVE-2026-49982 は悪用リスクが高い(61.4/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.50%、39 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-23 | 0.45% | 0.50% | +0.05% |
| 2 | 2026-06-15 | 0.05% | 0.45% | +0.40% |
| 3 | 2026-06-12 | — | 0.05% | — |
EPSS の全履歴 (全 3 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.2 | 3.1 | HIGH |
|
3.9 | 4.2 | [email protected] |
GHSA-7c78-jf6q-g5cm · 深刻度: high · エコシステム: npm — tmp: Type-confusion bypass of _assertPath allows path traversal via non-string prefix/postfix/template
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2026-49982 unimportant priority: Debian including 1 source packages (node-tmp), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2026-49982 |
suse
|
medium | CVE-2026-49982 severity moderate: SUSE including 61 source package names (cockpit, cockpit-bridge, …), 276 product×package rows across 29 product lines (SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, … (29 product lines)): Known Not Affected 276. | https://www.suse.com/security/cve/CVE-2026-49982/ |
| URL | タグ |
|---|---|
| https://github.com/raszi/node-tmp/security/advisories/GHSA-7c78-jf6q-g5cm | Exploit Mitigation Vendor Advisory |