FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.10] gh-145599, CVE 2026-3644: Reject control characters in `http.cookies.Morsel.update()` (#145600) by vstinner · Pull Request #146027 · python/cpython · GitHub

Repository navigation

[3.10] gh-145599, CVE 2026-3644: Reject control characters in http.cookies.Morsel.update() (#145600) - #146027

Merged
pablogsal merged 2 commits into
python:3.10from
vstinner:cookies10
Jun 27, 2026
Merged

pablogsal merged 2 commits into
python:3.10from
vstinner:cookies10

Conversation

vstinner commented Mar 16, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Reject control characters in http.cookies.Morsel.update() and http.cookies.BaseCookie.js_output.

(cherry picked from commit 57e88c1)

…okies.Morsel.update()` (python#145600)

Reject control characters in `http.cookies.Morsel.update()` and `http.cookies.BaseCookie.js_output`.

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Victor Stinner <victor.stinner@gmail.com>
(cherry picked from commit 57e88c1)

vstinner left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM.

I backported manually the change from the main branch to fix a conflict in Lib/test/test_http_cookies.py.

…kchwZV.rst

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>

This comment was marked as spam.

github-actions Bot added the stale Stale PR or inactive for long period of time. label May 18, 2026
StanFromIreland removed the stale Stale PR or inactive for long period of time. label May 18, 2026
pablogsal merged commit 556aa09 into python:3.10 Jun 27, 2026
15 checks passed
vstinner deleted the cookies10 branch June 29, 2026 13:07
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

Labels

type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL