IMAP command injection in Python - CVE-2025-15366
Published: February 13, 2026
Vulnerability identifier: #VU122818
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-15366
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Python.org
Affected software:
Python
Python
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary IMAP commands.
The vulnerability exists due to insufficient input validation. A remote attacker can pass specially crafted data to the application and execute arbitrary IMAP commands.
How to mitigate CVE-2025-15366
Install updates from vendor's website.