github Infisical/infisical v1.0.0

2 hours ago

⚠️ Breaking Change: Shared GitHub App Host Configuration

Affected Deployments

This change affects self-hosted deployments where the shared GitHub App (INF_APP_CONNECTION_GITHUB_APP_*) is registered on a GitHub Enterprise Server (GHES) instance rather than github.com.

The shared GitHub App is now bound to a single, server-configured host through the INF_APP_CONNECTION_GITHUB_APP_HOST environment variable.

Previously, the host could be supplied by the client during the OAuth or installation exchange. The backend now ignores any client-provided host for the shared GitHub App and always uses INF_APP_CONNECTION_GITHUB_APP_HOST, defaulting to github.com when the variable is not set.

This change improves security by preventing clients from redirecting the OAuth exchange to an arbitrary GitHub host and potentially exposing the shared app's client secret.

Impact

GitHub.com Deployments

No action is required. If INF_APP_CONNECTION_GITHUB_APP_HOST is not set, the application defaults to github.com and behavior remains unchanged.

GitHub Enterprise Server (GHES) Deployments

If your shared GitHub App is registered on a GHES instance, you must configure INF_APP_CONNECTION_GITHUB_APP_HOST with your GHES hostname.

If this variable is not configured, the shared GitHub App will resolve to github.com, causing GitHub App connection flows against your GHES instance to fail.

Required Action

Add the following environment variable to your backend configuration:

INF_APP_CONNECTION_GITHUB_APP_HOST=github.example.com

Replace github.example.com with the hostname of the GitHub instance where your shared GitHub App is registered.

Leave this variable unset if your shared GitHub App is registered on github.com.

What's Changed

Full Changelog: v0.160.12...v1.0.0

Don't miss a new infisical release

NewReleases is sending notifications on new releases.