All vulnerabilities

Servers and applications

GHSA-3wf5-rj6w-7527

OAuth2 Redirect URI Poisoning via Auto-Save on Unconfigured Provider

Severity
High 7.4
Published
12 May 2026
Last changed
12 May 2026
Added to UpHeron
3 Nov 2026
Fixed in
2025.12.5, 2026.2.3
Weakness
Improper access control (CWE-284)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Sources
Project advisories (GitHub)

Description

When an OAuth2/OpenID Connect provider has no redirect URIs configured, the first authorization request permanently saves the attacker-supplied redirect_uri into the provider's configuration. This check runs in pre_permission_check() which executes BEFORE authentication, meaning an unauthenticated attacker can poison the provider's redirect URI. All subsequent legitimate OAuth2 flows for that provider will validate against the attacker's URI, enabling authorization code interception.

  • Authorization code theft: All OAuth2 authorization codes for the poisoned provider are redirected to the attacker
  • Account takeover: Captured authorization codes can be exchanged for access tokens, granting full access to user accounts on relying applications
  • Silent persistence: The poisoned redirect URI persists in the database until an admin manually checks and corrects the provider configuration
  • Scope: Changed scope (S:C) because the vulnerability in the identity provider compromises security…
From goauthentik/authentik's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
authentikServers and applications · github:goauthentik/authentik
  • Every version before 2026.2.3
  • Every version before 2025.12.5

About authentik

The authentication glue you need.

From its GitHub repository.
Total installations
1 millionauthentik
GitHub stars
26,351GitHub, 15 Nov 2026
Forks
2,134GitHub, 15 Nov 2026
Latest release
version/2026.8.5GitHub, 15 Nov 2026
Released
21 Oct 2026GitHub
First published on GitHub
30 Dec 2019GitHub

Release lines

ReleaseLatestSecurity fixes
2026.82026.8.5Yes
2026.52026.5.8Yes
2026.22026.2.7Ended 18 Aug 2026
2025.122025.12.6Ended 22 May 2026
2025.102025.10.4Ended 24 Feb 2026
2025.82025.8.6Ended 13 Jan 2026

From endoflife.date.

References