CVE-2026-24072 is an improper privilege-management vulnerability in Apache HTTP Server mod_rewrite affecting version 2.4.66 and earlier. A local user able to author a .htaccess file can manipulate it to read files using the privileges of the httpd process.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
Repository is a real proof-of-concept and validation lab for CVE-2026-24072, an Apache HTTP Server local privilege-escalation / information-disclosure issue affecting .htaccess expression handling in 2.4.66 and earlier. It is not an exploit framework module; instead it combines vulnerability analysis, patch diffs, example malicious .htaccess payloads, and a Dockerized test harness that can swap between vulnerable and fixed mod_rewrite builds. Core exploit capability: attacker-controlled .htaccess files use RewriteCond expr with restricted ap_expr primitives (file(), filesize(), -f, -d, -e, -s, -L, -x) to access filesystem information outside normal .htaccess confinement. In vulnerable builds, these expressions are parsed without AP_EXPR_FLAG_RESTRICTED, allowing local users who can write .htaccess files to read arbitrary files or probe filesystem state with httpd's privileges. The strongest included case is tests/htdocs/test/c6/.htaccess, which reads /opt/sentinel/secret.txt and matches SENTINEL_TOKEN to prove content disclosure. Other cases demonstrate existence, directory, non-empty, executable, and symlink probes. Repository structure: documentation files (README.md, CVE-2026-24072-analysis.md, docs/TESTING.md, docs/session/*) explain the bug, patch, and lab design; diff files (mod_rewrite.diff, mod_setenvif.diff, mod_proxy_fcgi.diff) show the fix; examples/ contains exploit.htaccess and safe-expressions.htaccess; docker/Dockerfile builds Apache 2.4.67 plus two swappable mod_rewrite DSOs; scripts/ contains lifecycle, swap, and automated test scripts; tests/conf/httpd.conf and tests/htdocs/test/* provide the vulnerable/fixed validation fixtures; tests/matrix.tsv defines expected outcomes. Operationally, the Docker lab builds Apache 2.4.67, compiles mod_rewrite_fixed.so from 2.4.67 source and mod_rewrite_vuln.so from 2.4.66 source, and swaps the active module via symlink /opt/httpd/modules/mod_rewrite.so. The service listens on port 8080. Automated tests curl /test/c1..c9 and /test/n1..n3, expecting vulnerable builds to return 200 with rewrite-fired indicators and fixed builds to return 500 with 'restricted' errors for restricted expressions while allowing negative-control expressions. The repository also documents related affected modules mod_setenvif and mod_proxy_fcgi via patch diffs, but the runnable lab focuses on mod_rewrite only.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
37 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A high-impact vulnerability covered by a TuxCare CentOS 8.5 security notice. The supplied CVSS vector indicates network reachability, low attack complexity, low-privileged access, and high confidentiality, integrity, and availability impact.
A vulnerability referenced by the EulerOS security advisory; no technical impact details are provided.
A vulnerability referenced in the EulerOS security advisory affecting EulerOS httpd/mod_ssl packages; specific flaw details are not provided in the content.
Specific vulnerability referenced in an EulerOS security advisory affecting Huawei EulerOS httpd/mod_ssl-related packages; no further technical details are provided in the content.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.