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 httpdDefensia 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
- Step 1: Check installed Apache version with `apache2ctl -v` or `httpd -v` and compare against 2.4.69.
- 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`.
- 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.
- 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
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