CVE-2023-34034
Access Control Bypass in Spring Security
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.
- Severity
- 9.1 CriticalCVSS 3.1, CVE List
- Exploit chance
- 4.07%EPSS, 90th percentile
- Exploitation
- None known1 public exploit
Description
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
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.springframework.security:spring-security-configMaven | 5.6.0 up to 5.6.12 | 5.6.12 |
org.springframework.security:spring-security-configMaven | 5.7.0 up to 5.7.10 | 5.7.10 |
org.springframework.security:spring-security-configMaven | 5.8.0 up to 5.8.5 | 5.8.5 |
org.springframework.security:spring-security-configMaven | 6.0.0 up to 6.0.5 | 6.0.5 |
org.springframework.security:spring-security-configMaven | 6.1.0 up to 6.1.2 | 6.1.2 |
org.springframework.security:spring-security-configTuxCare:Maven From an advisory covering 2 CVEs | 5.1.2.RELEASE up to 5.1.2.RELEASE-tuxcare.3, plus listed versions 5.1.2.RELEASE-tuxcare.15.1.2.RELEASE-tuxcare.2 | 5.1.2.RELEASE-tuxcare.3 |
org.springframework.security:spring-security-webTuxCare:Maven From an advisory covering 2 CVEs | 5.1.2.RELEASE up to 5.1.2.RELEASE-tuxcare.3, plus listed versions 5.1.2.RELEASE-tuxcare.15.1.2.RELEASE-tuxcare.2 | 5.1.2.RELEASE-tuxcare.3 |
org.springframework.security:spring-security-configTuxCare:Maven | 5.1.5.RELEASE up to 5.1.5.RELEASE-tuxcare.3, plus listed versions 5.1.5.RELEASE-tuxcare.15.1.5.RELEASE-tuxcare.2 | 5.1.5.RELEASE-tuxcare.3 |
org.springframework.security:spring-security-configTuxCare:Maven | 5.7.6 up to 5.7.6-tuxcare.4, plus listed versions 5.7.6-tuxcare.15.7.6-tuxcare.25.7.6-tuxcare.3 | 5.7.6-tuxcare.4 |
org.springframework.security:spring-security-configTuxCare:Maven | 5.7.7 up to 5.7.7-tuxcare.5, plus listed versions 5.7.7-tuxcare.15.7.7-tuxcare.25.7.7-tuxcare.35.7.7-tuxcare.4 | 5.7.7-tuxcare.5 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
org.springframework.security:spring-security-configTuxCare:Maven | 5.1.6.RELEASE up to 5.1.6.RELEASE-tuxcare.4, plus listed versions 5.1.6.RELEASE-tuxcare.15.1.6.RELEASE-tuxcare.25.1.6.RELEASE-tuxcare.3 | 5.1.6.RELEASE-tuxcare.4 |
org.springframework.security:spring-security-configMaven | 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 less5.6.45.6.55.6.65.6.75.6.85.6.9 | 5.6.12 |
org.springframework.security:spring-security-configMaven | 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 less5.7.65.7.75.7.85.7.9 | 5.7.10 |
org.springframework.security:spring-security-configMaven | 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-configMaven | 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-configMaven | 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.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | hotblac/cve-2023-34034 | 2023-12-02 |
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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - CVSS 3.1
- 9.8 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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
Show 5 moreShow less
OSVCLSA-2026-1794584230No score
TuxCare security update for org.springframework.security (2 CVEs)
TuxCare rebuilt 2 org.springframework.security packages to address 2 CVEs. Fixed in 5.1.2.RELEASE-tuxcare.3.
- Record
CLSA-2026-1794584230- Updated
- 2026-11-13
OSVCLSA-2026-1794584768No score
TuxCare security update for org.springframework.security:spring-security-config (1 CVE)
TuxCare rebuilt org.springframework.security:spring-security-config to address 1 CVE. Fixed in 5.1.5.RELEASE-tuxcare.3.
- Record
CLSA-2026-1794584768- Updated
- 2026-11-13
OSVCLSA-2026-1794585499No score
TuxCare security update for org.springframework.security:spring-security-config (1 CVE)
TuxCare rebuilt org.springframework.security:spring-security-config to address 1 CVE. Fixed in 5.7.6-tuxcare.4.
- Record
CLSA-2026-1794585499- Updated
- 2026-11-13
OSVCLSA-2026-1794586207No score
TuxCare security update for org.springframework.security:spring-security-config (1 CVE)
TuxCare rebuilt org.springframework.security:spring-security-config to address 1 CVE. Fixed in 5.7.7-tuxcare.5.
- Record
CLSA-2026-1794586207- Updated
- 2026-11-13
OSVCLSA-2026-1794586770No score
TuxCare security update for org.springframework.security:spring-security-config (1 CVE)
TuxCare rebuilt org.springframework.security:spring-security-config to address 1 CVE. Fixed in 5.1.6.RELEASE-tuxcare.4.
- Record
CLSA-2026-1794586770- Updated
- 2026-11-13
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
spring.io/security/cve-2023-34034
security.netapp.com/advisory/ntap-20230814-0008
nvd.nist.gov/vuln/detail/CVE-2023-34034
ossindex.sonatype.org/vulnerability/CVE-2023-34034
security.snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-5777893
github.com/advisories/GHSA-3h6f-g5f3-gc4w
github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34034.json