The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-54090

CVE-2025-54090: Apache HTTP Server RewriteCond Vulnerability

CVE-2025-54090 is a RewriteCond expression bug in Apache HTTP Server 2.4.64 causing all expression tests to evaluate as true. This post explains the technical details, affected versions, security impact, and mitigation.

Updated: January 22, 2026

CVE-2025-54090 Overview

A logic flaw in Apache HTTP Server version 2.4.64 causes all RewriteCond expr ... tests to incorrectly evaluate as "true" regardless of the actual condition. This vulnerability affects the core URL rewriting functionality, potentially allowing attackers to bypass security controls that rely on conditional rewrite rules.

Critical Impact

Security controls implemented via Apache RewriteCond expressions are rendered ineffective, as all conditions evaluate to true. This could allow unauthorized access to protected resources or bypass access control mechanisms.

Affected Products

  • Apache HTTP Server 2.4.64

Discovery Timeline

  • July 23, 2025 - CVE-2025-54090 published to NVD
  • November 4, 2025 - Last updated in NVD database

Technical Details for CVE-2025-54090

Vulnerability Analysis

This vulnerability falls under CWE-253 (Incorrect Check of Function Return Value), indicating that the Apache HTTP Server incorrectly handles the return value from expression evaluation functions within the mod_rewrite module. When administrators configure RewriteCond expr ... directives to enforce conditional URL rewriting logic, the server fails to properly evaluate these expressions.

The flaw is particularly concerning because administrators commonly use RewriteCond expressions to implement security controls such as IP-based access restrictions, referrer validation, and request header checks. With all expressions evaluating to true, these protective measures become completely ineffective.

Root Cause

The root cause stems from improper handling of expression evaluation return values in the mod_rewrite module of Apache HTTP Server 2.4.64. The bug causes the internal expression parser to return a truthy value for all RewriteCond expr ... tests, regardless of the actual evaluation logic. This represents a regression introduced in version 2.4.64 that breaks the expected behavior of conditional rewrite rules.

Attack Vector

This is a network-based vulnerability that can be exploited remotely without user interaction. Attackers can bypass security controls by sending requests that would normally be blocked by RewriteCond rules. For example:

If an administrator has configured rules to restrict access based on source IP addresses, geographic location, or specific HTTP headers, an attacker can circumvent these protections because the conditional checks always pass. The exploitation requires low privileges and can result in unauthorized access to protected resources, information disclosure, or integrity violations depending on what the RewriteCond rules were designed to protect.

For technical details on the vulnerability mechanism, refer to the Apache HTTP Vulnerabilities List and the OpenWall OSS Security Discussion.

Detection Methods for CVE-2025-54090

Indicators of Compromise

  • Unexpected access to protected resources that should be restricted by RewriteCond rules
  • Access log entries showing successful requests to URLs that should be blocked by conditional rewrite rules
  • Increased traffic patterns to previously restricted endpoints
  • Authentication bypass indicators in server logs

Detection Strategies

  • Review Apache HTTP Server version using httpd -v or apachectl -v to identify if 2.4.64 is running
  • Audit access logs for requests that should have been blocked by RewriteCond expressions
  • Implement network monitoring to detect access patterns to protected resources
  • Use file integrity monitoring to verify Apache configuration files haven't been modified

Monitoring Recommendations

  • Enable detailed logging for mod_rewrite using RewriteLog and RewriteLogLevel directives to track rule evaluation
  • Monitor access to sensitive endpoints that rely on RewriteCond-based access controls
  • Set up alerts for unusual access patterns to protected resources
  • Regularly audit Apache configuration files containing RewriteCond expr directives

How to Mitigate CVE-2025-54090

Immediate Actions Required

  • Upgrade Apache HTTP Server from 2.4.64 to version 2.4.65 or later immediately
  • Audit all Apache configuration files for RewriteCond expr ... directives to identify affected security controls
  • Consider implementing alternative access control mechanisms (such as mod_authz_host or firewall rules) until the upgrade is complete
  • Review access logs for evidence of unauthorized access during the exposure window

Patch Information

Apache has released version 2.4.65 which fixes this issue. Users running Apache HTTP Server 2.4.64 should upgrade immediately. Patch details and download links are available from the Apache HTTP Vulnerabilities List. Debian users can refer to the Debian LTS Security Announcement for distribution-specific updates.

Workarounds

  • Replace RewriteCond expr ... directives with alternative conditional syntax such as standard RewriteCond variable tests
  • Implement access controls using mod_authz_host or Require directives instead of RewriteCond expressions
  • Deploy network-level access controls (firewall rules, WAF) to enforce restrictions that were previously handled by RewriteCond
  • Consider temporarily disabling affected rewrite rules and implementing server-side application logic for critical security checks
bash
# Check Apache version to determine if affected
httpd -v
# or
apachectl -v

# Upgrade to patched version (example for RHEL/CentOS)
yum update httpd

# Upgrade on Debian/Ubuntu
apt update && apt upgrade apache2

# After upgrade, restart Apache
systemctl restart httpd
# or
systemctl restart apache2

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechApache

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.22%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-253
  • Technical References
  • Apache HTTP Vulnerabilities List

  • OpenWall OSS Security Discussion

  • Debian LTS Security Announcement
  • Vendor Resources
  • Hacker News Discussion
  • Related CVEs
  • CVE-2024-42516: Apache HTTP Server Response Split Flaw

  • CVE-2023-31122: Apache HTTP Server Out-of-Bounds Read

  • CVE-2024-24795: Apache HTTP Server Response Splitting

  • CVE-2021-33193: Debian Linux HTTP/2 Proxy Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English