# CVE-2023-20873: Spring Boot Security Bypass with Wildcard Pattern Matching on Cloud Foundry

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.29% (percentile 70, 2026-11-28)
- **Aliases:** GHSA-g5h3-w546-pj7f
- **Published:** 2023-04-20T00:00:00.000Z
- **Modified:** 2026-06-17T05:31:04.340Z

## Who should check

- Projects that depend on Maven package org.springframework.boot:spring-boot-actuator-autoconfigure (\>= 3.0.0, \< 3.0.6)
- Anyone running Spring Boot Spring Boot versions 3.0.0 - 3.0.5, 2.7.0 - 2.7.10, and older unsupported versions

## Description

In Spring Boot versions 3.0.0 - 3.0.5, 2.7.0 - 2.7.10, and older unsupported versions, an application that is deployed to Cloud Foundry could be susceptible to a security bypass. Users of affected versions should apply the following mitigation: 3.0.x users should upgrade to 3.0.6+. 2.7.x users should upgrade to 2.7.11+. Users of older, unsupported versions should upgrade to 3.0.6+ or 2.7.11+.

## Affected and fixed versions

- Maven `org.springframework.boot:spring-boot-actuator-autoconfigure`: affected \>= 3.0.0, \< 3.0.6; fixed 3.0.6, 2.7.11, 2.6.15, 2.5.15 (osv)
- Spring Boot: Spring Boot versions 3.0.0 - 3.0.5, 2.7.0 - 2.7.10, and older unsupported versions (cvelist)

## Mitigation

- Upgrade org.springframework.boot:spring-boot-actuator-autoconfigure to one of 3.0.6, 2.7.11, 2.6.15, 2.5.15 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-20873. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-20873.md
Affected: org.springframework.boot:spring-boot-actuator-autoconfigure >= 3.0.0, < 3.0.6
Fixed in: 3.0.6, 2.7.11, 2.6.15, 2.5.15

Steps:
1. Search this machine and project for org.springframework.boot:spring-boot-actuator-autoconfigure (Maven), Spring Boot: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-20873 being exploited?

There is no confirmed exploitation: CVE-2023-20873 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.29% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-20873?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-20873?

org.springframework.boot:spring-boot-actuator-autoconfigure \>= 3.0.0, \< 3.0.6.

### Is there a fix for CVE-2023-20873?

Yes. Fixed in 3.0.6, 2.7.11, 2.6.15, 2.5.15. Upgrade org.springframework.boot:spring-boot-actuator-autoconfigure to one of 3.0.6, 2.7.11, 2.6.15, 2.5.15 (or later in the same release line).

### How do I check if I'm affected by CVE-2023-20873?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://spring.io/security/cve-2023-20873>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-20873>
- patch: <https://github.com/spring-projects/spring-boot/commit/32444fed4b51cc58dc908467f706102d7f0bfc15>
- patch: <https://github.com/spring-projects/spring-boot/commit/3522714c13b47af03bf42e7f2d5994af568cb1a7>
- other: <https://security.netapp.com/advisory/ntap-20230601-0009/>
- other: <https://spring.io/blog/2023/05/18/spring-boot-2-5-15-and-2-6-15-available-now>
- other: <https://github.com/spring-projects/spring-boot>
- other: <https://github.com/spring-projects/spring-boot/releases/tag/v2.5.15>
- other: <https://github.com/spring-projects/spring-boot/releases/tag/v2.6.15>
- other: <https://github.com/spring-projects/spring-boot/releases/tag/v2.7.11>
- other: <https://github.com/spring-projects/spring-boot/releases/tag/v3.0.6>
- other: <https://security.netapp.com/advisory/ntap-20230601-0009>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-20873>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-g5h3-w546-pj7f> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-20873> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-20873>
