BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-42246 in Ruby-Lang Net\

High 7.4

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.3.10, 0.4.24, 0.5.14, and 0.6.4, a man-in-the-middle attacker can cause Net::IMAP#starttls to return "successfully", without starting TLS. This issue has been patched in versions 0.3.10, 0.4.24, 0.5.14, and 0.6.4.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.4
CVSS v47.6
EPSS0.4%
EPSS percentile25th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Ruby-Lang Net\ < 0.3.10 ≥ 0.4.0, < 0.4.24 ≥ 0.5.0, < 0.5.14 ≥ 0.6.0, < 0.6.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.3.10, 0.4.24, 0.5.14, and 0.6.4, a man-in-the-middle attacker can cause Net::IMAP#starttls to return "successfully", without starting TLS. This issue has been patched in versions 0.3.10, 0.4.24, 0.5.14, and 0.6.4.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-42246
BreachSpider IDBS-2026-GLOBAL-152749-H
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Published2026-05-09
Last modified2026-08-24
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-325: CWE-325

CWE-392: CWE-392

CWE-393: CWE-393

CWE-636: CWE-636

CWE-754: CWE-754

CWE-841: CWE-841

Related attack patterns (CAPEC)

CAPEC-68 Subvert Code-signing Facilities via CWE-325

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in the Net::IMAP library for Ruby allows a man-in-the-middle attacker to trick the client into believing that a TLS connection has been successfully established, when in fact it has not. This can lead to data interception and other security issues.

The attack vector involves a man-in-the-middle attacker intercepting the communication between the Net::IMAP client and the IMAP server. The attacker can manipulate the response to the STARTTLS command, making the client believe that TLS has been successfully initiated, while in reality, the connection remains unencrypted.

Questions

What is CVE-2026-42246?

A vulnerability in the Net::IMAP library for Ruby allows a man-in-the-middle attacker to trick the client into believing that a TLS connection has been successfully established, when in fact it has not. This can lead to data interception and other security issues.

What is the CVSS score for CVE-2026-42246?

CVE-2026-42246 has CVSS 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.4%.

Is CVE-2026-42246 actively exploited?

No confirmed active exploitation of CVE-2026-42246 as of 2026-09-25.

How do I remediate CVE-2026-42246?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-42246?

CVE-2026-42246 affects Ruby-Lang Net\.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Ruby-Lang","product":"Net\","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-08-24.