{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-28684","published":"2026-04-20T17:16:33.087000Z","last_modified":"2026-10-26T21:10:00.170000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.6,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-59","CWE-61"],"cpes":[{"criteria":"cpe:2.3:a:saurabh-kumar:python-dotenv:*:*:*:*:*:python:*:*","part":"a","vendor":"saurabh-kumar","product":"python-dotenv","version_end_excluding":"1.2.2"}],"cpes_truncated":false,"vendors":["saurabh-kumar"],"products":["saurabh-kumar/python-dotenv"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-mf9w-mj56-hr94","ecosystem":"PyPI","name":"python-dotenv","purl":"pkg:pypi/python-dotenv","ranges":[{"introduced":"0","fixed":"1.2.2"}],"versions":["0.1.0","0.1.2","0.1.3","0.1.5","0.10.0","0.10.1","0.10.2","0.10.3","0.10.4","0.10.5","0.11.0","0.12.0","0.13.0","0.14.0","0.15.0","0.16.0","0.17.0","0.17.1","0.18.0","0.19.0","0.19.1","0.19.2","0.2.0","0.20.0","0.21.0","0.21.1","0.3.0","0.4.0","0.5.0","0.5.1","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.7.0","0.7.1","0.8.0","0.8.1","0.8.2","0.9.0","0.9.1","1.0.0","1.0.1","1.1.0","1.1.1","1.2.0","1.2.1"],"versions_truncated":false},{"advisory":"PYSEC-2026-2270","ecosystem":"PyPI","name":"python-dotenv","purl":"pkg:pypi/python-dotenv","ranges":[{"introduced":"0","fixed":"1.2.2"}],"versions":["0.1.0","0.1.2","0.1.3","0.1.5","0.10.0","0.10.1","0.10.2","0.10.3","0.10.4","0.10.5","0.11.0","0.12.0","0.13.0","0.14.0","0.15.0","0.16.0","0.17.0","0.17.1","0.18.0","0.19.0","0.19.1","0.19.2","0.2.0","0.20.0","0.21.0","0.21.1","0.3.0","0.4.0","0.5.0","0.5.1","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.7.0","0.7.1","0.8.0","0.8.1","0.8.2","0.9.0","0.9.1","1.0.0","1.0.1","1.1.0","1.1.1","1.2.0","1.2.1"],"versions_truncated":false}],"severity":"medium","priority_score":40,"links":{"html_es":"/es/cve/CVE-2026-28684/","html_en":"/en/cve/CVE-2026-28684/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-28684","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-28684"},"untrusted":{"vendor_name":"Saurabh-kumar","product_name":"Python-dotenv","desc_en":"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.","affected":[{"untrusted_vendor":"theskumar","untrusted_product":"python-dotenv","versions":[]}],"references":[{"url":"https://github.com/theskumar/python-dotenv/commit/790c5c02991100aa1bf41ee5330aca75edc51311","tags":["Patch"]},{"url":"https://github.com/theskumar/python-dotenv/releases/tag/v1.2.2","tags":["Release Notes"]},{"url":"https://github.com/theskumar/python-dotenv/security/advisories/GHSA-mf9w-mj56-hr94","tags":["Exploit","Patch","Vendor Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:12571-1","url":"https://www.suse.com/support/update/","published":"2026-11-16T00:00:00+00:00","severity":"medium","exploited":false,"untrusted":{"title":"python313-pydantic-settings-2.16.3-1.1 on GA media"}},{"source":"suse","id":"SUSE-SU-2026:2724-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20262724-1/","published":"2026-07-01T18:09:54+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Security update for python-python-dotenv"}},{"source":"suse","id":"openSUSE-SU-2026:20952-1","url":"https://www.suse.com/support/update/","published":"2026-06-11T12:45:01+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Security update for python-python-dotenv"}}]}