You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reject control characters in more places in http.cookies.Morsel #145599
Sadly no, Python 3.9 reached its end-of-life last year, and it no longer gets security fixes: https://devguide.python.org/versions/ It's now time to upgrade to a newer Python version.
If you cannot upgrade, you should be able to copy Lib/http/cookies.py from a recent Python version to your project.
Activity
gh-145599, CVE 2026-3644: Reject control characters in `http.cookies.…
pythongh-145599, CVE 2026-3644: Reject control characters in `http.co…
pythongh-145599, CVE 2026-3644: Reject control characters in `http.co…
pythongh-145599, CVE 2026-3644: Reject control characters in `http.co…
pythongh-145599, CVE 2026-3644: Reject control characters in `http.co…
pythongh-145599, CVE 2026-3644: Reject control characters in `http.co…
[3.13] gh-145599, CVE 2026-3644: Reject control characters in `http.c…
[3.14] gh-145599, CVE 2026-3644: Reject control characters in `http.c…
nikhilgv commentedon Mar 19, 2026
Hello @StanFromIreland, will this be backported to 3.9?
vstinner commentedon Mar 19, 2026
Sadly no, Python 3.9 reached its end-of-life last year, and it no longer gets security fixes: https://devguide.python.org/versions/ It's now time to upgrade to a newer Python version.
If you cannot upgrade, you should be able to copy
Lib/http/cookies.pyfrom a recent Python version to your project.lang/python314: security update to 3.14.4
2 remaining items
lang/python314: security update to 3.14.4
lang/python314: security update to 3.14.4
lang/python314: Security update to 3.14.4
lang/python314: Security update to 3.14.4
pythongh-145599, CVE 2026-3644: Reject control characters in `http.co…
[3.10] gh-145599, CVE 2026-3644: Reject control characters in `http.c…
[3.11] gh-145599, CVE 2026-3644: Reject control characters in `http.c…
lang/python314: Security update to 3.14.4
lang/python314: Security update to 3.14.4
[3.12] gh-145599, CVE 2026-3644: Reject control characters in `http.c…
package/python3: security bump to v3.12.14
[CVE 2026-3644] Reject control characters in `http.cookies.Morsel.upd…
[CVE 2026-3644] Reject control characters in `http.cookies.Morsel.upd…
[CVE 2026-3644] Reject control characters in `http.cookies.Morsel.upd…
[CVE 2026-3644] Reject control characters in `http.cookies.Morsel.upd…