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-2021-41303

CVE-2021-41303: Apache Shiro Auth Bypass Vulnerability

CVE-2021-41303 is an authentication bypass vulnerability in Apache Shiro when used with Spring Boot. Attackers can exploit specially crafted HTTP requests to bypass authentication. This article covers technical details, affected versions, impact, and mitigation steps.

Published: February 25, 2026

CVE-2021-41303 Overview

CVE-2021-41303 is a critical authentication bypass vulnerability affecting Apache Shiro versions prior to 1.8.0 when used in conjunction with Spring Boot. This security flaw allows remote attackers to craft specially designed HTTP requests that completely circumvent authentication mechanisms, potentially granting unauthorized access to protected resources and sensitive data within affected applications.

Critical Impact

Successful exploitation allows attackers to bypass authentication entirely, gaining unauthorized access to protected application resources without valid credentials.

Affected Products

  • Apache Shiro (versions prior to 1.8.0)
  • Oracle Financial Services Crime and Compliance Management Studio 8.0.8.2.0
  • Oracle Financial Services Crime and Compliance Management Studio 8.0.8.3.0

Discovery Timeline

  • 2021-09-17 - CVE-2021-41303 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-41303

Vulnerability Analysis

This authentication bypass vulnerability (CWE-287) occurs specifically in Apache Shiro deployments integrated with Spring Boot. The vulnerability allows remote attackers to craft malicious HTTP requests that exploit improper authentication validation logic, effectively bypassing the security framework's access controls.

The attack can be executed over the network without requiring any user interaction or prior authentication. When successfully exploited, attackers gain the same level of access as authenticated users, potentially compromising the confidentiality, integrity, and availability of protected resources. The vulnerability is particularly dangerous in enterprise environments where Apache Shiro serves as the primary authentication mechanism for Spring Boot applications.

Root Cause

The root cause lies in the improper handling of HTTP request paths and parameters when Apache Shiro processes authentication decisions in Spring Boot environments. The authentication framework fails to properly validate certain request patterns, allowing attackers to construct requests that appear legitimate to the application but are not properly authenticated by Shiro's security filters.

Attack Vector

The attack vector is network-based, requiring only the ability to send HTTP requests to the vulnerable application. Attackers can exploit this vulnerability by:

  1. Identifying applications using Apache Shiro with Spring Boot through fingerprinting techniques
  2. Crafting specially formatted HTTP requests designed to bypass authentication checks
  3. Submitting these malicious requests to access protected endpoints without valid credentials
  4. Gaining unauthorized access to sensitive application functionality and data

The vulnerability requires no prior privileges or user interaction, making it particularly attractive to attackers targeting externally-facing web applications.

Detection Methods for CVE-2021-41303

Indicators of Compromise

  • Unusual authentication patterns showing access to protected resources without corresponding successful login events
  • HTTP request logs containing malformed or specially crafted URL paths targeting Shiro-protected endpoints
  • Access control violations where unauthenticated sessions reach authenticated-only application areas
  • Anomalous request patterns that differ from normal application traffic flow

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block malformed authentication requests
  • Monitor application logs for authentication bypass attempts and unauthorized access patterns
  • Deploy runtime application self-protection (RASP) solutions to detect exploitation attempts
  • Correlate authentication logs with access logs to identify sessions accessing protected resources without proper authentication

Monitoring Recommendations

  • Enable verbose logging for Apache Shiro authentication and authorization events
  • Configure SIEM rules to alert on authentication anomalies and access control violations
  • Monitor for reconnaissance activities targeting Shiro-protected endpoints
  • Implement real-time alerting for requests matching known bypass patterns

How to Mitigate CVE-2021-41303

Immediate Actions Required

  • Upgrade Apache Shiro to version 1.8.0 or later immediately
  • Audit access logs for signs of past exploitation attempts
  • Review and validate all authentication configurations in Spring Boot applications using Shiro
  • Implement additional access controls at the network layer to limit exposure of vulnerable applications

Patch Information

Apache has released version 1.8.0 to address this authentication bypass vulnerability. Organizations should upgrade to this version or later to remediate the vulnerability. Oracle has also addressed this issue in their Financial Services Crime and Compliance Management Studio products through the Oracle July 2022 Security Alerts.

Additional vendor advisories are available from the Apache Shiro Announcement Thread and NetApp Security Advisory NTAP-20220609-0001.

Workarounds

  • Implement additional authentication layers or reverse proxy authentication as a temporary measure
  • Configure WAF rules to filter potentially malicious request patterns targeting Shiro authentication
  • Restrict network access to affected applications using IP whitelisting or VPN requirements
  • Deploy application-level input validation to sanitize incoming HTTP requests
bash
# Maven dependency update to patched version
# Update pom.xml with the following:
# <dependency>
#     <groupId>org.apache.shiro</groupId>
#     <artifactId>shiro-spring-boot-web-starter</artifactId>
#     <version>1.8.0</version>
# </dependency>

# Verify current Shiro version
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 Probability53.42%

  • 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
  • CWE-287

  • NVD-CWE-noinfo
  • Technical References
  • Apache Shiro User Thread

  • NetApp Security Advisory NTAP-20220609-0001
  • Vendor Resources
  • Apache Shiro Announcement Thread

  • Oracle July 2022 Security Alerts
  • 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