# CVE-2025-48866: ModSecurity has possible DoS vulnerability in sanitiseArg action

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-02T15:46:19.909Z
- Modified: 2026-09-08T08:48:13.924Z
- Also known as: BIT-MODSECURITY-2025-48866, BIT-MODSECURITY2-2025-48866
- Weaknesses: CWE-1050
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- owasp-modsecurity ModSecurity: < 2.9.10
- owasp modsecurity: before 2.9.10
- modsecurity (Bitnami): before 3.0.12
- modsecurity2 (Bitnami): before 2.9.10

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-f82j-8pp7-cw2w> (exploit, advisory, vendor-advisory)
- <https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-859r-vvv8-rm8r> (not-applicable, web)
- <https://github.com/owasp-modsecurity/ModSecurity/commit/3a54ccea62d3f7151bb08cb78d60c5e90b53ca2e> (fix, patch)
- <https://github.com/owasp-modsecurity/ModSecurity/wiki/Reference-Manual-(v2.x)#sanitisearg> (product, web)
- <https://lists.debian.org/debian-lts-announce/2025/06/msg00009.html> (discussion, mailing-list)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48866> (web)

## Sources

- CVE List: [CVE-2025-48866](https://www.cve.org/CVERecord?id=CVE-2025-48866), CVE Terms of Use, modified 2025-06-09
- NVD: [CVE-2025-48866](https://nvd.nist.gov/vuln/detail/CVE-2025-48866), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MODSECURITY-2025-48866](https://osv.dev/vulnerability/BIT-MODSECURITY-2025-48866), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-MODSECURITY2-2025-48866](https://osv.dev/vulnerability/BIT-MODSECURITY2-2025-48866), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-48866 · Whole record: https://cve.day/CVE-2025-48866.json · Rebuilt by cve.day 2026-11-25T22:58:58.662Z
