Skip to content

[3.13] gh-157190: Fix tarfile data/tar filter bypass via hard link to a symlink - #157192

Merged
encukou merged 3 commits into
python:3.13from
StanFromIreland:backport-480ea4a-3.13
Sep 10, 2026
Merged

encukou merged 3 commits into
python:3.13from
StanFromIreland:backport-480ea4a-3.13

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Sep 8, 2026 •

Copy link
Copy Markdown
Member
@encukou encukou added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Sep 9, 2026
@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @encukou for commit f21d8f3 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F157192%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Sep 9, 2026
@encukou

encukou commented Sep 9, 2026

Copy link
Copy Markdown
Member

(This is 3.13 so unrelated Buildbot failures are expected. There shouldn't be any in tarfile though.)

@encukou
encukou merged commit b8f23e3 into python:3.13 Sep 10, 2026
111 of 131 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @StanFromIreland for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @StanFromIreland and @encukou, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker b8f23e307097552eaea2604383a12ab280520d0d 3.12
@miss-islington-app

Copy link
Copy Markdown

Sorry, @StanFromIreland and @encukou, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker b8f23e307097552eaea2604383a12ab280520d0d 3.11
@miss-islington-app

Copy link
Copy Markdown

Sorry, @StanFromIreland and @encukou, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker b8f23e307097552eaea2604383a12ab280520d0d 3.10
@StanFromIreland
StanFromIreland deleted the backport-480ea4a-3.13 branch September 10, 2026 14:55
@bedevere-app

bedevere-app Bot commented Sep 13, 2026

Copy link
Copy Markdown

GH-157454 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Sep 13, 2026
Yhg1s pushed a commit that referenced this pull request Sep 30, 2026
…k to a symlink (GH-157191)  (GH-157192) (#157454)

* [3.12] gh-157190: Fix tarfile `data`/`tar` filter bypass via hard link to a symlink (GH-157191)  (GH-157192)

(cherry picked from commit 480ea4a)
The backport to 3.13 and below includes a NEWS entry.
(cherry picked from commit b8f23e3)

Co-authored-by: Stan Ulbrych <stan@python.org>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants