English version →
カテゴリ
CVE-2026-28684

python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback

概要

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.

出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

ディストリビューション別の修正状況

各ディストリビューションが公開している、この CVE の修正パッケージ

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく