CVE-2025-15366: IMAP command injection in user-controlled commands
CVE-2025-15366 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 7.1 (Red Hat), 5.9 (NetApp)
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N· base score 5.9, scored by PSFAttack vector: network. Attack complexity: low. Attack requirements: present. Privileges required: high. User interaction: none. Confidentiality impact on the vulnerable system: low. Integrity impact on the vulnerable system: high. Availability impact on the vulnerable system: none. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: none. Availability impact on subsequent systems: none.- Weakness
- CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
- EPSS
- 0.43% chance of exploitation in the next 30 days (37th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- Fixed releases
- Red Hat: RHSA-2026:5606
- Assigned by
- PSF (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2025-15366; each belongs to its advisory, not to every product listed. How records are collected and checked.
Am I affected by CVE-2025-15366?
The source names the versions below but does not confirm which products they belong to. Check the vendor advisory before you decide.
| Versions named | Fixed in |
|---|---|
| NetApp: 3.15 | No fixed release on this branch listed by the vendor |
| Red Hat: discovery/discovery-server-rhel9:1775668717 | No fixed release on this branch listed by the vendor |
| Red Hat: python3-12-main-3.12.13-3.hum1 | No fixed release on this branch listed by the vendor |
| Red Hat: python3-0:3.6.8-47.el8_6.11 | No fixed release on this branch listed by the vendor |
| Red Hat: python3-0:3.6.8-39.el8_4.9 | No fixed release on this branch listed by the vendor |
| Red Hat: python3.11-0:3.11.2-2.el8_8.8 | No fixed release on this branch listed by the vendor |
| Red Hat: python3.12-0:3.12.12-4.el9_7.1 | No fixed release on this branch listed by the vendor |
| Red Hat: rhui5/rhua-rhel9:1773670137 | No fixed release on this branch listed by the vendor |
| Red Hat: python3.11-0:3.11.13-5.1.el9_7 | No fixed release on this branch listed by the vendor |
| Red Hat: rhaiis/vllm-rocm-rhel9:1775680262 | No fixed release on this branch listed by the vendor |
| Red Hat: python3-0:3.6.8-24.el8_2.6 | No fixed release on this branch listed by the vendor |
| Red Hat: python3.9-0:3.9.21-2.el9_6.4 | No fixed release on this branch listed by the vendor |
| Red Hat: python3.12-0:3.12.9-1.el9_6.6 | No fixed release on this branch listed by the vendor |
Also listed as fixed: Red Hat: RHSA-2026:5606
Description
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
Text from the CVE.org record (PSF).
How do I fix CVE-2025-15366?
Upgrade to a fixed release named by the vendor:
- Red Hat: RHSA-2026:5606
- Update the affected package(s) to the fixed version shipped in RHSA-2026:5606 (`sudo dnf update` / `yum update`). (Red Hat)
Vendor advisories for CVE-2025-15366
NetApp
1 advisory- Advisory severityMedium5.9
Medium [CVE-2025-15366] Python Vulnerability in NetApp Products
NTAP-20260305-0012Source published Source updated
Multiple NetApp products incorporate Python. Python versions prior to 3.15.0a6 are susceptible to a vulnerability which when successfully exploited could lead to disclosure of sensitive information or addition or modification of data. Affected products: Active IQ Unified Manager for Microsoft Windows, Active IQ Unified Manager for VMware vSphere. NetApp reports that one or more additional products remain under investigation; review the canonical advisory for current status. NetApp states there is no workaround available at this time.
- Affected products in this advisory
- Active IQ Unified Manager for Microsoft Windows
- Active IQ Unified Manager for VMware vSphere
- Source-reported affected versions
- 3.15
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
Red Hat
1 advisory- Advisory severityHigh7.1
High [CVE-2025-15366] IMAP command injection in user-controlled commands
CVE-2025-15366Source published
IMAP command injection in user-controlled commands. Red Hat rates this moderate (CVSS 7.1). Weakness: CWE-77. Affected package(s): discovery/discovery-server-rhel9:1775668717, python3, python3.11, python3.12, rhui5/rhua-rhel9:1773670137, rhaiis/vllm-rocm-rhel9:1775680262. Resolved in Red Hat advisory RHSA-2026:5606 — update the affected packages (`sudo dnf update`).
- Related products — impact not confirmed
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 1
- Red Hat Enterprise Linux 6
6 more entries in the full advisory.
- Source-reported affected versions
- discovery/discovery-server-rhel9:1775668717
- python3-12-main-3.12.13-3.hum1
- python3-0:3.6.8-47.el8_6.11
- python3-0:3.6.8-39.el8_4.9
8 more entries in the full advisory.
- Source-reported fixed versions
- RHSA-2026:5606
- Mitigation guidance
- Update the affected package(s) to the fixed version shipped in RHSA-2026:5606 (`sudo dnf update` / `yum update`).
References
- CVE-2025-15366 recordCVE.org
- CVE-2025-15366 detailNVD
- github.com/python/cpython/issues/143921issue-tracking
- github.com/python/cpython/pull/143922patch
- mail.python.org/archives/list/[email protected]/thread/DD7C7JZJYTB…vendor-advisory
- github.com/python/cpython/commit/6262704b134db2a4ba12e85ecfbd968534f28b45patch
- github.com/python/cpython/commit/d0921efb665aff26b378f495e5ff84f7e3fe649dpatch
- github.com/python/cpython/commit/f2cd7ef89aa8a0dcbc7283bbd39548b76f2a736apatch
- github.com/python/cpython/commit/298182272a740ce2016aee2f54acbd0bba1944c1patch
- github.com/python/cpython/commit/71926d943c05bde79bd2a866933103541d91b6a2patch
Timeline
- First vendor advisory listed by VulniPulse
- CVE record published
- CVE record last updated
More NetApp advisories
CVE-2026-114940Nov 18, 2026Java SE Vulnerability in NetApp ProductsCVE-2026-91395Oct 30, 2026October 2026 Java SE 8u503, 11.0.32.1 Vulnerabilities in NetApp ProductsCVE-2026-114820Oct 28, 2026Java SE Vulnerability in NetApp ProductsCVE-2026-22063Oct 27, 2026eMudhra CA Certificate Compromise in NetApp ProductsCVE-2024-13009Oct 21, 2026Jetty Vulnerability in NetApp ProductsCVE-2026-64958Sep 11, 2026Apache CXF Vulnerability in NetApp Products
Get an email when NetApp publishes the next one.
See NetApp's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.