Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2026-24072 EUVD-2026-26944GHSA-9pw3-5ggm-c92r

Apache HTTP Server: mod_rewrite elevation of privileges via ap_expr

Published May 4, 2026 · Updated May 5, 2026 · Assigned by apache

Description

An escalation of privilege bug in various modules in Apache HTTP 2.4.66 and earlier allows local .htaccess authors to read files with the privileges of the httpd user.

Users are recommended to upgrade to version 2.4.67, which fixes this issue.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache HTTP Server ≤ 2.4.66 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 apache2 2.4.67-1 —
Debian 13 apache2 2.4.67-1~deb13u2 —
Debian 12 apache2 2.4.67-1~deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS apache2 2.4.66-2ubuntu2.1 —
Ubuntu 25.10 apache2 2.4.64-1ubuntu3.4 —
Ubuntu 24.04 LTS apache2 2.4.58-1ubuntu8.12 —
Ubuntu 22.04 LTS apache2 2.4.52-1ubuntu4.20 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS apache2 2.4.41-4ubuntu3.23+esm4 —
Ubuntu Pro 18.04 LTS apache2 2.4.29-1ubuntu4.27+esm9 —
Ubuntu Pro 16.04 LTS apache2 2.4.18-2ubuntu3.17+esm18 —
Ubuntu Pro 14.04 LTS apache2 2.4.7-1ubuntu4.22+esm13 —
ReleasePackageFixed inAdvisory
RHEL 10 httpd +8 2.4.63-13.el10_2.4 RHSA-2026:34109
RHEL 10 mod_ssl +1 1:2.4.63-13.el10_2.4 RHSA-2026:34109
RHEL 9 httpd +8 2.4.62-13.el9_8.5 RHSA-2026:41906
RHEL 9 mod_ssl +1 1:2.4.62-13.el9_8.5 RHSA-2026:41906
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +6 2.4.62-16.el8jbcs RHSA-2026:56868
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_http2 2.0.29-13.el8jbcs RHSA-2026:56868
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.62-16.el8jbcs RHSA-2026:56868
Red Hat Hardened Images 1 httpd +5 2.4.67-0.1.hum1 RHSA-2026:13938

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 httpd +8 2.4.63-13.el10_2.4 ALSA-2026:34109
AlmaLinux 10 mod_ssl +1 1:2.4.63-13.el10_2.4 ALSA-2026:34109
AlmaLinux 9 httpd +8 2.4.62-13.el9_8.5 ALSA-2026:41906
AlmaLinux 9 mod_ssl +1 1:2.4.62-13.el9_8.5 ALSA-2026:41906

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 httpd 2.4.62-13.el9_8.5 RLSA-2026:41906
ReleasePackageFixed inAdvisory
SLES 15 SP5 apache2 2.4.66-150400.6.57.1 SUSE-SU-2026:2686-1
SLES 15 SP4 apache2 2.4.66-150400.6.57.1 SUSE-SU-2026:2686-1
SLES 12 SP5 apache2 +1 2.4.66-35.78.1 SUSE-SU-2026:2641-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 apache2 +6 2.4.66-160000.2.1 SUSE-SU-2026:22209-1, SUSE-SU-2026:22199-1
SLES for SAP 15 SP5 apache2 2.4.66-150400.6.57.1 SUSE-SU-2026:2686-1
SLES for SAP 15 SP4 apache2 2.4.66-150400.6.57.1 SUSE-SU-2026:2686-1
SLES 16.0 apache2 +6 2.4.66-160000.2.1 SUSE-SU-2026:22209-1, SUSE-SU-2026:22199-1
SLE HPC 15 SP5 apache2 2.4.66-150400.6.57.1 SUSE-SU-2026:2686-1
SLE HPC 15 SP4 apache2 2.4.66-150400.6.57.1 SUSE-SU-2026:2686-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apache2 2.4.67-1.1 openSUSE-SU-2026:10785-1
openSUSE Leap 16.0 apache2 +6 2.4.66-160000.2.1 openSUSE-SU-2026:21115-1
ReleasePackageFixed inAdvisory
Alpine v3.24 apache2 2.4.67-r0 —
Alpine v3.23 apache2 2.4.67-r0 —
Alpine v3.22 apache2 2.4.67-r0 —
Alpine v3.21 apache2 2.4.67-r0 —
Alpine v3.20 apache2 2.4.67-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 httpd +8 2.4.67-1.amzn2023.0.1 ALAS2023-2026-1720
Amazon Linux 2023 mod_ssl +1 1:2.4.67-1.amzn2023.0.1 ALAS2023-2026-1720
Amazon Linux 2 httpd +7 2.4.67-1.amzn2.0.1 ALAS2-2026-3314
Amazon Linux 2 mod_ssl +1 1:2.4.67-1.amzn2.0.1 ALAS2-2026-3314

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 httpd 2.4.67-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 httpd +8 2.4.62-13.0.1.el9_8.5 ELSA-2026-41906
Oracle Linux 9 mod_ssl +1 1:2.4.62-13.0.1.el9_8.5 ELSA-2026-41906

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 18

References