GHSA-mf9w-mj56-hr94 · 深刻度: medium · エコシステム: pip — python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback
python-dotenv reads key-value pairs from a .env file and can set them as environment variables. Prior to version 1.2.2, `set_key()` and `unset_key()` in python-dotenv follow symbolic links when rewriting `.env` files, allowing a local attacker to overwrite arbitrary files via a crafted symlink when a cross-device rename fallback is triggered. Users should upgrade to v.1.2.2 or, as a workaround, apply the patch manually.
総合評価: CVE-2026-28684 は公開エクスプロイトあり(50/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.24%、14 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.02% | 0.24% | +0.22% |
| 2 | 2026-04-21 | — | 0.02% | — |
EPSS の全履歴 (全 2 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 6.6 | 3.1 | MEDIUM |
|
1.3 | 5.2 | [email protected] |
GHSA-mf9w-mj56-hr94 · 深刻度: medium · エコシステム: pip — python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-28684 not yet assigned priority: Debian including 1 source packages (python-dotenv), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 5. | https://security-tracker.debian.org/tracker/CVE-2026-28684 |
suse
|
medium | CVE-2026-28684 severity moderate: SUSE including 1 source package names (python311-python-dotenv-1.0.0-150400.9.6.1), 2 product×package rows across 2 product lines (SUSE Linux Enterprise Module for Python 3 15 SP7, SUSE Linux Enterprise Server 15 SP4-TERADATA): First Fixed 2. | https://www.suse.com/security/cve/CVE-2026-28684/ |
ubuntu
|
medium | CVE-2026-28684 medium priority: Ubuntu including 1 source packages (python-dotenv), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, resolute, upstream): needs-triage 7. | https://ubuntu.com/security/CVE-2026-28684 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| saurabh-kumar | python-dotenv | < 1.2.2 | cpe:2.3:a:saurabh-kumar:python-dotenv:*:*:*:*:*:python:*:* |
| URL | タグ |
|---|---|
| https://github.com/theskumar/python-dotenv/commit/790c5c02991100aa1bf41ee5330aca75edc51311 | Patch |
| https://github.com/theskumar/python-dotenv/releases/tag/v1.2.2 | Release Notes |
| https://github.com/theskumar/python-dotenv/security/advisories/GHSA-mf9w-mj56-hr94 | Exploit Patch Vendor Advisory |