GitHub Advisoryadvisory · Go

GHSA-hcxc-wf8j-23hv OpenFGA: OIDC audience validation skipped when --authn-oidc-audience is unset

MEDIUM Published 2026-06-19 Modified 2026-07-21 Official page ↗
Aliases
CVE-2026-55689
Ecosystem
Go
Packages
github.com/openfga/openfga
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-287
Reviewed
2026-06-19

Affected packages

• Go github.com/openfga/openfga: < 1.18.0 → fixed in 1.18.0

Description

Description OpenFGA's OIDC authenticator skipped JWT audience (`aud`) validation when no audience was configured. In deployments where one identity provider issues tokens for multiple services, a token minted for an unrelated service could authenticate to OpenFGA. Preconditions This applies if the following preconditions are met: 1. You run OpenFGA with `authn.method` set to `oidc`. 2. You configured `authn.oidc.issuer` but did not set `authn.oidc.audience` (`--authn-oidc-audience` / `OPENFGA_AUTHN_OIDC_AUDIENCE`). Fix Upgrade to OpenFGA 1.18.0 or greater. OpenFGA now refuses to start in `oidc` mode unless both `authn.oidc.issuer` and `authn.oidc.audience` are set, and the `aud` claim is always validated. Acknowledgements OpenFGA would like to thank https://github.com/0xVijay for the report.

Related

Alias · CVE (1)

  • CVE-2026-55689 OpenFGA is an authorization/permission engine built for developers. vulnerability

Weakness · CWE (1)

  • CWE-287 Improper Authentication weakness

References