CVE-2023-34034
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.
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
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
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-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 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE 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
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