Summary
CVE-2026-73856 is a response body inspection bypass (CWE-178: Improper Handling of Case Sensitivity) in OWASP ModSecurity v3 (libmodsecurity3). A response whose Content-Type uses different letter case than the configured lowercase MIME type can avoid RESPONSE_BODY inspection. The issue is rated High (CVSS 8.6).
Technical details
- Root cause: ModSecurity compares the response Content-Type case-sensitively against the media types configured for response body inspection (
SecResponseBodyMimeType). A mixed-case media type that is semantically equivalent to a configured lowercase type (for exampleText/Htmlinstead oftext/html) is not matched. - Trigger conditions: The protected application or backend returns a response with a mixed-case Content-Type. ModSecurity v3 is configured with response body inspection.
- Attack vector: Network. No privileges or user interaction are required, and attack complexity is low.
- Impact: The response body is not inspected, so phase 4 (RESPONSE_BODY) rules that should block sensitive data leakage do not fire. This leads to high confidentiality impact. The vector rates scope as changed. The advisory lists no integrity or availability impact.
- No active exploitation in the wild has been confirmed in the sources reviewed.
Affected software
- ModSecurity (libmodsecurity3) 3.0.0 through 3.0.16 (inclusive)
Severity
- CVSS v3.1 base score: 8.6 (High)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: Upgrade ModSecurity v3 (libmodsecurity3) to 3.0.17 or later. Also update the connector and distribution packages that bundle libmodsecurity.
- If no patch is available: No vendor workaround is documented. Until you can upgrade, don’t rely on phase 4 response body rules as the only control against sensitive data leakage. Review application-side controls as well.

