# CVE-2022-31145: Insufficient AccessToken Expiration Check in FlyteAdmin

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- 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): 1.06%, higher than 65% of CVEs (2026-12-01)
- Published: 2022-07-13T20:30:12.000Z
- Modified: 2026-06-17T04:44:53.887Z
- Also known as: GHSA-qwrj-9hmp-gpxh, GO-2022-0519
- Weaknesses: CWE-298, CWE-613
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

FlyteAdmin is the control plane for Flyte responsible for managing entities and administering workflow executions. In versions 1.1.30 and prior, authenticated users using an external identity provider can continue to use Access Tokens and ID Tokens even after they expire. Users who use FlyteAdmin as the OAuth2 Authorization Server are unaffected by this issue. A patch is available on the `master` branch of the repository. As a workaround, rotating signing keys immediately will invalidate all open sessions and force all users to attempt to obtain new tokens. Those who use this workaround should continue to rotate keys until FlyteAdmin has been upgraded and hide FlyteAdmin deployment ingress URL from the internet.

(As written by CVE List.)

## Affected

- flyteorg flyteadmin: <= 1.1.30
- github.com/flyteorg/flyteadmin (Go): before 1.1.31
- flyte flyteadmin: before 1.1.31

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/flyteorg/flyteadmin/security/advisories/GHSA-qwrj-9hmp-gpxh> (third-party-advisory, web)
- <https://github.com/flyteorg/flyteadmin/pull/455> (patch, third-party-advisory, web)
- <https://github.com/flyteorg/flyteadmin/commit/a1ec282d02706e074bc4986fd0412e5da3b9d00a> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31145> (advisory)
- <https://github.com/flyteorg/flyteadmin> (package)
- <https://github.com/flyteorg/flyteadmin/releases/tag/v1.1.31> (web)
- <https://pkg.go.dev/vuln/GO-2022-0519> (web)

## Sources

- CVE List: [CVE-2022-31145](https://www.cve.org/CVERecord?id=CVE-2022-31145), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-qwrj-9hmp-gpxh](https://github.com/advisories/GHSA-qwrj-9hmp-gpxh), CC-BY-4.0, modified 2023-11-08
- Go Vulnerability Database: [GO-2022-0519](https://pkg.go.dev/vuln/GO-2022-0519), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-31145](https://nvd.nist.gov/vuln/detail/CVE-2022-31145), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31145 · Whole record: https://cve.day/CVE-2022-31145.json · Rebuilt by cve.day 2026-11-25T22:58:12.934Z
