UBUNTU-CVE-2026-16052: Low severity ubuntu/python2.7 vulnerability
The http.cookies.Morsel class allows separator semicolons in attribute values and includes them verbatim in all output formats. An attacker who can control these values could use this to relax the cookie's Domain or SameSite restrictions.
Affected Software
Event History
Frequently Asked Questions
What must an attacker be able to control to exploit this issue?
The attacker must be able to control values assigned to http.cookies.Morsel cookie attributes. Exploitation also requires user interaction.
What cookie protections could be weakened?
Semicolons in attribute values are emitted verbatim, which can be used to relax the cookie's Domain or SameSite restrictions.
Which Ubuntu Python packages are identified as affected?
The affected software list includes Ubuntu packages for Python 2.7 and Python 3.4 through 3.9, as well as Python 3.14.
How can I assess whether an application is exposed?
Review application code and dependencies that create http.cookies.Morsel objects, especially where cookie attribute values can be influenced by untrusted input. Check whether those values can contain semicolons and are subsequently sent in cookie output.