CVE-2022-32532: Improper Authorization in Apache Shiro

org.apache.shiro:shiro-core Updated 02 Oct 2025

Summary

30/06/2022
Yes i
Critical
9.8

CVE-2022-32532: Improper Authorization in Apache Shiro. Affects org.apache.shiro:shiro-core versions < 1.9.1. Fixed in 1.9.1. How to fix ↓

Also tracked for

The same CVE-2022-32532 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Shiro is a powerful and easy-to-use Java security framework that provides authentication, authorization, cryptography, and session management capabilities. It is widely used in Java applications to secure sensitive resources and protect against unauthorized access. However, a vulnerability has been discovered in Apache Shiro before version 1.9.1 that could allow an attacker to bypass authorization controls. This vulnerability affects the 'org.apache.shiro:shiro-core' package in the Maven ecosystem.

Vulnerability Detail

The vulnerability, identified as CVE-2022-32532, stems from a misconfiguration in the RegexRequestMatcher of Apache Shiro. In certain servlet containers, a RegexRequestMatcher can be bypassed if it is misconfigured. Applications that use the RegExPatternMatcher with a regular expression containing a dot ('.') are potentially vulnerable to an authorization bypass. This means that an attacker could potentially gain unauthorized access to protected resources or perform actions that should be restricted.

How To Fix

Latest published version: 3.0.1 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.9.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version of Apache Shiro to mitigate the risk of an authorization bypass.

Conclusion

The vulnerability in Apache Shiro before version 1.9.1 could allow an attacker to bypass authorization controls, potentially leading to unauthorized access to protected resources. It is crucial to upgrade to the fixed version to mitigate this risk. For further assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.shiro:shiro-core →

Share this vulnerability

FAQ

Apache Shiro is a Java security framework that provides authentication, authorization, cryptography, and session management capabilities for applications.

This vulnerability could allow an attacker to bypass authorization controls and gain unauthorized access to protected resources or perform restricted actions.

To fix this vulnerability, upgrade to Apache Shiro version 1.9.1 or later by updating the 'org.apache.shiro:shiro-core' package in your Maven project.

No, there is no known workaround for this vulnerability. Upgrading to the fixed version is the recommended solution.

You can find more information about Apache Shiro on the official Apache Shiro website or the project's GitHub repository.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.shiro:shiro-core.

How To Fix

Latest published version: 3.0.1 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.9.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback