CVE-2026-12243 | Path Traversal via Percent-Encoding in nltk.data.find() and nltk.data.load()

Exp

NLTK version 3.9.4 is vulnerable to a path traversal attack due to an incomplete fix for GitHub Issue #3504. The `_UNSAFE_NO_PROTOCOL_RE` regex in `nltk/data.py` checks for literal `../` sequences but fails to account for percent-encoded traversal sequences such as `..%2f`. The `url2pathname()` function decodes these sequences after the validation step, allowing an attacker to bypass the protection. This vulnerability enables an attacker to read arbitrary files accessible to the Python process by controlling the resource name parameter passed to `nltk.data.load()` or `nltk.data.find()`. The issue affects applications that rely on NLTK for resource loading, including NLP web applications, Jupyter notebooks, and CLI tools. The default `pathsec.ENFORCE=False` setting exacerbates the impact by not blocking the file read at the `open()` stage.

公開: 2026-06-29 最終更新: 2026-06-30 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2026-12243 は公開エクスプロイトあり(58.5/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.49%、39 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2026-12243 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
nvd_ref exploit_tag Exploit-DB ↗

CVE-2026-12243 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-30 0.49%

EPSS の全履歴 (全 1 件)

CVE-2026-12243 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
7.5 3.0 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
3.9 3.6 [email protected]

CVE-2026-12243 の弱点分類(列挙)

CVE-2026-12243 の GitHub Security Advisory

GHSA-q5h6-fcf5-49g9 · 深刻度: high — NLTK version 3.9.4 is vulnerable to a path traversal attack due to an incomplete fix for GitHub...

CVE-2026-12243 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2026-12243 not yet assigned priority: Debian including 1 source packages (nltk), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 5. https://security-tracker.debian.org/tracker/CVE-2026-12243
redhat high https://access.redhat.com/security/cve/CVE-2026-12243
ubuntu medium CVE-2026-12243 medium priority: Ubuntu including 1 source packages (nltk), 8 status rows across 8 suites (bionic, focal, jammy, noble, questing, resolute, trusty, upstream): needs-triage 8. https://ubuntu.com/security/CVE-2026-12243

CVE-2026-12243 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
nltk nltk 3.9.4 cpe:2.3:a:nltk:nltk:3.9.4:*:*:*:*:*:*:*

CVE-2026-12243 の参考情報

URL タグ
https://huntr.com/bounties/39aa9354-54ca-4e77-96da-580eb1fe6ed1 Exploit Mitigation Third Party Advisory
cvelogic Threat Intelligence