CVE-2026-3087

NameCVE-2026-3087
DescriptionIf `shutil.unpack_archive()` is given a ZIP archive with an absolute Windows path containing a drive (`C:\\...`) then the archive will be extracted outside the target directory which is different than other operating systems. Only Windows is affected by this vulnerability.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pypy3 (PTS)bullseye7.3.5+dfsg-2+deb11u2fixed
bullseye (security)7.3.5+dfsg-2+deb11u5fixed
bookworm7.3.11+dfsg-2+deb12u3fixed
trixie7.3.19+dfsg-2fixed
forky, sid7.3.21+dfsg-4fixed
python3.11 (PTS)bookworm3.11.2-6+deb12u6fixed
bookworm (security)3.11.2-6+deb12u3fixed
python3.13 (PTS)trixie3.13.5-2fixed
forky, sid3.13.12-1fixed
python3.14 (PTS)forky3.14.3-3fixed
sid3.14.4-2fixed
python3.9 (PTS)bullseye3.9.2-1fixed
bullseye (security)3.9.2-1+deb11u6fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pypy3source(unstable)(not affected)
python3.11source(unstable)(not affected)
python3.13source(unstable)(not affected)
python3.14source(unstable)(not affected)
python3.9source(unstable)(not affected)

Notes

- python3.14 <not-affected> (Windows-specific)
- python3.13 <not-affected> (Windows-specific)
- python3.11 <not-affected> (Windows-specific)
- python3.9 <not-affected> (Windows-specific)
- pypy3 <not-affected> (Windows-specific)
https://mail.python.org/archives/list/security-announce@python.org/thread/X6FXE5C6KDKOVNX3EC3DWD5RUPFWOZA4/
https://github.com/python/cpython/pull/146591
https://github.com/python/cpython/issues/146581

Search for package or bug name: Reporting problems