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.
Published: 2026-11-05
Score: 3.7 Low
EPSS: n/a
KEV: No
Impact: TLS hostname verification weakness
Action: Patch Now
AI Analysis

Impact

ModSecurity's HttpsClient::download function incorrectly sets libcurl's SSL_VERIFYHOST option to a non‑strict value (1 instead of 2), weakening the verification of the server’s hostname during TLS handshakes. In the presence of a man‑in‑the‑middle or TLS interception, this may allow the client to accept a certificate issued for an unintended host, thereby exposing the communication to potential spoofing. Although bypassing hostname validation does not immediately grant remote execution, it can facilitate credential theft or data tampering if the attacker controls the TLS link.

Affected Systems

The vulnerability affects the ModSecurity web application firewall engine for Apache, IIS, and Nginx, specifically versions released before ModSecurity 2.9.15 and 3.0.17. The earlier 2.x and 3.x branches contain the insecure setting. Users deploying those editions should review their version and upgrade to at least 2.9.15 or 3.0.17 to eliminate the issue.

Risk and Exploitability

The CVSS base score of 3.7 indicates low severity, and the lack of a publicly disclosed exploit and absence from the CISA KEV catalog suggest limited threat. Nonetheless, the EPSS score is unavailable, so the precise exploitation likelihood is uncertain, but under suitable man‑in‑the‑middle conditions the weakness can be leveraged. The primary attack vector is a TLS interception that forces the client to accept a non‑hostmatching certificate, which requires physical or network control of traffic, making widespread exploitation challenging but still relevant for targeted attacks.

Generated by OpenCVE AI on November 5, 2026 at 17:42 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ModSecurity to version 2.9.15 or later releases 3.0.17 and above to apply the official fix
  • Verify that libcurl’s SSL_VERIFYHOST option is set to the strict value 2 in any custom configuration or in the source before deployment
  • Ensure TLS connections use certificates signed by trusted authorities and validate hostnames in all client code; monitor for suspicious TLS proxy activity

Generated by OpenCVE AI on November 5, 2026 at 17:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 05 Nov 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Modsecurity
Modsecurity modsecurity
Vendors & Products Modsecurity
Modsecurity modsecurity

Thu, 05 Nov 2026 16:00:00 +0000

Type Values Removed Values Added
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.
Title ModSecurity: Incorrect libcurl TLS hostname verification setting in HttpsClient::download
Weaknesses CWE-295
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}


Subscriptions

Modsecurity Modsecurity
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-05T15:48:15.062Z

Reserved: 2026-07-10T20:17:57.991Z

Link: CVE-2026-61813

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-05T16:17:47.797

Modified: 2026-11-05T16:17:47.797

Link: CVE-2026-61813

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T18:00:20Z

Weaknesses
  • CWE-295

    Improper Certificate Validation