Skip to content

[3.12] gh-151544: Fixes CVE-2026-12003 by removing the fallback to %VPATH%/Modules/Setup.local for discovering sources in getpath.py (GH-151545) - #151567

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

Conversation

@miss-islington

@miss-islington miss-islington commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

…ATH%/Modules/Setup.local for discovering sources in getpath.py (pythonGH-151545)

(cherry picked from commit 9e863fa)

Co-authored-by: Steve Dower <steve.dower@python.org>
@zooba

zooba commented Jun 22, 2026

Copy link
Copy Markdown
Member

@Yhg1s This is ready for merging - it's possible that the WASI issue that held up 3.14 and 3.13 fixes also applies here, but it was a tier 3 platform for 3.12 (and obviously doesn't affect CI), so I'm not sure it's worth updating the tools to get the new command line argument to override argv[0] that's needed to fix the not-quite-right in-tree builds that might be broken (was that sentence enough of a mouthful of caveats? 🙃 )

#151928 has the extra fixes, but they likely don't backport cleanly because of the frequent changes to the WASI build scripts around this time.

Let me know what you'd prefer here.

@Yhg1s
Yhg1s merged commit 03ab7b4 into python:3.12 Aug 4, 2026
28 checks passed
@miss-islington
miss-islington deleted the backport-9e863fa-3.12 branch August 4, 2026 09:24
@Yhg1s

Yhg1s commented Aug 4, 2026

Copy link
Copy Markdown
Member

#151928 has the extra fixes, but they likely don't backport cleanly because of the frequent changes to the WASI build scripts around this time.

Let me know what you'd prefer here.

I'll let WASM/WASI folks complain and suggest a fix if it doesn't build and they still care about 3.12 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants