goauthentik authentik handles email authenticator enrollment during an authentication or enrollment flow by taking the recipient address from the setup request instead of using the address already established by the flow. Because the recipient address is taken from actor-controlled input, an actor who knows the target user's password can replace it with an address they control, receive the one-time code, and complete factor enrollment as the target.
The target must not have enrolled the email factor already. Completing enrollment creates a session as the target and can provide access to the single sign-on applications behind that account. The weakness falls under Improper Authentication and Reliance on Untrusted Inputs in a Security Decision. The public advisory describes the trust mismatch between the flow-established address and the request address, but does not disclose additional internal implementation details.