CVE-2026-61813
Awaiting Analysis Awaiting Analysis - Queue

ModSecurity TLS Certificate Validation Bypass via CURLOPT_SSL_VERIFYHOST

Vulnerability report for CVE-2026-61813, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-05

Last updated on: 2026-11-12

Assigner: GitHub, Inc.

Description

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Prior to 2.9.15 and 3.0.17, the HttpsClient::download function in src/utils/https_client.cc sets libcurl CURLOPT_SSL_VERIFYHOST to 1 instead of the strict value 2L. Under adversary-in-the-middle and TLS interception conditions, this non-strict setting may weaken TLS peer identity validation and increase the risk of accepting a certificate for an unintended host. End-to-end exploitation is non-trivial in typical environments. This issue is fixed in versions 2.9.15 and 3.0.17.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-05
Last Modified
2026-11-12
Generated
2026-11-13
AI Q&A
2026-11-05
EPSS Evaluated
2026-11-12
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
owasp-modsecurity ModSecurity < 2.9.15
owasp-modsecurity ModSecurity >= 3.0.0, < 3.0.17

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-295 The product does not validate, or incorrectly validates, a certificate.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

ModSecurity versions prior to 2.9.15 and 3.0.17 incorrectly set CURLOPT_SSL_VERIFYHOST to 1 instead of 2L in the HttpsClient::download function. This weakens TLS peer identity validation, potentially allowing man-in-the-middle attacks where unintended hosts could be accepted due to improper certificate validation.

Detection Guidance

To detect this vulnerability, check if your ModSecurity version is below 2.9.15 or 3.0.17. Run commands like 'modsecurity -v' or check package managers (e.g., 'apt list --installed | grep modsecurity'). Inspect logs for TLS interception attempts or unusual certificate validation failures.

Impact Analysis

An attacker could intercept TLS traffic and present a certificate for an unintended host. This could lead to unauthorized access to sensitive data or manipulation of web traffic. Exploitation requires the attacker to be in a position to intercept TLS traffic.

Compliance Impact

This vulnerability may weaken data protection measures by allowing unauthorized interception of sensitive data in transit. Compliance with GDPR (data encryption requirements) and HIPAA (secure transmission standards) could be impacted if TLS validation is compromised.

Mitigation Strategies

Upgrade ModSecurity to version 2.9.15 or 3.0.17 immediately. If upgrading is not possible, manually patch the HttpsClient::download function to set CURLOPT_SSL_VERIFYHOST to 2L in src/utils/https_client.cc. Monitor network traffic for MITM attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-61813. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...