CVE-2026-61813ModSecurity: Incorrect libcurl TLS hostname verification setting in HttpsClient::download
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.
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | modsecurity | Fix pending | UBUNTU-CVE-2026-61813 | |
| Ubuntu 26.10 | modsecurity-apache | Fix pending | UBUNTU-CVE-2026-61813 | |
| Ubuntu 26.04 | modsecurity | Under investigation | UBUNTU-CVE-2026-61813 | |
| Ubuntu 26.04 | modsecurity-apache | Under investigation | UBUNTU-CVE-2026-61813 | |
| Ubuntu 24.04 | modsecurity | Under investigation | UBUNTU-CVE-2026-61813 | |
| Ubuntu 24.04 | modsecurity-apache | Fix pending | UBUNTU-CVE-2026-61813 | |
| Ubuntu 22.04 | modsecurity | Under investigation | UBUNTU-CVE-2026-61813 | |
| Ubuntu 22.04 | modsecurity-apache | Fix pending | UBUNTU-CVE-2026-61813 | |
| Ubuntu 20.04 | modsecurity | Fix pending | UBUNTU-CVE-2026-61813 | |
| Ubuntu 20.04 | modsecurity-apache | Fix pending | UBUNTU-CVE-2026-61813 | |
| Ubuntu 18.04 | modsecurity-apache | Fix pending | UBUNTU-CVE-2026-61813 | |
| Ubuntu 16.04 | modsecurity-apache | Fix pending | UBUNTU-CVE-2026-61813 | |
| Ubuntu 14.04 | modsecurity-apache | Fix pending | UBUNTU-CVE-2026-61813 | |
| Debian 14 | modsecurity | Fix pending | DEBIAN-CVE-2026-61813 | |
| Debian 14 | modsecurity-apache | Fix pending | DEBIAN-CVE-2026-61813 | |
| Debian 13 | modsecurity | Fix pending | DEBIAN-CVE-2026-61813 | |
| Debian 13 | modsecurity-apache | Fix pending | DEBIAN-CVE-2026-61813 | |
| Debian 12 | modsecurity | Fix pending | DEBIAN-CVE-2026-61813 | |
| Debian 12 | modsecurity-apache | Fix pending | DEBIAN-CVE-2026-61813 | |
| Red Hat Enterprise Linux 10 | mod_security | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mod_security-mlogc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mod_security | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mod_security-mlogc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mod_security | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mod_security-mlogc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | mod_security | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | mod_security-mlogc | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- owasp-modsecurity ModSecurity: affected: < 2.9.15, >= 3.0.0, < 3.0.17
References
- https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-2vqc-36qp-ccmw
- https://github.com/owasp-modsecurity/ModSecurity/commit/cce204806430e4848327aadeb9113e654631a0c1
- https://github.com/owasp-modsecurity/ModSecurity/commit/edca70d853bfb725325137fa40d178beebc324fc
- https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v2.9.15
- https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.17
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.