Description
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. From 3.0.0 until 3.0.17, src/transaction.cc compares a response Content-Type value against SecResponseBodyMimeType entries case-sensitively. A mixed-case response media type that is semantically equivalent to a configured lowercase type can therefore be treated as unconfigured, causing ModSecurity to skip RESPONSE_BODY inspection. An unauthenticated requester can then receive response content that a phase 4 rule would otherwise block, including sensitive error or debug data. This issue is fixed in version 3.0.17.
Published: 2026-11-05
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: Response Body Inspection Bypass exposing sensitive data
Action: Immediate Patch
AI Analysis

Impact

ModSecurity, a widely used web application firewall, fails to interrogate response bodies correctly when the Content-Type header contains a mixed‑case MIME type that is semantically equivalent to a lower‑case value defined in SecResponseBodyMimeType. The faulty case‑sensitive string comparison causes ModSecurity to skip the RESPONSE_BODY inspection phase, allowing an unauthenticated requester to receive content that phase‑4 rules would otherwise block. This flaw can expose sensitive error or debug information, compromising confidentiality. The weakness is an improper equality comparison (CWE‑178).

Affected Systems

All ModSecurity releases from 3.0.0 up to and including 3.0.17 are affected. The flaw applies to the engine when deployed behind Apache, IIS, or Nginx web servers, as the transaction.cc component executing the comparison is common to all platforms.

Risk and Exploitability

With a CVSS score of 8.6, the vulnerability is considered high severity. The EPSS score is not currently available, so the measured probability of exploitation is unknown, but the issue is not listed in the CISA KEV catalog, suggesting no confirmed public exploits yet. An attacker only needs to issue an unauthenticated HTTP request that elicits a response containing a mixed‑case Content-Type header matching a configured lower‑case MIME type. Successful exploitation would bypass ModSecurity’s response body inspection and disclose sensitive data that would normally be blocked.

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 3.0.17 or later, which corrects the case‑sensitive MIME type comparison in transaction.cc.
  • After the upgrade, adjust SecResponseBodyMimeType entries to match the exact case of the Content‑Type headers used in legitimate responses, or modify them to use the same case to avoid accidental bypass.
  • If an immediate upgrade is not possible, create temporary WAF rules that block responses when the Content‑Type header contains mixed‑case MIME types that match any configured SecResponseBodyMimeType value until the patch is applied.

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 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. From 3.0.0 until 3.0.17, src/transaction.cc compares a response Content-Type value against SecResponseBodyMimeType entries case-sensitively. A mixed-case response media type that is semantically equivalent to a configured lowercase type can therefore be treated as unconfigured, causing ModSecurity to skip RESPONSE_BODY inspection. An unauthenticated requester can then receive response content that a phase 4 rule would otherwise block, including sensitive error or debug data. This issue is fixed in version 3.0.17.
Title ModSecurity: Response Body Inspection Bypass
Weaknesses CWE-178
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-05T15:50:09.778Z

Reserved: 2026-08-13T17:44:28.645Z

Link: CVE-2026-73856

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-73856

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T17:45:06Z

Weaknesses
  • CWE-178

    Improper Handling of Case Sensitivity