CVE-2026-47242
MEDIUM EPSS 3.1%
Published Jun 22, 20261w ago · Modified Jun 23, 20261w ago
5.8 CVSS 4.0
Published Jun 22, 2026 1w ago
Last Modified Jun 23, 2026 1w ago
Description
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, when Net::IMAP#id is called with a hash argument, although the ID field value strings are correctly quoted (escaping quoted specials), they were not validated to prohibit CRLF sequences. While Net::IMAP#enable does process its arguments for aliases, it does not validate them as valid atoms (or as a list of valid atoms). The #to_s value is sent verbatim. Arguments to either command could be used by an attacker to inject arbitrary IMAP commands. This vulnerability is fixed in 0.6.5 and 0.5.15.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction P
Scope X
Threat Intelligence
EPSS Exploit Probability
3.1% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 2
CWE-77 Command Injection Injection
CWE-93
References 1
- github.com https://github.com/ruby/net-imap/security/advisories/GHSA-46q3-7gv7-qmgg
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.