Skip to content

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

Open
miss-islington wants to merge 3 commits into
python:3.13from
miss-islington:backport-9e863fa-3.13
Open

[3.13] gh-151544: Fixes CVE-2026-12003 by removing the fallback to %VPATH%/Modules/Setup.local for discovering sources in getpath.py (GH-151545)#151566
miss-islington wants to merge 3 commits into
python:3.13from
miss-islington:backport-9e863fa-3.13

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>
@read-the-docs-community

read-the-docs-community Bot commented Jun 16, 2026

Copy link
Copy Markdown

@zooba zooba requested a review from brettcannon as a code owner June 17, 2026 22:28
Comment thread Tools/wasm/wasi.py
Comment on lines +297 to +300
pybuilddir_txt = working_dir / "pybuilddir.txt"
if not pybuilddir_txt.exists():
os.symlink(CHECKOUT / "pybuilddir.txt", pybuilddir_txt)
print(f"📝 Symlinked {pybuilddir_txt} to normal location")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Holding the backport until I get an ack from the WASI folk on this change (which is also in the 3.14 PR where they've been tagged).

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants