Every CVE Search/ Get API key

CVE-2023-34034

Access Control Bypass in Spring Security

9.1 CriticalPublic exploitFix available

Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and the potential for a security bypass.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
None

Exploit likelihood

4.07%Up 4.0 points since Jul 20, 2023
90%50%10%1%

What each source reports

CVE List Score used 9.1

Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and the potential for a security bypass.

Record
CVE-2023-34034
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-281
Updated
2026-11-02
EUVDEUVD-2023-1939 9.1

Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and the potential for a security bypass.

Record
EUVD-2023-1939
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-3h6f-g5f3-gc4w 9.1

Access Control Bypass in Spring Security

Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and the potential for a security bypass.

Record
GHSA-3h6f-g5f3-gc4w
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-281, CWE-284
Updated
2026-11-02
NVD 9.1

Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and the potential for a security bypass.

Record
CVE-2023-34034
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-281
Updated
2026-11-02
OSV 9.1

Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and the potential for a security bypass.

Record
CVE-2023-34034
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
OSVGHSA-3h6f-g5f3-gc4w 9.1

Access Control Bypass in Spring Security

Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and the potential for a security bypass.

Record
GHSA-3h6f-g5f3-gc4w
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-281, CWE-284
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.springframework.security:spring-security-config
Maven
5.6.0 up to 5.6.12
5.6.12
org.springframework.security:spring-security-config
Maven
5.7.0 up to 5.7.10
5.7.10
org.springframework.security:spring-security-config
Maven
5.8.0 up to 5.8.5
5.8.5
org.springframework.security:spring-security-config
Maven
6.0.0 up to 6.0.5
6.0.5
org.springframework.security:spring-security-config
Maven
6.1.0 up to 6.1.2
6.1.2
org.springframework.security:spring-security-config
Maven
5.6.0 up to 5.6.12, plus listed versions
5.6.15.6.105.6.115.6.25.6.3
Show 6 moreShow less
5.6.45.6.55.6.65.6.75.6.85.6.9
5.6.12
org.springframework.security:spring-security-config
Maven
5.7.0 up to 5.7.10, plus listed versions
5.7.15.7.25.7.35.7.45.7.5
Show 4 moreShow less
5.7.65.7.75.7.85.7.9
5.7.10
org.springframework.security:spring-security-config
Maven
5.8.0 up to 5.8.5, plus listed versions
5.8.15.8.25.8.35.8.4
5.8.5
org.springframework.security:spring-security-config
Maven
6.0.0 up to 6.0.5, plus listed versions
6.0.16.0.26.0.36.0.4
6.0.5
org.springframework.security:spring-security-config
Maven
6.1.0 up to 6.1.2, plus listed versions
6.1.1
6.1.2

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubhotblac/cve-2023-340342023-12-02

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-34034 is a critical vulnerability (CVSS 9.1) in Spring Security, published July 19, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 4.07%, the 90th percentile. Fixed in org.springframework.security:spring-security-config 5.6.12.

References

MoveEnter Open