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-2020-11989

CVE-2020-11989: Apache Shiro Auth Bypass Vulnerability

CVE-2020-11989 is an authentication bypass vulnerability in Apache Shiro when used with Spring dynamic controllers. Attackers can exploit this flaw to circumvent authentication. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 11, 2026

CVE-2020-11989 Overview

CVE-2020-11989 is an authentication bypass vulnerability in Apache Shiro versions prior to 1.5.3. When Apache Shiro is used in conjunction with Spring dynamic controllers, an attacker can craft a specially designed HTTP request to bypass authentication mechanisms entirely. This vulnerability allows unauthorized access to protected resources and endpoints that should require valid credentials.

Critical Impact

This authentication bypass vulnerability enables unauthenticated attackers to access protected resources in applications using Apache Shiro with Spring dynamic controllers, potentially leading to complete system compromise.

Affected Products

  • Apache Shiro versions prior to 1.5.3
  • Applications using Apache Shiro with Spring Framework dynamic controllers
  • Apache Geode implementations using vulnerable Shiro versions

Discovery Timeline

  • June 22, 2020 - CVE-2020-11989 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-11989

Vulnerability Analysis

This authentication bypass vulnerability exists in Apache Shiro's request path processing when integrated with Spring Framework's dynamic controllers. The flaw stems from inconsistencies in how Shiro normalizes and matches URL paths against security filter configurations compared to how Spring resolves controller mappings.

When processing incoming requests, Apache Shiro's path matching logic can be manipulated through specially crafted request URIs. The inconsistency between Shiro's path normalization and Spring's request routing creates a security gap where malicious requests can reach protected endpoints without triggering authentication checks.

The vulnerability is particularly dangerous because it requires no user interaction or prior authentication. Attackers can exploit this flaw remotely over the network to access administrative interfaces, sensitive data endpoints, or any other protected resources within the application.

Root Cause

The root cause of CVE-2020-11989 lies in the path normalization discrepancy between Apache Shiro's URL pattern matching and Spring Framework's request dispatching mechanism. Shiro performs path matching against its configured security filters using one normalization approach, while Spring's dynamic controllers may resolve the same request using different path resolution logic.

This mismatch allows crafted request paths to satisfy Shiro's filter rules (appearing to not require authentication) while still being routed by Spring to protected controller endpoints. The fundamental issue is the assumption that both frameworks would interpret and normalize request paths identically, which is not the case in certain configurations involving dynamic controllers.

Attack Vector

The attack vector for this vulnerability is network-based, requiring no authentication or user interaction. Attackers exploit the vulnerability by sending HTTP requests with specially crafted URI paths to applications running Apache Shiro with Spring dynamic controllers.

The attack methodology involves manipulating the request path in ways that cause Shiro's security filters to misclassify the request as not requiring authentication, while Spring still routes the request to protected controller methods. This can involve techniques such as path traversal sequences, URL encoding variations, or other path manipulation tactics that exploit the normalization differences between the two frameworks.

Detection Methods for CVE-2020-11989

Indicators of Compromise

  • Unusual HTTP request patterns with abnormal path encodings or traversal sequences targeting protected endpoints
  • Access log entries showing successful requests to authenticated resources without corresponding session establishment
  • Web application logs indicating access to protected resources from unauthenticated sessions
  • Anomalous path patterns in requests that differ from normal application usage

Detection Strategies

  • Implement web application firewall rules to detect and block requests with suspicious path manipulation attempts
  • Monitor Apache Shiro authentication logs for discrepancies between expected and actual authentication states
  • Deploy intrusion detection signatures that identify common authentication bypass request patterns
  • Review application access logs for requests to protected endpoints that bypassed authentication

Monitoring Recommendations

  • Enable detailed logging for both Apache Shiro security filter processing and Spring request routing
  • Configure alerts for access to sensitive endpoints without valid session cookies or authentication tokens
  • Implement real-time monitoring of authentication bypass attempts using SIEM solutions
  • Regularly audit access patterns to protected resources to identify anomalous unauthenticated access

How to Mitigate CVE-2020-11989

Immediate Actions Required

  • Upgrade Apache Shiro to version 1.5.3 or later immediately
  • Review application security configurations to ensure all protected endpoints are properly secured
  • Audit access logs to determine if exploitation has occurred prior to patching
  • Implement additional authentication checks at the application layer as a defense-in-depth measure

Patch Information

Apache has addressed this vulnerability in Apache Shiro version 1.5.3. Organizations should upgrade to this version or later to remediate the vulnerability. The fix addresses the path normalization inconsistency between Shiro and Spring Framework to ensure authentication filters are properly applied to all requests.

For detailed information, refer to the Apache Shiro User Advisory and the Apache Shiro Commits Thread.

Workarounds

  • Implement additional authentication validation at the Spring controller level to verify user authentication status
  • Configure web server or reverse proxy rules to normalize and sanitize request paths before they reach the application
  • Use strict path matching patterns in Shiro configuration to reduce the attack surface
  • Deploy a web application firewall with rules to block path manipulation attempts
bash
# Example Maven dependency update to patch Apache Shiro
# Update pom.xml to use patched version
# Replace:
#   <shiro.version>1.5.2</shiro.version>
# With:
#   <shiro.version>1.5.3</shiro.version>

# Verify Shiro version after update
mvn dependency:tree | grep shiro

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechApache Shiro

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability83.79%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Apache Shiro Commits Thread

  • Apache Geode Dev Discussion

  • Apache Shiro Dev Discussion

  • Apache Shiro Commits Updates

  • Apache Shiro Commits Notification

  • Apache Geode Dev Thread
  • Vendor Resources
  • Apache Shiro User Inquiry
  • Related CVEs
  • CVE-2026-3963: perfree go-fastdfs-web Auth Bypass Flaw

  • CVE-2026-23903: Apache Shiro Auth Bypass Vulnerability

  • CVE-2023-46749: Apache Shiro Auth Bypass Vulnerability

  • CVE-2023-34478: Apache Shiro 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