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
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2026-52747 | 8.6 High | 2026-07-10 | Security flaw | No |
| 2 | CVE-2024-1019 | 8.6 High | 2024-01-30 | Improper input validation | No |
| 3 | CVE-2026-42268 | 7.5 High | 2026-05-12 | Security flaw | No |
| 4 | CVE-2026-30923 | 7.5 High | 2026-05-05 | Out-of-bounds read | No |
| 5 | CVE-2025-48866 | 7.5 High | 2025-06-02 | Denial of service | No |
| 6 | CVE-2025-47947 | 7.5 High | 2025-05-21 | Denial of service | No |
| 7 | CVE-2025-27110 | 7.5 High | 2025-02-25 | Security flaw | No |
| 8 | CVE-2024-46292 | 7.5 High | 2024-10-09 | Buffer overflow | No |
| 9 | CVE-2023-38285 | 7.5 High | 2023-07-26 | Security flaw | No |
| 10 | CVE-2023-28882 | 7.5 High | 2023-04-28 | Resource exhaustion (DoS) | No |
Each ModSecurity CVE explained
1. CVE-2026-52747: Security flaw
- 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)
2. CVE-2024-1019: Improper input validation
- 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)
3. CVE-2026-42268: Security flaw
- 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)
4. CVE-2026-30923: Out-of-bounds read
- 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)
5. CVE-2025-48866: Denial of service
- 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)
6. CVE-2025-47947: Denial of service
- 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)
7. CVE-2025-27110: Security flaw
- 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).
8. CVE-2024-46292: Buffer overflow
- 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).
9. CVE-2023-38285: Security flaw
- 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)
10. CVE-2023-28882: Resource exhaustion (DoS)
- 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.
ModSecurity security checklist
- Keep the tool and its signatures or rules up to date.
- Run it with the least privilege that works.
- Restrict access to its management interface.
- Apply security releases promptly, since a flaw in a security tool is attractive to attackers.
- 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.
Related security guides
Few stacks run ModSecurity alone. These guides cover the technologies it is most often deployed with.
- Apache HTTP Server vulnerabilities: Apache HTTP Server is one of the most widely deployed open-source web servers.
- Nginx vulnerabilities: Nginx is a popular web server, reverse proxy and load balancer.
- LiteSpeed vulnerabilities: LiteSpeed is a high-performance web server that is a drop-in alternative to Apache.
- Imunify360 vulnerabilities: Imunify360 is a security suite for Linux shared hosting servers.
- ClamAV vulnerabilities: ClamAV is an open-source antivirus engine, common on mail and web servers.
- Fail2ban vulnerabilities: Fail2ban blocks brute-force attempts by banning abusive IP addresses.
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
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
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.