medium CVSS 5.3 EPSS 0.59%

CVE-2026-79768·Apache vulnerability

Path equivalence: '/./' (single dot directory) vulnerability in Apache HTTP Server's mod_userdir module when configured with absolute non-wildcard UserDir directive (the 2nd form in https://httpd.apache.org/docs/2.4/mod/mod_userdir.html#userdir) This issue affects Apache HTTP Server: from 2.4.0 through 2.4.68.

Severity
medium
Software
Apache
Fixed in
2.4.69
Published

How likely is exploitation

FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.59% — higher than 46% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.

Affected versions

From: 2.4.0

Until: 2.4.69

Fixed in: 2.4.69

How to fix this CVE

Upgrade Apache HTTP Server to version 2.4.69 or later to remediate this path normalization flaw in the mod_userdir module. Organizations running Apache 2.4.0 through 2.4.68 with absolute non-wildcard UserDir directives should prioritize this update, as the vulnerability allows information disclosure through path equivalence bypass. Apply the patch during a scheduled maintenance window and restart the Apache service to ensure the fix is active.

sudo dnf update httpd

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

GET /~[a-zA-Z0-9_-]+/\./[a-zA-Z0-9_-]+ OR GET /~[a-zA-Z0-9_-]+/%2e%2f OR GET /~[a-zA-Z0-9_-]+/\.\./ (path traversal attempts using dot-slash variants to escape user directory restrictions)

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Implement ModSecurity rules to block requests containing '/./' or '%2e%2f' sequences when targeting user directory paths (~username). Use rule IDs that detect path normalization bypass patterns in the /~ URI prefix context.

How to check if you are affected

  1. Step 1: Check installed Apache version with `apache2ctl -v` or `httpd -v` and compare against 2.4.69.
  2. Step 2: Verify if mod_userdir is enabled by running `apache2ctl -M | grep userdir` (or `httpctl -M` on RHEL/CentOS) and check httpd.conf for absolute non-wildcard UserDir directives using `grep -n 'UserDir' /etc/apache2/apache2.conf /etc/apache2/sites-*/*.conf`.
  3. Step 3: Search Apache access logs for suspicious requests using patterns like `GET /~.*/.` or encoded variations (`%2F%7E`) which may indicate exploitation attempts against user directories.
  4. Step 4: After patching, confirm the fix by running `apache2ctl -v` or `httpd -v` again to verify version 2.4.69+ is running, then perform a graceful restart with `sudo systemctl restart apache2` (or `httpd` on RHEL/CentOS).

FAQ

What is CVE-2026-79768?

This vulnerability exists in Apache's mod_userdir module when using absolute non-wildcard UserDir configurations, allowing attackers to bypass path normalization checks via '/./' path traversal sequences and access sensitive files or directory listings they should not reach.

Is CVE-2026-79768 being actively exploited?

No, this vulnerability is not currently listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are available at this time.

What versions of Apache are affected by CVE-2026-79768?

Apache HTTP Server versions 2.4.0 through 2.4.68 are vulnerable; version 2.4.69 and later contain the fix.

How do I check if my server is vulnerable to CVE-2026-79768?

Run `apache2ctl -v` or `httpd -v` to check your version. If it shows 2.4.68 or earlier AND mod_userdir is enabled with an absolute UserDir path (verify in your httpd.conf or apache2.conf), your server is vulnerable.

Does Defensia detect CVE-2026-79768?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Apache is installed on a monitored server, CVE-2026-79768 will appear in your dashboard with remediation steps.

Related Apache CVEs

CVE-2021-42013CVSS 10It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed. If CGI scripts are also enabled for these aliased pathes, this could allow for remote code execution. This issue only affects Apache 2.4.49 and Apache 2.4.50 and not earlier versions.
CVE-2026-29167CVSS 10Use After Free vulnerability in Apache HTTP Server with mod_ldap in per-directory configuration This issue affects Apache HTTP Server: from 2.4.0 through 2.4.67. Users are recommended to upgrade to version 2.4.68, which fixes the issue.
CVE-2021-41773CVSS 10A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed. If CGI scripts are also enabled for these aliased pathes, this could allow for remote code execution. This issue is known to be exploited in the wild. This issue only affects Apache 2.4.49 and not earlier versions. The fix in Apache HTTP Server 2.4.50 was found to be incomplete, see CVE-2021-42013.
CVE-2026-44631CVSS 10Buffer Underwrite vulnerability in Apache HTTP Server on crafted regular expressions in the configuration. This issue affects Apache HTTP Server: from 2.4.0 through 2.4.67. Users are recommended to upgrade to version 2.4.68, which fixes the issue.
CVE-2021-44790CVSS 10A carefully crafted request body can cause a buffer overflow in the mod_lua multipart parser (r:parsebody() called from Lua scripts). The Apache httpd team is not aware of an exploit for the vulnerabilty though it might be possible to craft one. This issue affects Apache HTTP Server 2.4.51 and earlier.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-79768. Free for 1 server.

Get started free