Apache HTTP Server mod_userdir+suexec Bypass Vulnerability - CVE-2025-66200

apache2 Updated 08 Dec 2025

Summary

05/12/2025
N/A
Yes i
Medium
5.4

ALPINE-CVE-2025-66200: mod_userdir+suexec bypass via AllowOverride FileInfo vulnerability in Apache HTTP Server. Affects apache2 versions < 2.4.66-r0. Fixed in 2.4.66-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache HTTP Server is a widely used open-source web server software that provides a robust and flexible platform for hosting websites. It supports various features including dynamic content generation, URL redirection, and access control. However, certain configurations, particularly involving the mod_userdir and suexec modules, can lead to security vulnerabilities if not properly managed.

Vulnerability Detail

The vulnerability identified as CVE-2025-66200 allows users with access to the RequestHeader directive in htaccess files to bypass the intended user ID restrictions. This can result in CGI scripts executing under an unexpected user ID, potentially leading to unauthorized access to sensitive data or system resources. The issue affects Apache HTTP Server versions from 2.4.7 to 2.4.65, making it critical for users of these versions to take immediate action.

How To Fix

Minimum fixed version

2.4.66-r0

This is the first release that contains the fix.

sudo apk add --upgrade apache2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can restrict access to the RequestHeader directive in their htaccess files or disable the mod_userdir module if it is not needed. This can help mitigate the risk until an upgrade is performed.

Conclusion

CVE-2025-66200 represents a significant security risk for users of Apache HTTP Server versions 2.4.7 to 2.4.65. It is crucial to upgrade to version 2.4.66 or later to mitigate this vulnerability. Users should also consider temporary workarounds while planning for an upgrade.

See every vulnerability recorded for apache2 →

Share this vulnerability

FAQ

CVE-2025-66200 is a vulnerability in Apache HTTP Server that allows unauthorized execution of CGI scripts under unexpected user IDs due to misconfigured htaccess files.

The vulnerability affects Apache HTTP Server versions from 2.4.7 to 2.4.65.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The CVSS score for CVE-2025-66200 is 5.4, indicating a moderate level of severity.

If an immediate upgrade is not possible, consider implementing workarounds such as restricting access to the RequestHeader directive in htaccess files.

Related vulnerabilities

Recent vulnerabilities recorded for apache2.

How To Fix

Minimum fixed version

2.4.66-r0

This is the first release that contains the fix.

sudo apk add --upgrade apache2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback