]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-145506: Fixes CVE-2026-2297 by ensuring SourcelessFileLoader uses io.open_c...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 30 Apr 2026 21:18:42 +0000 (23:18 +0200)
committerGitHub <noreply@github.com>
Thu, 30 Apr 2026 21:18:42 +0000 (22:18 +0100)
commit69ddd9bb2cc4bd69b1565647c18659c6a789ccd9
tree4bd8a309f0a2ec8dbbec761eb2d15fccf5936d85
parente20c6c9667c99ecaab96e1a2b3767082841ffc8b
[3.11] gh-145506: Fixes CVE-2026-2297 by ensuring SourcelessFileLoader uses io.open_code (GH-145507) (#145515)

* gh-145506: Fixes CVE-2026-2297 by ensuring SourcelessFileLoader uses io.open_code (GH-145507)
(cherry picked from commit a51b1b512de1d56b3714b65628a2eae2b07e535e)

Co-authored-by: Steve Dower <steve.dower@python.org>
* Fix docs reference

---------

Co-authored-by: Steve Dower <steve.dower@python.org>
Lib/importlib/_bootstrap_external.py
Misc/NEWS.d/next/Security/2026-03-04-18-59-17.gh-issue-145506.6hwvEh.rst [new file with mode: 0644]