# CVE-2026-16052: Cookie Attribute Injection via Unescaped Semicolons in http.cookies.Morsel

- Severity: Low 2.3 (CVSS:4.0, scored by PSF) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 38% of CVEs (2026-11-30)
- Published: 2026-11-12T16:28:03.251Z
- Modified: 2026-11-27T06:56:32.548Z
- Also known as: BIT-LIBPYTHON-2026-16052, BIT-PYTHON-2026-16052, BIT-PYTHON-MIN-2026-16052
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PSF

## Description

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.

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.16.0
- libpython (Bitnami): before 3.16.0
- python (Bitnami): before 3.16.0
- python-min (Bitnami): before 3.16.0

## Every score

- PSF: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Bitnami Vulnerability Database: rating Low

## References

- <https://github.com/python/cpython/pull/161711> (web)
- <https://github.com/python/cpython/issues/161707> (web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/IZL4QUFV7PKGT2JYSU2DCBMLTWYJDGKZ/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-16052> (web)

## Sources

- CVE List: [CVE-2026-16052](https://www.cve.org/CVERecord?id=CVE-2026-16052), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-16052](https://nvd.nist.gov/vuln/detail/CVE-2026-16052), Public domain, modified 2026-11-17
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2026-16052](https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-16052), Apache-2.0, modified 2026-11-27
- Bitnami Vulnerability Database: [BIT-PYTHON-2026-16052](https://osv.dev/vulnerability/BIT-PYTHON-2026-16052), Apache-2.0, modified 2026-11-27
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2026-16052](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-16052), Apache-2.0, modified 2026-11-27

---

Page: https://cve.day/CVE-2026-16052 · Whole record: https://cve.day/CVE-2026-16052.json · Rebuilt by cve.day 2026-11-27T07:07:42.537Z
