
SecDim Challenge Builder repro inspired by CVE-2026-88861: AAL1 MFA bypass at privileged credential boundary
Working reproduction for a proposed security challenge inspired by CVE-2026-88861, published 10 September 2026.
The application correctly verifies a signed session and correctly checks the admin role, but it collapses two independent security properties: identity/role and authentication assurance. A password-only aal1 session can call a privileged credential-creation path that should require step-up MFA (aal2). The resulting app-scoped admin key is durable and remains usable after the original session is logged out.
This models a realistic MFA-bypass failure at the authorization boundary, rather than a broken signature or forged token.
go test -v ./...
The tests demonstrate the complete local attack chain:
aal1);No external service, credential, or production target is involved.
The scenario is inspired by the assurance-level enforcement failure described for CVE-2026-88861 (Capgo/Supabase AAL1 session bypassing MFA on a privileged RBAC path). This reproduction is original, reduced, and self-contained; it does not copy the affected project.
secureCreatePrivilegedAPIKey requires both admin authorization and aal2 step-up assurance, while activePrincipal independently enforces session revocation. The tests intentionally verify that neither condition substitutes for the other.