CVE-2025-48866
ModSecurity has possible DoS vulnerability in sanitiseArg action
Reported by github_m · Published June 2, 2025
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. Version 2.9.10 fixes the issue. As a workaround, avoid using rules that contain the `sanitiseArg` (or `sanitizeArg`) action.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| modsecurity2 | Bitnami | 2.9.10 |
| modsecurity | Bitnami | 3.0.12 |
| mod_security | Amazon Linux | 2.9.10-1.amzn2023.0.1 |
| modsecurity | Bitnami | 3.0.12 |
| modsecurity2 | Bitnami | 2.9.10 |
| modsecurity | owasp | 2.9.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| owasp-modsecurity | ModSecurity | < 2.9.10 |
| amazon:2023 | mod_security | 0 |
| amazon:2023 | mod_security-mlogc | 0 |
| amazon:2 | mod_security | 0 |
| amazon:2 | mod_security-mlogc | 0 |
| owasp-modsecurity | ModSecurity | 0 |
Timeline
- Jun 2, 2025 CVE Published
- Jun 2, 2025 PoC Published (5 in total, the first dated here)
- Jun 3, 2025 EPSS Score (30 in total, the first dated here)
- Jun 3, 2025 Coalition ESS Score (10 in total, the first dated here)
- Jun 9, 2025 CVE Updated
- Dec 12, 2025 Security Advisory (7 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (5 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-48866
vulnetix vdb fixes CVE-2025-48866
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-48866/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-f82j-8pp7-cw2w x_refsource_CONFIRM
- https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-859r-vvv8-rm8r x_refsource_MISC
- https://github.com/owasp-modsecurity/ModSecurity/commit/3a54ccea62d3f7151bb08cb78d60c5e90b53ca2e x_refsource_MISC
- https://github.com/owasp-modsecurity/ModSecurity/wiki/Reference-Manual-(v2.x)#sanitisearg x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/06/msg00009.html advisory