CVE-2026-44986: Clojure Auth Insecure Prepared Register Token

Generating a `:prepared-register` token that embeds an existing `:profile-id` allows an attacker to bypass registration validation using an Alternate Path, resulting in account takeover. Remove `:profile-id` from the `:prepared-register` token map so that active profiles are forced through the secure logical flow.

Provally CuratedPublic repositoryCriticalHigh confidenceVerifiedApache-2.0Clojure
greprules fetch cve-2026-44986-clojure-auth-insecure-prepared-register-token --engine opengrep

Description

Generating a `:prepared-register` token that embeds an existing `:profile-id` allows an attacker to bypass registration validation using an Alternate Path, resulting in account takeover. Remove `:profile-id` from the `:prepared-register` token map so that active profiles are forced through the secure logical flow.