# CVE-2020-5402: UAA fails to check the state parameter when authenticating with external IDPs

- Severity: High 8.8 (CVSS:3.0, scored by pivotal) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2020-02-27T19:30:24.167Z
- Modified: 2026-06-17T03:21:25.663Z
- Weaknesses: CWE-352
- Assigned by: pivotal

## Description

In Cloud Foundry UAA, versions prior to 74.14.0, a CSRF vulnerability exists due to the OAuth2 state parameter not being checked in the callback function when authenticating with external identity providers.

(As written by CVE List.)

## Affected

- Cloud Foundry UAA: from unspecified before v74.14.0
- cloudfoundry cf-deployment: before 12.33.0
- cloudfoundry user_account_and_authentication: before 74.14.0

## Every score

- pivotal: CVSS:3.0 8.8 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://www.cloudfoundry.org/blog/cve-2020-5402> (vendor-advisory)

## Sources

- CVE List: [CVE-2020-5402](https://www.cve.org/CVERecord?id=CVE-2020-5402), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2020-5402](https://nvd.nist.gov/vuln/detail/CVE-2020-5402), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5402 · Whole record: https://cve.day/CVE-2020-5402.json · Rebuilt by cve.day 2026-11-25T22:57:50.983Z
