{"answers":{"affected":"2 open source packages ship an affected version, including modsecurity and modsecurity2. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48866 exists.","fix":"Upgrade modsecurity to 3.0.12 or later.","what":"CVE-2025-48866 is a high-severity denial of service vulnerability in owasp-modsecurity ModSecurity, published on 2 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-48866 and fix it if it is affected.\n\nWhat it is: CVE-2025-48866 is a high-severity denial of service vulnerability in owasp-modsecurity ModSecurity, published on 2 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48866 exists.\n\nAffected packages and fixed versions:\n- modsecurity (Bitnami): affected all versions; fixed in 3.0.12\n- modsecurity2 (Bitnami): affected all versions; fixed in 2.9.10\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-48866/ (Markdown: https://insights.sbomify.com/CVE-2025-48866/index.md)","id":"CVE-2025-48866","markdown":"https://insights.sbomify.com/CVE-2025-48866/index.md","name":"CVE-2025-48866","record":{"aliases":["AZL-62229","AZL-62231","BIT-modsecurity-2025-48866","BIT-modsecurity2-2025-48866","DEBIAN-CVE-2025-48866","DLA-4212-1","OESA-2025-1676","RHSA-2025:12838","RHSA-2025:13670","RHSA-2025:13716","RHSA-2025:13775","RLSA-2025:12838","UBUNTU-CVE-2025-48866"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Web Application Firewall","requires_auth":"none","summary":"Attackers can cause denial of service in ModSecurity by exploiting the sanitiseArg action to add excessive arguments.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"modsecurity","vendor":"owasp"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-1050","name":"Excessive Platform Resource Consumption within a Loop"}],"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.","ecosystems":["Bitnami","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_eus:9.4::appstream","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"ModSecurity has possible DoS vulnerability in sanitiseArg action","id":"CVE-2025-48866","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":23,"n_references":4,"next":{"headline":"Horilla Stored Cross-Site Scripting (XSS) Vulnerability in Project and Task Modules","id":"CVE-2025-48867"},"packages":[{"ecosystem":"Bitnami","fixed":["3.0.12"],"introduced":["0"],"last_affected":[],"package":"modsecurity","purl":"pkg:bitnami/modsecurity","source":"BIT-modsecurity-2025-48866"},{"ecosystem":"Bitnami","fixed":["2.9.10"],"introduced":["0"],"last_affected":[],"package":"modsecurity2","purl":"pkg:bitnami/modsecurity2","source":"BIT-modsecurity2-2025-48866"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.9.6-2.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"mod_security","purl":"pkg:rpm/redhat/mod_security","source":"RHSA-2025:12838"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.9.6-2.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"mod_security-debuginfo","purl":"pkg:rpm/redhat/mod_security-debuginfo","source":"RHSA-2025:12838"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.9.6-2.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"mod_security-debugsource","purl":"pkg:rpm/redhat/mod_security-debugsource","source":"RHSA-2025:12838"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.9.6-2.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"mod_security-mlogc","purl":"pkg:rpm/redhat/mod_security-mlogc","source":"RHSA-2025:12838"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.9.6-2.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"mod_security-mlogc-debuginfo","purl":"pkg:rpm/redhat/mod_security-mlogc-debuginfo","source":"RHSA-2025:12838"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:2.9.3-12.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"mod_security","purl":"pkg:rpm/redhat/mod_security","source":"RHSA-2025:13716"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:2.9.3-12.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"mod_security-debuginfo","purl":"pkg:rpm/redhat/mod_security-debuginfo","source":"RHSA-2025:13716"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:2.9.3-12.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"mod_security-debugsource","purl":"pkg:rpm/redhat/mod_security-debugsource","source":"RHSA-2025:13716"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:2.9.3-12.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"mod_security-mlogc","purl":"pkg:rpm/redhat/mod_security-mlogc","source":"RHSA-2025:13716"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:2.9.3-12.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"mod_security-mlogc-debuginfo","purl":"pkg:rpm/redhat/mod_security-mlogc-debuginfo","source":"RHSA-2025:13716"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:2.9.6-1.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"mod_security","purl":"pkg:rpm/redhat/mod_security","source":"RHSA-2025:13775"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:2.9.6-1.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"mod_security-debuginfo","purl":"pkg:rpm/redhat/mod_security-debuginfo","source":"RHSA-2025:13775"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:2.9.6-1.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"mod_security-debugsource","purl":"pkg:rpm/redhat/mod_security-debugsource","source":"RHSA-2025:13775"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:2.9.6-1.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"mod_security-mlogc","purl":"pkg:rpm/redhat/mod_security-mlogc","source":"RHSA-2025:13775"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:2.9.6-1.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"mod_security-mlogc-debuginfo","purl":"pkg:rpm/redhat/mod_security-mlogc-debuginfo","source":"RHSA-2025:13775"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.9.6-1.el9_4.2"],"introduced":["0"],"last_affected":[],"package":"mod_security","purl":"pkg:rpm/redhat/mod_security","source":"RHSA-2025:13670"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.9.6-1.el9_4.2"],"introduced":["0"],"last_affected":[],"package":"mod_security-debuginfo","purl":"pkg:rpm/redhat/mod_security-debuginfo","source":"RHSA-2025:13670"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.9.6-1.el9_4.2"],"introduced":["0"],"last_affected":[],"package":"mod_security-debugsource","purl":"pkg:rpm/redhat/mod_security-debugsource","source":"RHSA-2025:13670"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.9.6-1.el9_4.2"],"introduced":["0"],"last_affected":[],"package":"mod_security-mlogc","purl":"pkg:rpm/redhat/mod_security-mlogc","source":"RHSA-2025:13670"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.9.6-1.el9_4.2"],"introduced":["0"],"last_affected":[],"package":"mod_security-mlogc-debuginfo","purl":"pkg:rpm/redhat/mod_security-mlogc-debuginfo","source":"RHSA-2025:13670"},{"ecosystem":"Rocky Linux:9","fixed":["0:2.9.6-2.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"mod_security","purl":"pkg:rpm/rocky-linux/mod_security?distro=rocky-linux-9-6\u0026epoch=0","source":"RLSA-2025:12838"}],"prev":{"headline":"Fabio allows HTTP clients to manipulate custom headers it adds","id":"CVE-2025-48865"},"products":["ModSecurity"],"published":"2025-06-02","related":[{"cvss_score":8.6,"headline":"Security feature bypass in ModSecurity","id":"CVE-2026-52747","kev_date_added":null,"published":"2026-07-10"},{"cvss_score":8.6,"headline":"WAF bypass of the ModSecurity v3 release line","id":"CVE-2024-1019","kev_date_added":null,"published":"2024-01-30"},{"cvss_score":8.2,"headline":"ModSecurity: Unsigned integer underflow in @verifySSN / @verifyCPF / @verifySVNR operators","id":"CVE-2026-42268","kev_date_added":null,"published":"2026-05-12"},{"cvss_score":8.2,"headline":"libModSecurity3 denial of service via segfault when using t:hexDecode on single-character query strings","id":"CVE-2026-30923","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":7.5,"headline":"Trustwave ModSecurity 3.x before 3.0.10 has Inefficient Algorithmic Complexity.","id":"CVE-2023-38285","kev_date_added":null,"published":"2023-07-26"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2023-28882","kev_date_added":null,"published":"2023-04-28"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-09","vendors":["owasp-modsecurity"]},"summary":"Attackers can cause denial of service in ModSecurity by exploiting the sanitiseArg action to add excessive arguments.","url":"https://insights.sbomify.com/CVE-2025-48866/"}