## 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.
## 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.
## 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.
## 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.
Update github.com/openfga/openfga to 1.18.0 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanOpenFGA: OIDC audience validation skipped when --authn-oidc-audience is unset affects github.com/openfga/openfga (go). Severity is medium. ## 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.
AI coding agents often install or upgrade packages automatically in go. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| github.com/openfga/openfgago | <=1.17.1 | 1.18.0 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL GuardUpdate github.com/openfga/openfga to 1.18.0 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanOpenFGA: OIDC audience validation skipped when --authn-oidc-audience is unset affects github.com/openfga/openfga (go). Severity is medium. ## 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.
AI coding agents often install or upgrade packages automatically in go. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| github.com/openfga/openfgago | <=1.17.1 | 1.18.0 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard