Spring Security Identity Authentication Bypass Vulnerability (CVS 2023-34034)

Spring Security Identity Authentication Bypass Vulnerability (CVS 2023-34034)

julho 25, 2023 | NSFOCUS


Recently, NSFOCUS CERT monitored Spring’s official security announcement and disclosed an identity bypass vulnerability in Spring Security. Using ‘**’ as the pattern in the Spring Security configuration of WebFlux can cause a pattern mismatch between Spring Security and Spring WebFlux, and may result in identity authentication bypass. CVSS score is 9.1. Affected users should take protective measure as soon as possible.

Vulnerability status:

Vulnerability DetailsVulnerability PoC Vulnerability EXP Utilization in the wilderness
UnpublishedUnpublishedUnpublishedNot found

Reference link:


Scope of Impact

Affected version

  • 6.1.0<=Spring Security<=6.1.1
  • 6.0.0<=Spring Security<=6.0.4
  • 5.8.0<=Spring Security<=5.8.4
  • 5.7.0<=Spring Security<=5.7.9
  • 5.6.0<=Spring Security<=5.6.11

Unaffected version

  • Spring Security>=6.1.2
  • Spring Security>=6.0.5
  • Spring Security>=5.8.5
  • Spring Security>=5.7.10
  • Spring Security>=5.6.12

Note: The above requirements for the Spring Framework version are

  • Spring Framework>=6.0.11
  • Spring Framework>=5.3.29
  • Spring Framework>=5.2.25


Currently, the official security version has been released to fix this vulnerability. It is recommended that affected users upgrade their protection in a timely manner:



This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.


NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyber attacks. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide multi-layered, unified and dynamic protection against advanced cyber attacks.

NSFOCUS works with Fortune Global 500 companies, including four of the world’s five largest financial institutions, organizations in insurance, retail, healthcare, critical infrastructure industries as well as government agencies. NSFOCUS has technology and channel partners in more than 60 countries, is a member of both the Microsoft Active Protections Program (MAPP), and the Cloud Security Alliance (CSA).

A wholly owned subsidiary of NSFOCUS Technologies Group Co., Ltd., the company has operations in the Americas, Europe, the Middle East and Asia Pacific.