Skip to content

[3.14] gh-143919: Reject control characters in http cookies#144089

Merged
hugovk merged 1 commit intopython:3.14from
miss-islington:backport-95746b3-3.14
Jan 23, 2026
Merged

[3.14] gh-143919: Reject control characters in http cookies#144089
hugovk merged 1 commit intopython:3.14from
miss-islington:backport-95746b3-3.14

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Jan 20, 2026

(cherry picked from commit 95746b3)

Co-authored-by: Seth Michael Larson seth@python.org
Co-authored-by: Bartosz Sławecki bartosz@ilikepython.com
Co-authored-by: sobolevn mail@sobolevn.me


📚 Documentation preview 📚: https://cpython-previews--144089.org.readthedocs.build/

(cherry picked from commit 95746b3)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Co-authored-by: sobolevn <mail@sobolevn.me>
@sethmlarson sethmlarson requested a review from hugovk January 20, 2026 22:33
@hugovk hugovk merged commit 712452e into python:3.14 Jan 23, 2026
54 checks passed
@miss-islington miss-islington deleted the backport-95746b3-3.14 branch January 23, 2026 11:44
ihvo pushed a commit to ihvo/azurelinux that referenced this pull request Apr 24, 2026
Verified against python/cpython that every CVE patch on the 3.12 fork has a
3.14-branch backport PR that merged before 3.14.4's release on 2026-04-07:

  CVE-2026-0672 → PR python/cpython#144089 (merged 2026-01-23)
  CVE-2026-0865 → PRs python/cpython#143972 + #144761 (merged 2026-01-17 / 02-21)
  CVE-2026-1299 → PR python/cpython#144182 (merged 2026-01-25)
  CVE-2026-4519 → PRs python/cpython#146214 + #148042 (merged 2026-03-23 / 04-03)

The CVE-2025-* patches are even older and were already in 3.14.0 (GA 2025-10).
Carrying patches we don't need adds hunk-maintenance cost, rebase risk, and
auditor confusion with no upside.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

3 participants