VulnarioBlogModSecurity vulnerabilities

ModSecurity Vulnerabilities: The 10 Most Critical ModSecurity Security Bugs (CVEs)

ModSecurity vulnerabilities are security flaws in ModSecurity that attackers can abuse to steal data, take over a server or interrupt a service. ModSecurity is the open-source web application firewall (WAF) engine. The National Vulnerability Database (NVD) lists 27 CVEs for ModSecurity, 0 of them rated critical, and 4 were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.

This guide lists the 10 most critical ModSecurity security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers ModSecurity security basics and a free way to be told about the next ModSecurity CVE as soon as it is published.

Key takeaways

  • No ModSecurity CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
  • 0 ModSecurity CVEs are rated critical (CVSS v3), and 4 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2026-52747, published Jul 10, 2026.
  • You can monitor ModSecurity for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these ModSecurity CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical ModSecurity CVEs at a glance

Most critical ModSecurity vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2026-527478.6 High2026-07-10Security flawNo
2CVE-2024-10198.6 High2024-01-30Improper input validationNo
3CVE-2026-422687.5 High2026-05-12Security flawNo
4CVE-2026-309237.5 High2026-05-05Out-of-bounds readNo
5CVE-2025-488667.5 High2025-06-02Denial of serviceNo
6CVE-2025-479477.5 High2025-05-21Denial of serviceNo
7CVE-2025-271107.5 High2025-02-25Security flawNo
8CVE-2024-462927.5 High2024-10-09Buffer overflowNo
9CVE-2023-382857.5 High2023-07-26Security flawNo
10CVE-2023-288827.5 High2023-04-28Resource exhaustion (DoS)No

Each ModSecurity CVE explained

1. CVE-2026-52747: Security flaw

  • CVSS 8.6 High
  • Published 2026-07-10
  • CWE-180
What NVD says
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on integrity.
Affected versions
before 3.0.16
What to do
Upgrade to 3.0.16 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-52747 (opens in a new tab)

2. CVE-2024-1019: Improper input validation

  • CVSS 8.6 High
  • Published 2024-01-30
  • CWE-20
What NVD says
ModSecurity / libModSecurity 3.0.0 to 3.0.11 is affected by a WAF bypass for path-based payloads submitted via specially crafted request URLs. ModSecurity v3 decodes percent-encoded characters present in request URLs before it separates the URL path component from the optional query string component. This results in an impedance mismatch versus RFC compliant back-end applications.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on integrity.
Affected versions
3.0.0 to before 3.0.12
What to do
Upgrade to 3.0.12 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2024-1019 (opens in a new tab)

3. CVE-2026-42268: Security flaw

  • CVSS 7.5 High
  • Published 2026-05-12
  • CWE-191
What NVD says
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. From 3.0.0 to before 3.0.15, there is an unhandled exception (std::out_of_range) caused by unsigned integer underflow in libmodsecurity3 if the user (administrator) uses a rule any of @verifySSN, @verifyCPF, or @verifySVNR. This vulnerability is fixed in 3.0.15.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
3.0.0 to before 3.0.15
What to do
Upgrade to 3.0.15 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-42268 (opens in a new tab)

4. CVE-2026-30923: Out-of-bounds read

  • CVSS 7.5 High
  • Published 2026-05-05
  • CWE-125
What NVD says
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Libmodsecurity is one component of the ModSecurity v3 project. A segmentation fault occurs when a rule using the t:hexDecode transformation inspects a query string parameter containing a single character. An attacker can exploit this to crash worker processes, causing a denial of service.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
before 3.0.15
What to do
Upgrade to 3.0.15 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-30923 (opens in a new tab)

5. CVE-2025-48866: Denial of service

  • CVSS 7.5 High
  • Published 2025-06-02
  • CWE-1050
What NVD says
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Versions prior to 2.9.10 contain a denial of service vulnerability similar to GHSA-859r-vvv8-rm8r/CVE-2025-47947. The `sanitiseArg` (and `sanitizeArg` - this is the same action but an alias) is vulnerable to adding an excessive number of arguments, thereby leading to denial of service.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
before 2.9.10
What to do
Upgrade to 2.9.10 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2025-48866 (opens in a new tab)

