{"id":"CVE-2026-61813","summary":"ModSecurity: Incorrect libcurl TLS hostname verification setting in HttpsClient::download","details":"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.","aliases":["BIT-modsecurity-2026-61813","BIT-modsecurity2-2026-61813","GHSA-2vqc-36qp-ccmw"],"modified":"2026-11-17T13:40:48.810589519Z","published":"2026-11-05T15:48:15.062Z","database_specific":{"cwe_ids":["CWE-295"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61813.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v2.9.15"},{"type":"WEB","url":"https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.17"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61813.json"},{"type":"ADVISORY","url":"https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-2vqc-36qp-ccmw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61813"},{"type":"FIX","url":"https://github.com/owasp-modsecurity/ModSecurity/commit/cce204806430e4848327aadeb9113e654631a0c1"},{"type":"FIX","url":"https://github.com/owasp-modsecurity/ModSecurity/commit/edca70d853bfb725325137fa40d178beebc324fc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/owasp-modsecurity/modsecurity","events":[{"introduced":"0"},{"fixed":"151074aca78a416764b12ba1221e61a17a6c714d"},{"introduced":"c1cd668acb820824e791ba802396c60900eae9c1"},{"fixed":"1925753989ccce977cdaae417b55c9726c7cf02c"},{"fixed":"cce204806430e4848327aadeb9113e654631a0c1"},{"fixed":"edca70d853bfb725325137fa40d178beebc324fc"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2.9.15"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"3.0.0"},{"fixed":"3.0.17"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"cce204806430e4848327aadeb9113e654631a0c1"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"edca70d853bfb725325137fa40d178beebc324fc"}]},{"source":"REFERENCES_TAG","original_tag":"v2.9.15","range":[{"fixed":"151074aca78a416764b12ba1221e61a17a6c714d"}]},{"range":[{"fixed":"1925753989ccce977cdaae417b55c9726c7cf02c"}],"source":"REFERENCES_TAG","original_tag":"v3.0.17"}]}}],"versions":["v2.9.14","v3.0.16","v2.9.13","v3.0.15","v2.9.12","v2.9.11","v2.9.10","v2.9.9","v3.0.14","v3.0.13","v3.0.12","v3.0.11","v3.0.10","v3.0.9","v2.9.7","v2.9.6","v3.0.8","v3.0.7","v3.0.6","v2.9.5","v2.9.4","v3.0.5","v3.0.4","v2.9.3","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.9.2","v2.9.1","v2.9.1-rc1","v2.9.0","v2.9.0-rc2","v2.9.0-rc1","v2.7.4"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-61813.json","vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://github.com/owasp-modsecurity/modsecurity/commit/cce204806430e4848327aadeb9113e654631a0c1","target":{"function":"HttpsClient::download","file":"src/utils/https_client.cc"},"deprecated":false,"digest":{"length":1507,"function_hash":"339769259111207977344403031713653881774"},"id":"CVE-2026-61813-1bde5edf"},{"signature_version":"v1","source":"https://github.com/owasp-modsecurity/modsecurity/commit/cce204806430e4848327aadeb9113e654631a0c1","target":{"file":"src/utils/https_client.cc"},"deprecated":false,"digest":{"line_hashes":["99824594758422801264709930066989445779","57142349443227893229059428591852961975","8919380507655873606349011294560265687","219776961917913894327087283988011685794"],"threshold":0.9},"id":"CVE-2026-61813-2ba53f5a","signature_type":"Line"},{"signature_version":"v1","source":"https://github.com/owasp-modsecurity/modsecurity/commit/edca70d853bfb725325137fa40d178beebc324fc","target":{"file":"apache2/msc_remote_rules.c"},"deprecated":false,"digest":{"line_hashes":["338429275773081973539437806313380044886","19037507654395876009541566039974510493","13819159187685644250763571545507935090","335439451399848793728910562944724674779"],"threshold":0.9},"id":"CVE-2026-61813-90d031d8","signature_type":"Line"},{"digest":{"function_hash":"56360922635991130683626055136965728444","length":2547},"id":"CVE-2026-61813-dd747349","signature_type":"Function","signature_version":"v1","source":"https://github.com/owasp-modsecurity/modsecurity/commit/edca70d853bfb725325137fa40d178beebc324fc","target":{"file":"apache2/msc_remote_rules.c","function":"msc_remote_download_content"},"deprecated":false}],"vanir_signatures_modified":"2026-11-14T01:03:45Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}