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-2023-34035

CVE-2023-34035: Spring Security Auth Bypass Vulnerability

CVE-2023-34035 is an authorization bypass vulnerability in VMware Spring Security affecting versions 5.8 to 6.1.1. It stems from authorization rule misconfiguration in multi-servlet applications. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 4, 2026

CVE-2023-34035 Overview

CVE-2023-34035 is an authorization bypass vulnerability affecting VMware Spring Security versions 5.8 prior to 5.8.5, 6.0 prior to 6.0.5, and 6.1 prior to 6.1.2. The vulnerability occurs when applications use requestMatchers(String) in conjunction with multiple servlets, including Spring MVC's DispatcherServlet, potentially leading to authorization rule misconfiguration that could allow unauthorized access to protected endpoints.

Critical Impact

Applications meeting specific configuration criteria may have authorization rules applied incorrectly, potentially exposing non-Spring MVC endpoints to unauthorized access.

Affected Products

  • VMware Spring Security 5.8 prior to 5.8.5
  • VMware Spring Security 6.0 prior to 6.0.5
  • VMware Spring Security 6.1 prior to 6.1.2

Discovery Timeline

  • 2023-07-18 - CVE-2023-34035 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-34035

Vulnerability Analysis

This vulnerability stems from improper authorization rule handling when Spring Security is configured to protect multiple servlets within a single application. The DispatcherServlet, Spring MVC's core component responsible for mapping HTTP endpoints to @Controller-annotated classes, can cause authorization rules to be misapplied when used alongside other servlets.

An application is vulnerable only when all of the following conditions are true:

  • Spring MVC is on the classpath
  • Spring Security is securing more than one servlet in a single application (one of them being Spring MVC's DispatcherServlet)
  • The application uses requestMatchers(String) to refer to endpoints that are not Spring MVC endpoints

Conversely, an application is not vulnerable if any of the following is true:

  • The application does not have Spring MVC on the classpath
  • The application secures no servlets other than Spring MVC's DispatcherServlet
  • The application uses requestMatchers(String) only for Spring MVC endpoints

Root Cause

The root cause is classified as CWE-863 (Incorrect Authorization). The vulnerability arises from how Spring Security processes authorization rules when requestMatchers(String) is used in multi-servlet environments. The framework incorrectly applies request matching logic intended for Spring MVC endpoints to non-Spring MVC servlets, resulting in authorization rules not being enforced as intended.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker can exploit this vulnerability by sending HTTP requests to non-Spring MVC endpoints that should be protected by authorization rules but are not properly secured due to the misconfiguration. The exploitation does not require any privileges, making it accessible to unauthenticated remote attackers targeting exposed endpoints.

When the misconfiguration is present, authorization checks that developers expect to be enforced on certain endpoints may be bypassed entirely, allowing unauthorized access to application functionality or data that was intended to be restricted.

Detection Methods for CVE-2023-34035

Indicators of Compromise

  • Unexpected access to protected endpoints by unauthenticated or unauthorized users
  • Access log entries showing successful requests to endpoints that should require authentication
  • Anomalous traffic patterns to non-Spring MVC servlet endpoints
  • Authentication events not correlating with access to protected resources

Detection Strategies

  • Review application configuration to identify usage of requestMatchers(String) with non-Spring MVC endpoints
  • Audit servlet configurations to identify applications using multiple servlets including DispatcherServlet
  • Implement security testing to verify authorization rules are correctly applied across all endpoints
  • Monitor for unauthorized access attempts to protected resources

Monitoring Recommendations

  • Enable detailed access logging for all servlet endpoints to track authorization decisions
  • Configure alerting for access to sensitive endpoints without corresponding authentication events
  • Implement application-level auditing to capture authorization decisions and their outcomes
  • Review SentinelOne Singularity Platform alerts for anomalous application behavior patterns

How to Mitigate CVE-2023-34035

Immediate Actions Required

  • Upgrade Spring Security to version 5.8.5, 6.0.5, or 6.1.2 or later depending on your current version
  • Audit all requestMatchers(String) configurations in your security configuration classes
  • Verify that authorization rules are correctly applied to all servlets in multi-servlet applications
  • Conduct penetration testing to validate authorization enforcement across all endpoints

Patch Information

VMware has released patches addressing this vulnerability. Organizations should upgrade to the following fixed versions:

  • Spring Security 5.8.5 or later for 5.8.x branch
  • Spring Security 6.0.5 or later for 6.0.x branch
  • Spring Security 6.1.2 or later for 6.1.x branch

For detailed patch information and upgrade guidance, refer to the Spring Security Advisory CVE-2023-34035.

Workarounds

  • Use requestMatchers(HttpMethod, String) instead of requestMatchers(String) to be more explicit about endpoint matching
  • Configure authorization rules using MvcRequestMatcher explicitly for Spring MVC endpoints
  • Separate servlet configurations to avoid mixing Spring MVC and non-Spring MVC servlets under the same security configuration
  • Implement additional authorization checks at the application layer as a defense-in-depth measure
bash
# Verify current Spring Security version in Maven projects
mvn dependency:tree | grep spring-security

# Verify current Spring Security version in Gradle projects
./gradlew dependencies | grep spring-security

# Update pom.xml to patched version (example for 6.1.x branch)
# <spring-security.version>6.1.2</spring-security.version>

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

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability2.18%

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

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

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

  • CVE-2026-22748: 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