CVE-2026-0672
When using http.cookies.Morsel, user-controlled cookie values and …
When using http.cookies.Morsel, user-controlled cookie values and parameters can allow injecting HTTP headers into messages. Patch rejects all control characters within cookie names, values, and parameters.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/python/cpython/commit/62700107418eb2cca3fc88da036a243ea975f172
- github.com/python/cpython/commit/712452e6f1d4b9f7f8c4c92ebfcaac1705faa440
- github.com/python/cpython/commit/7852d72b653fea0199acf5fc2a84f6f8b84eba8d
- github.com/python/cpython/commit/918387e4912d12ffc166c8f2a38df92b6ec756ca
- github.com/python/cpython/commit/95746b3a13a985787ef53b977129041971ed7f70
- github.com/python/cpython/commit/b1869ff648bbee0717221d09e6deff46617f3e85
- github.com/python/cpython/issues/143919
- github.com/python/cpython/pull/143920
- nvd.nist.gov/vuln/detail/CVE-2026-0672
- cve.org/CVERecord?id=CVE-2026-0672
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.