René's URL Explorer Experiment


Title: gh-146581: Fix vulnerability in shutil.unpack_archive() for ZIP files on Windows by serhiy-storchaka · Pull Request #146591 · python/cpython · GitHub

Open Graph Title: gh-146581: Fix vulnerability in shutil.unpack_archive() for ZIP files on Windows by serhiy-storchaka · Pull Request #146591 · python/cpython

X Title: gh-146581: Fix vulnerability in shutil.unpack_archive() for ZIP files on Windows by serhiy-storchaka · Pull Request #146591 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Use ZipFile.extractall() to sanitize file names and extract files. Files with invalid names (e.g. absolute paths) are now skipped. Files containing ".." in the name are no longer skipped....

X Description: Use ZipFile.extractall() to sanitize file names and extract files. Files with invalid names (e.g. absolute paths) are now skipped. Files containing ".." in the name are no longer ...

Opengraph URL: https://github.com/python/cpython/pull/146591

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:7fa91479-881e-6f22-0665-b67736c4b8fb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD680:3EAB89:E98F8E:142BAFF:6A55CAD5
html-safe-nonce6aac8c388bf1f944b276fec5d1772858a1de6dcde70b0c88e7cb7b4ae2dc2f2d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjgwOjNFQUI4OTpFOThGOEU6MTQyQkFGRjo2QTU1Q0FENSIsInZpc2l0b3JfaWQiOiI0OTk5Mjc2NDk2MjA2Mjg1NTI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2510788ac4a005c2341fbffb273857073bfb26983adf7568fdd992bd2fa0467c
hovercard-subject-tagpull_request:3462223329
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/146591/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/32e0214b488516f6a87fbacd6e92dda943929143342ff5713968448b43d07104/python/cpython/pull/146591
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/32e0214b488516f6a87fbacd6e92dda943929143342ff5713968448b43d07104/python/cpython/pull/146591
og:image:altUse ZipFile.extractall() to sanitize file names and extract files. Files with invalid names (e.g. absolute paths) are now skipped. Files containing ".." in the name are no longer skipped....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8f8e1726192df8dce16872ceb503336c12e9ae78
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/146591#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F146591
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F146591
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/146591
Reloadhttps://github.com/python/cpython/pull/146591
Reloadhttps://github.com/python/cpython/pull/146591
Please reload this pagehttps://github.com/python/cpython/pull/146591
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/146591
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:shutil-unpack_archive-extractallhttps://github.com/serhiy-storchaka/cpython/tree/shutil-unpack_archive-extractall
Conversationhttps://github.com/python/cpython/pull/146591
Commits6 (6)https://github.com/python/cpython/pull/146591/commits
Checkshttps://github.com/python/cpython/pull/146591/checks
Files changedhttps://github.com/python/cpython/pull/146591/files
gh-146581: Fix vulnerability in shutil.unpack_archive() for ZIP files on Windowshttps://github.com/python/cpython/pull/146591#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:shutil-unpack_archive-extractallhttps://github.com/serhiy-storchaka/cpython/tree/shutil-unpack_archive-extractall
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 29, 2026https://github.com/python/cpython/pull/146591#issue-4163622261
Please reload this pagehttps://github.com/python/cpython/pull/146591
shutil.unpack_archive() on Windows writes outside extract_dir for ZIP entries with drive-prefixed names #146581https://github.com/python/cpython/issues/146581
Please reload this pagehttps://github.com/python/cpython/pull/146591
serhiy-storchakahttps://github.com/serhiy-storchaka
February 27, 2026 12:11https://github.com/python/cpython/pull/146591#commits-pushed-7c5ad11
https://github.com/serhiy-storchaka
Fix vulnerability in shutil.unpack_archive() in ZIP fileshttps://github.com/python/cpython/pull/146591/commits/7c5ad11510c5d31e8f18fd61bef21638c61ed314
7c5ad11https://github.com/python/cpython/pull/146591/commits/7c5ad11510c5d31e8f18fd61bef21638c61ed314
https://github.com/serhiy-storchaka
Preserve the current behavior whether it is possible.https://github.com/python/cpython/pull/146591/commits/8d0ade51ba0ed9642701fb4831c8f429fc923452
8d0ade5https://github.com/python/cpython/pull/146591/commits/8d0ade51ba0ed9642701fb4831c8f429fc923452
https://github.com/serhiy-storchaka
Preserve the current behavior whether it is possible.https://github.com/python/cpython/pull/146591/commits/79400843e5e0cfbd64d6b466bfdd9d1a6461dd1f
7940084https://github.com/python/cpython/pull/146591/commits/79400843e5e0cfbd64d6b466bfdd9d1a6461dd1f
https://github.com/serhiy-storchaka
Merge remote-tracking branch 'refs/remotes/origin/shutil-unpack_archi…https://github.com/python/cpython/pull/146591/commits/faddc6721d63249b304f8a0ffe71d5722f8fb445
faddc67https://github.com/python/cpython/pull/146591/commits/faddc6721d63249b304f8a0ffe71d5722f8fb445
https://github.com/serhiy-storchaka
Merge branch 'main' into shutil-unpack_archive-extractallhttps://github.com/python/cpython/pull/146591/commits/76797cc65c047e7b08221479d12a15550028f66b
76797cchttps://github.com/python/cpython/pull/146591/commits/76797cc65c047e7b08221479d12a15550028f66b
https://github.com/serhiy-storchaka
Add a NEWS entry.https://github.com/python/cpython/pull/146591/commits/12cf7350f1192e3ffee32add81c666229bf0b92e
12cf735https://github.com/python/cpython/pull/146591/commits/12cf7350f1192e3ffee32add81c666229bf0b92e
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
giampaolohttps://github.com/giampaolo
code ownerhttps://github.com/python/cpython/blob/6932c3ee6ad29d77ecb3015fdfb9b10e186ca9fd/.github/CODEOWNERS#L573
March 29, 2026 09:57https://github.com/python/cpython/pull/146591#event-24008065182
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
type-security https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-security
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Mar 29, 2026https://github.com/python/cpython/pull/146591#event-24008065224
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 29, 2026 https://github.com/python/cpython/pull/146591#ref-issue-4161096240
shutil.unpack_archive() on Windows writes outside extract_dir for ZIP entries with drive-prefixed names #146581 https://github.com/python/cpython/issues/146581
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 29, 2026https://github.com/python/cpython/pull/146591#event-24008065918
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
sethmlarsonhttps://github.com/sethmlarson
zoobahttps://github.com/zooba
March 29, 2026 09:59https://github.com/python/cpython/pull/146591#event-24008089773
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Mar 29, 2026 https://github.com/python/cpython/pull/146591#ref-pullrequest-4163301856
gh-146581: Use ZipFile.extractall() in shutil for secure ZIP extraction #146588 https://github.com/python/cpython/pull/146588
https://github.com/Shrey-N
Shrey-Nhttps://github.com/Shrey-N
Mar 29, 2026https://github.com/python/cpython/pull/146591#issuecomment-4149893656
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/Shrey-N
Shrey-Nhttps://github.com/Shrey-N
Mar 29, 2026https://github.com/python/cpython/pull/146591#issuecomment-4149896172
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 29, 2026https://github.com/python/cpython/pull/146591#issuecomment-4149921033
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/Shrey-N
Shrey-Nhttps://github.com/Shrey-N
Mar 29, 2026https://github.com/python/cpython/pull/146591#issuecomment-4149936346
Please reload this pagehttps://github.com/python/cpython/pull/146591
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 30, 2026https://github.com/python/cpython/pull/146591#issuecomment-4156894700
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/zooba
zoobahttps://github.com/zooba
Apr 14, 2026 https://github.com/python/cpython/pull/146591#pullrequestreview-4108755585
View reviewed changes https://github.com/python/cpython/pull/146591/files/12cf7350f1192e3ffee32add81c666229bf0b92e
Lib/zipfile/__init__.pyhttps://github.com/python/cpython/pull/146591/files/12cf7350f1192e3ffee32add81c666229bf0b92e#diff-7629293618f2b3cf8ae7daf98526226fa12f047d71645a05497e6687aae10c76
zoobahttps://github.com/zooba
Apr 14, 2026https://github.com/python/cpython/pull/146591#discussion_r3082053588
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/146591
serhiy-storchakahttps://github.com/serhiy-storchaka
Apr 15, 2026https://github.com/python/cpython/pull/146591#discussion_r3084734489
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 14, 2026https://github.com/python/cpython/pull/146591#event-24502143230
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
fc829e8https://github.com/python/cpython/commit/fc829e88753858c8ac669594bf0093f44948c0f4
Apr 27, 2026https://github.com/python/cpython/pull/146591#event-24918753900
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Apr 27, 2026https://github.com/python/cpython/pull/146591#issuecomment-4329579228
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Apr 27, 2026https://github.com/python/cpython/pull/146591#event-24918755674
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
April 27, 2026 18:43https://github.com/python/cpython/pull/146591#event-24918757330
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 27, 2026https://github.com/python/cpython/pull/146591#issuecomment-4329580258
GH-149064https://github.com/python/cpython/pull/149064
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Apr 27, 2026https://github.com/python/cpython/pull/146591#event-24918760894
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 27, 2026https://github.com/python/cpython/pull/146591#issuecomment-4329580805
GH-149065https://github.com/python/cpython/pull/149065
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Apr 27, 2026https://github.com/python/cpython/pull/146591#event-24918763843
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Apr 27, 2026https://github.com/python/cpython/pull/146591#issuecomment-4329581523
@serhiy-storchakahttps://github.com/serhiy-storchaka
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 27, 2026https://github.com/python/cpython/pull/146591#issuecomment-4329581566
GH-149066https://github.com/python/cpython/pull/149066
3.12 branchhttps://github.com/python/cpython/tree/3.12
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
serhiy-storchakahttps://github.com/serhiy-storchaka
Apr 27, 2026https://github.com/python/cpython/pull/146591#event-24918766491
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Apr 27, 2026https://github.com/python/cpython/pull/146591#event-24918766545
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Apr 27, 2026https://github.com/python/cpython/pull/146591#issuecomment-4329581887
@serhiy-storchakahttps://github.com/serhiy-storchaka
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 27, 2026https://github.com/python/cpython/pull/146591#issuecomment-4330011338
GH-149071https://github.com/python/cpython/pull/149071
3.11 branchhttps://github.com/python/cpython/tree/3.11
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Apr 27, 2026https://github.com/python/cpython/pull/146591#event-24920847303
serhiy-storchakahttps://github.com/serhiy-storchaka
Apr 27, 2026 https://github.com/python/cpython/pull/146591#ref-commit-ab5ef98
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.13]https://github.com/python/cpython/commit/ab5ef98af693bded74a738570e81ea70abef2840
gh-146581https://github.com/python/cpython/issues/146581
: Fix vulnerability in shutil.unpack_archive() for ZI…https://github.com/python/cpython/commit/ab5ef98af693bded74a738570e81ea70abef2840
ab5ef98https://github.com/python/cpython/commit/ab5ef98af693bded74a738570e81ea70abef2840
GH-146591https://github.com/python/cpython/pull/146591
GH-149065https://github.com/python/cpython/pull/149065
fc829e8https://github.com/python/cpython/commit/fc829e88753858c8ac669594bf0093f44948c0f4
serhiy-storchakahttps://github.com/serhiy-storchaka
Apr 27, 2026 https://github.com/python/cpython/pull/146591#ref-commit-b01e594
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.14]https://github.com/python/cpython/commit/b01e594fbe754a960212f908d047294e880b52fd
gh-146581https://github.com/python/cpython/issues/146581
: Fix vulnerability in shutil.unpack_archive() for ZI…https://github.com/python/cpython/commit/b01e594fbe754a960212f908d047294e880b52fd
b01e594https://github.com/python/cpython/commit/b01e594fbe754a960212f908d047294e880b52fd
GH-146591https://github.com/python/cpython/pull/146591
GH-149064https://github.com/python/cpython/pull/149064
fc829e8https://github.com/python/cpython/commit/fc829e88753858c8ac669594bf0093f44948c0f4
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
Apr 27, 2026https://github.com/python/cpython/pull/146591#event-24920892854
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Apr 27, 2026https://github.com/python/cpython/pull/146591#event-24920894710
gh-111791: delegating extraction to zipfile module's extractall() method #111824 https://github.com/python/cpython/pull/111824
shutil.unpack_archive skips false negatives containing '..' #111791 https://github.com/python/cpython/issues/111791
https://github.com/gaborbernat
gaborbernathttps://github.com/gaborbernat
Jun 3, 2026 https://github.com/python/cpython/pull/146591#ref-issue-4583078123
Remove private stdlib helpers orphaned by past removals #150882 https://github.com/python/cpython/issues/150882
gaborbernathttps://github.com/gaborbernat
Jun 3, 2026 https://github.com/python/cpython/pull/146591#ref-commit-448cb74
https://github.com/gaborbernat
pythongh-150882https://github.com/python/cpython/issues/150882
: Remove unused shutil._ensure_directoryhttps://github.com/gaborbernat/cpython/commit/448cb743a3cec0a4fd9c6bfdb166eed99cc1a69e
448cb74https://github.com/gaborbernat/cpython/commit/448cb743a3cec0a4fd9c6bfdb166eed99cc1a69e
python#8295https://github.com/python/cpython/pull/8295
pythongh-146581https://github.com/python/cpython/issues/146581
pythonGH-146591https://github.com/python/cpython/pull/146591
gh-150885: Remove unused shutil._ensure_directory #150883 https://github.com/python/cpython/pull/150883
Remove unused private function shutil._ensure_directory #150885 https://github.com/python/cpython/issues/150885
gaborbernathttps://github.com/gaborbernat
Jun 3, 2026 https://github.com/python/cpython/pull/146591#ref-commit-5de9387
https://github.com/gaborbernat
pythongh-150885https://github.com/python/cpython/issues/150885
: Remove unused shutil._ensure_directoryhttps://github.com/gaborbernat/cpython/commit/5de9387355972069dd7f9a19524a15b1e9e43c32
5de9387https://github.com/gaborbernat/cpython/commit/5de9387355972069dd7f9a19524a15b1e9e43c32
python#8295https://github.com/python/cpython/pull/8295
pythongh-146581https://github.com/python/cpython/issues/146581
pythonGH-146591https://github.com/python/cpython/pull/146591
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 7, 2026 https://github.com/python/cpython/pull/146591#ref-commit-e5ced1f
https://github.com/gaborbernat
gh-150885https://github.com/python/cpython/issues/150885
: Remove unused shutil._ensure_directory (https://github.com/python/cpython/commit/e5ced1f7788e77e318165b331d967156f81d6709
GH-150883https://github.com/python/cpython/pull/150883
)https://github.com/python/cpython/commit/e5ced1f7788e77e318165b331d967156f81d6709
e5ced1fhttps://github.com/python/cpython/commit/e5ced1f7788e77e318165b331d967156f81d6709
gh-146581https://github.com/python/cpython/issues/146581
GH-146591https://github.com/python/cpython/pull/146591
philthompson10https://github.com/philthompson10
Jun 17, 2026 https://github.com/python/cpython/pull/146591#ref-commit-77b5cd3
https://github.com/gaborbernat
https://github.com/philthompson10
pythongh-150885https://github.com/python/cpython/issues/150885
: Remove unused shutil._ensure_directory (https://github.com/philthompson10/cpython/commit/77b5cd375bd74cdca0f63d8e843bd34f80b24833
pythonGH-150883https://github.com/python/cpython/pull/150883
77b5cd3https://github.com/philthompson10/cpython/commit/77b5cd375bd74cdca0f63d8e843bd34f80b24833
https://github.com/python/cpython/pull/150883
pythongh-146581https://github.com/python/cpython/issues/146581
pythonGH-146591https://github.com/python/cpython/pull/146591
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F146591
https://github.com/zooba
zooba https://github.com/zooba
https://github.com/python/cpython/pull/146591/files/12cf7350f1192e3ffee32add81c666229bf0b92e
https://github.com/giampaolo
giampaolo https://github.com/giampaolo
https://github.com/sethmlarson
sethmlarson https://github.com/sethmlarson
type-security https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-security
Please reload this pagehttps://github.com/python/cpython/pull/146591
https://github.com/serhiy-storchaka
https://github.com/Shrey-N
https://github.com/zooba
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.