gh-148169: Fix webbrowser %action substitution bypass of dash-prefix check#148170
Merged
StanFromIreland merged 5 commits intopython:mainfrom Apr 13, 2026
Merged
gh-148169: Fix webbrowser %action substitution bypass of dash-prefix check#148170StanFromIreland merged 5 commits intopython:mainfrom
%action substitution bypass of dash-prefix check#148170StanFromIreland merged 5 commits intopython:mainfrom
Conversation
sethmlarson
approved these changes
Apr 6, 2026
gpshead
reviewed
Apr 6, 2026
gpshead
approved these changes
Apr 13, 2026
Member
Author
|
Thanks for the reviews! |
|
Thanks @StanFromIreland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11, 3.12, 3.13, 3.14. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Apr 13, 2026
…-prefix check (pythonGH-148170) (cherry picked from commit d22922c) Co-authored-by: Stan Ulbrych <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Apr 13, 2026
…-prefix check (pythonGH-148170) (cherry picked from commit d22922c) Co-authored-by: Stan Ulbrych <[email protected]>
|
Sorry, @StanFromIreland, I could not cleanly backport this to |
|
GH-148516 is a backport of this pull request to the 3.14 branch. |
StanFromIreland
added a commit
to StanFromIreland/cpython
that referenced
this pull request
Apr 13, 2026
…of dash-prefix check (pythonGH-148170) (cherry picked from commit d22922c) Co-authored-by: Stan Ulbrych <[email protected]>
|
GH-148519 is a backport of this pull request to the 3.12 branch. |
StanFromIreland
added a commit
to StanFromIreland/cpython
that referenced
this pull request
Apr 13, 2026
…of dash-prefix check (pythonGH-148170) (cherry picked from commit d22922c) Co-authored-by: Stan Ulbrych <[email protected]>
StanFromIreland
added a commit
to StanFromIreland/cpython
that referenced
this pull request
Apr 13, 2026
…of dash-prefix check (pythonGH-148170) (cherry picked from commit d22922c) Co-authored-by: Stan Ulbrych <[email protected]>
|
GH-148520 is a backport of this pull request to the 3.11 branch. |
StanFromIreland
added a commit
to StanFromIreland/cpython
that referenced
this pull request
Apr 13, 2026
…of dash-prefix check (pythonGH-148170) (cherry picked from commit d22922c) Co-authored-by: Stan Ulbrych <[email protected]>
|
GH-148521 is a backport of this pull request to the 3.10 branch. |
This was referenced Apr 20, 2026
Closed
octo-sts-6 Bot
pushed a commit
to wolfi-dev/os
that referenced
this pull request
Apr 23, 2026
- **CVE-2026-6100** (Critical, CVSS 9.1) — Use-after-free in `lzma.LZMADecompressor`, `bz2.BZ2Decompressor`, and `gzip.GzipFile` when a decompressor instance is re-used after MemoryError. Cherry-pick of commit `6a5f79c8` from the 3.14 branch. - GHSA: GHSA-pg25-7cx5-cvcm - Upstream: python/cpython#148480 - **CVE-2026-1502** (Medium) — CR/LF bytes not rejected in HTTP client proxy tunnel headers. Cherry-pick of commit `b1cf9016` from the 3.14 branch. - GHSA: GHSA-hjxq-7w9q-2jw6 - Upstream: python/cpython#148342 - **CVE-2026-4786** (High) — Incomplete mitigation of CVE-2026-4519; `%action` substitution bypass of dash-prefix check in `webbrowser`. Cherry-pick of commit `d22922c8` from main (3.14 backport PR #148516 is open and mergeable; identical file changes verified). - GHSA: GHSA-cccx-m78h-m3xw - Upstream: python/cpython#148170 Signed-off-by: Brian Carey <[email protected]> Export: edefd2a320a9e3d0ed5d7eb99a5b6f5c35bcb7fc
ljfp
pushed a commit
to ljfp/cpython
that referenced
this pull request
Apr 25, 2026
This was referenced Apr 27, 2026
Closed
hugovk
pushed a commit
that referenced
this pull request
Apr 29, 2026
…h-prefix check (GH-148170) (#148516) Co-authored-by: Stan Ulbrych <[email protected]>
hugovk
pushed a commit
that referenced
this pull request
Apr 29, 2026
…h-prefix check (GH-148170) (#148517) Co-authored-by: Stan Ulbrych <[email protected]>
This was referenced May 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
webbrowser:%actionsubstitution can bypass the dash-prefix check #148169