# CVE-2026-59335: Case-Sensitive Authorization Check Bypass via Identity Zone ID Case Manipulation Leads to Full UAA Compromise

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

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.53% (percentile 38, 2026-11-26)
- **CWE:** CWE-178
- **Published:** 2026-08-25T11:05:11.166Z
- **Modified:** 2026-09-28T23:10:00.143Z

## Who should check

- Anyone running Cloud Foundry UAA \< 78.16.0
- Anyone running Cloud Foundry cf-deployment \< 57.0.0

## Description

Improper handling of case sensitivity (CWE-178) in the identity zone authorization check in the Identity Zone Endpoint in Cloud Foundry UAA allows a remote authenticated attacker holding only the zones.write authority to bypass the intended restriction that this authority does not grant access to the privileged uaa (system) identity zone, by referring to the zone identifier in a non-lowercase form (e.g. UAA) in the request path and body. The authorization layer performs a case-sensitive comparison against the system zone identifier, while the underlying MySQL persistence layer resolves identifiers case-insensitively under its default collation, so the request is authorized incorrectly and is then resolved against the real system zone record. This allows the attacker to overwrite the system zone's JWT signing key with attacker-controlled key material, forge JWTs claiming the admin client and administrator scopes, and fully compromise UAA and any Cloud Foundry deployment that trusts it. This issue only affects UAA deployments backed by MySQL using its default collation; PostgreSQL and HSQLDB backends are not affected.

## Affected and fixed versions

- Cloud Foundry UAA: \< 78.16.0 (cvelist)
- Cloud Foundry cf-deployment: \< 57.0.0 (cvelist)

## Mitigation

- Upgrade UAA to 78.16.0 or later.
- Upgrade cf-deployment to 57.0.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-59335.md
Affected: Cloud Foundry UAA < 78.16.0; Cloud Foundry cf-deployment < 57.0.0
Fixed in: Cloud Foundry UAA 78.16.0, Cloud Foundry cf-deployment 57.0.0

Steps:
1. Search this machine and project for Cloud Foundry UAA, Cloud Foundry cf-deployment: 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-2026-59335 being exploited?

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

### How serious is CVE-2026-59335?

High: CVSS 8.7 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-59335?

Cloud Foundry UAA \< 78.16.0; Cloud Foundry cf-deployment \< 57.0.0.

### Is there a fix for CVE-2026-59335?

Yes. Fixed in Cloud Foundry UAA 78.16.0, Cloud Foundry cf-deployment 57.0.0. Upgrade UAA to 78.16.0 or later. Upgrade cf-deployment to 57.0.0 or later.

### How do I check if I'm affected by CVE-2026-59335?

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://www.cloudfoundry.org/blog/cve-2026-59335-uaa-case-insensitive-check-bypass/>

## 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-2026-59335>

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