6. CVE-2025-47947: Denial of service

  • CVSS 7.5 High
  • Published 2025-05-21
  • CWE-1050
What NVD says
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Versions up to and including 2.9.8 are vulnerable to denial of service in one special case (in stable released versions): when the payload's content type is `application/json`, and there is at least one rule which does a `sanitiseMatchedBytes` action.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
before 2.9.9
What to do
Upgrade to 2.9.9 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2025-47947 (opens in a new tab)

7. CVE-2025-27110: Security flaw

  • CVSS 7.5 High
  • Published 2025-02-25
  • CWE-172
What NVD says
Libmodsecurity is one component of the ModSecurity v3 project. The library codebase serves as an interface to ModSecurity Connectors taking in web traffic and applying traditional ModSecurity processing. A bug that exists only in Libmodsecurity3 version 3.0.13 means that, in 3.0.13, Libmodsecurity3 can't decode encoded HTML entities if they contains leading zeroes. Version 3.0.14 contains a fix.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on integrity.
Affected versions
3.0.13
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2025-27110 (opens in a new tab)

8. CVE-2024-46292: Buffer overflow

  • CVSS 7.5 High
  • Published 2024-10-09
  • CWE-120
What NVD says
A buffer overflow in modsecurity v3.0.12 allows attackers to cause a Denial of Service (DoS) via a crafted input inserted into the name parameter. NOTE: this is disputed by the Supplier because it cannot be reproduced. Also, the product's documentation indicates that it is not guaranteed to be usable with very large values of SecRequestBodyNoFilesLimit (which are required by the claimed issue).
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
3.0.12
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2024-46292 (opens in a new tab)

9. CVE-2023-38285: Security flaw

  • CVSS 7.5 High
  • Published 2023-07-26
  • CWE-407
What NVD says
Trustwave ModSecurity 3.x before 3.0.10 has Inefficient Algorithmic Complexity.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
3.0.0 to before 3.0.10
What to do
Upgrade to 3.0.10 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2023-38285 (opens in a new tab)

10. CVE-2023-28882: Resource exhaustion (DoS)

  • CVSS 7.5 High
  • Published 2023-04-28
  • CWE-400
What NVD says
Trustwave ModSecurity 3.0.5 through 3.0.8 before 3.0.9 allows a denial of service (worker crash and unresponsiveness) because some inputs cause a segfault in the Transaction class for some configurations.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
3.0.5 to before 3.0.9
What to do
Upgrade to 3.0.9 or a later release, then restart the service.

NVD record for CVE-2023-28882 (opens in a new tab)

ModSecurity security checklist

  1. Keep the tool and its signatures or rules up to date.
  2. Run it with the least privilege that works.
  3. Restrict access to its management interface.
  4. Apply security releases promptly, since a flaw in a security tool is attractive to attackers.
  5. Monitor its logs for failures and tampering.

Where you run ModSecurity matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating ModSecurity: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than ModSecurity. A flaw anywhere in the chain can be the way in, so also review our guides to Apache HTTP Server vulnerabilities, Nginx vulnerabilities and LiteSpeed vulnerabilities.

How to get alerted about new ModSecurity vulnerabilities

NVD received 4 new ModSecurity CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose ModSecurity and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run ModSecurity alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about ModSecurity vulnerabilities

What are the most critical ModSecurity vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical ModSecurity CVEs include CVE-2026-52747 (CVSS 8.6), CVE-2024-1019 (CVSS 8.6), CVE-2026-42268 (CVSS 7.5). The guide above ranks the 10 most critical with affected versions and fixes.

Have ModSecurity vulnerabilities been exploited in real attacks?

For the ModSecurity product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep ModSecurity patched.

How many vulnerabilities does ModSecurity have?

As of Nov 3, 2026 the National Vulnerability Database lists 27 CVEs for ModSecurity, with 0 rated critical by CVSS v3. 4 were published in the previous twelve months.

How can I get alerted when a new ModSecurity CVE is published?

Add ModSecurity to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose ModSecurity and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is ModSecurity secure?

ModSecurity is as secure as its patch level. NVD published 4 new ModSecurity CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2026-52747?

CVE-2026-52747 is a high ModSecurity vulnerability with a CVSS score of 8.6, published Jul 10, 2026. ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.