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.
This applies if the following preconditions are met:
authn.method set to oidc.authn.oidc.issuer but did not set
authn.oidc.audience (--authn-oidc-audience / OPENFGA_AUTHN_OIDC_AUDIENCE).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.
OpenFGA would like to thank https://github.com/0xVijay for the report.
{
"github_reviewed": true,
"github_reviewed_at": "2026-06-19T14:35:35Z",
"nvd_published_at": null,
"severity": "MODERATE",
"cwe_ids": [
"CWE-287"
]
}