Description
Statamic CMS's user-augmentation resolver, AugmentedUser::get in src/Auth/AugmentedUser.php, contains an explicit case for the handle that returns the user's raw two-factor recovery codes with no access restriction.
References2
Metrics
- CVSS 3.1
-
6.2
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:N - EPSS — exploit probability
- 0% percentile: 32 · as of 13 November 2026
- CWE
- CWE-200
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.