Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2026-22754

CVE-2026-22754: Spring Security Auth Bypass Vulnerability

CVE-2026-22754 is an authorization bypass flaw in Spring Security versions 7.0.0 through 7.0.4 that allows attackers to circumvent security rules. This article covers technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-22754 Overview

CVE-2026-22754 is an authorization bypass vulnerability affecting Spring Security versions 7.0.0 through 7.0.4. When an application uses the <sec:intercept-url> element with the servlet-path attribute to define servlet paths for computing path matchers, the servlet path is incorrectly excluded from the authorization evaluation. This flaw allows attackers to bypass security rules and access protected endpoints without proper authorization.

Critical Impact

Applications relying on servlet-path-based authorization rules may be completely bypassed, potentially exposing sensitive endpoints and data to unauthorized access.

Affected Products

  • Spring Security 7.0.0
  • Spring Security 7.0.1
  • Spring Security 7.0.2
  • Spring Security 7.0.3
  • Spring Security 7.0.4

Discovery Timeline

  • 2026-04-22 - CVE-2026-22754 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-22754

Vulnerability Analysis

This authorization bypass vulnerability stems from improper handling of servlet path configurations in Spring Security's access control mechanism. The vulnerability is classified under CWE-284 (Improper Access Control), indicating a fundamental flaw in how the framework enforces authorization decisions.

When developers configure security rules using the <sec:intercept-url> element with a specified servlet-path attribute and a pattern attribute for URL matching, the framework fails to properly incorporate the servlet path into its path matching calculations. This disconnect between the configured security rules and the actual request path evaluation creates a gap that attackers can exploit to bypass authorization checks entirely.

The vulnerability requires network access but no authentication or user interaction, making it particularly dangerous for publicly accessible applications. Successful exploitation compromises the integrity of the application by allowing unauthorized modifications or access to protected resources.

Root Cause

The root cause lies in Spring Security's path matcher component failing to concatenate the servlet path with the endpoint pattern when evaluating incoming requests. When processing a security configuration like <sec:intercept-url servlet-path="/servlet-path" pattern="/endpoint/**"/>, the framework incorrectly evaluates only the pattern portion, completely ignoring the servlet-path prefix. This means requests to /servlet-path/endpoint/resource are not matched against the intended security rule, leaving them unprotected.

Attack Vector

The attack vector for CVE-2026-22754 is network-based, allowing remote attackers to exploit this vulnerability without any authentication credentials or user interaction.

An attacker can exploit this vulnerability by sending HTTP requests directly to protected endpoints. Since the servlet path is not included in the authorization decision, the security rules defined for those endpoints are never applied. For example, if an application intends to protect /api/admin/** endpoints with administrator-only access using the servlet-path configuration, an attacker could access these endpoints as an unauthenticated user or with lower privileges.

The exploitation involves crafting requests that target the protected endpoint patterns, which will be processed without the expected authorization checks being enforced. This is particularly dangerous for applications that rely on URL-based security patterns as their primary access control mechanism.

Detection Methods for CVE-2026-22754

Indicators of Compromise

  • Unexpected access to protected endpoints from unauthenticated or low-privilege users in application logs
  • Anomalous HTTP request patterns targeting endpoints that should require authentication
  • Audit logs showing successful access to restricted resources without corresponding authentication events
  • Increased traffic to administrative or sensitive endpoints from unexpected sources

Detection Strategies

  • Review Spring Security configurations for usage of <sec:intercept-url> elements with servlet-path attributes
  • Audit application access logs for unauthorized access patterns to protected resources
  • Implement runtime monitoring for requests that successfully access protected endpoints without proper authorization tokens
  • Deploy web application firewall rules to detect and alert on suspicious access attempts to sensitive endpoints

Monitoring Recommendations

  • Enable detailed access logging for all Spring Security-protected endpoints
  • Configure alerts for failed authentication attempts followed by successful access to the same resources
  • Monitor for unusual traffic patterns to administrative or sensitive API endpoints
  • Implement real-time log analysis to detect authorization bypass attempts

How to Mitigate CVE-2026-22754

Immediate Actions Required

  • Audit all Spring Security configurations for usage of servlet-path attribute in <sec:intercept-url> elements
  • Review and test authorization rules to ensure they are properly enforced
  • Consider implementing additional authorization layers such as method-level security annotations
  • Upgrade to a patched version of Spring Security when available

Patch Information

Refer to the Spring Security CVE-2026-22754 Advisory for official patch information and upgrade guidance. Organizations should monitor the Spring Security project for patched versions addressing this vulnerability and plan upgrades accordingly.

Workarounds

  • Remove the servlet-path attribute from <sec:intercept-url> configurations and use full path patterns instead
  • Implement method-level security using @PreAuthorize or @Secured annotations as an additional defense layer
  • Configure security rules at the filter level without relying on servlet-path-based matching
  • Deploy a web application firewall to enforce access control at the network perimeter as an interim measure
bash
# Review Spring Security configuration files for affected patterns
grep -r "servlet-path" --include="*.xml" /path/to/application/
grep -r "intercept-url" --include="*.xml" /path/to/application/

# Check application dependencies for vulnerable Spring Security versions
mvn dependency:tree | grep spring-security
# or for Gradle
gradle dependencies | grep spring-security

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechSpring Security

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-284
  • Technical References
  • Spring Security CVE-2026-22754 Advisory
  • Related CVEs
  • CVE-2026-22746: Spring Security Auth Bypass Vulnerability

  • CVE-2026-22747: Spring Security Auth Bypass Vulnerability

  • CVE-2026-22748: Spring Security Auth Bypass Vulnerability

  • CVE-2026-22753: Spring Security Auth Bypass Vulnerability
Default Legacy - Prefooter | 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