[3.12] gh-145506: Fixes CVE-2026-2297 by ensuring SourcelessFileLoader uses io.open_code (GH-145507) by miss-islington · Pull Request #145514 · python/cpython · GitHub
Skip to content

[3.12] gh-145506: Fixes CVE-2026-2297 by ensuring SourcelessFileLoader uses io.open_code (GH-145507) - #145514

Merged
Yhg1s merged 1 commit into
python:3.12from
miss-islington:backport-a51b1b5-3.12
Aug 4, 2026
Merged

Yhg1s merged 1 commit into
python:3.12from
miss-islington:backport-a51b1b5-3.12

Conversation

@miss-islington

@miss-islington miss-islington commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

… uses io.open_code (pythonGH-145507)

(cherry picked from commit a51b1b5)

Co-authored-by: Steve Dower <steve.dower@python.org>
@zooba zooba added the type-security A security issue label Mar 17, 2026
@max-allan-cgr

Copy link
Copy Markdown

@zooba

zooba commented May 13, 2026

Copy link
Copy Markdown
Member

octo-sts Bot pushed a commit to wolfi-dev/os that referenced this pull request May 20, 2026
Landing this fix was overlooked for specifically 3.12
(python/cpython#145514 (comment)):
we already have cherry-picks in place for this change for all other
Python versions, this keeps us consistent.

Export:  0524df7f9cdee20e7fed0f43d4516e24e938d7e6
@Yhg1s
Yhg1s merged commit c70adad into python:3.12 Aug 4, 2026
32 checks passed
@miss-islington
miss-islington deleted the backport-a51b1b5-3.12 branch August 4, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants