Skip to content
MediumVulnerability

CVE-2026-72917: AnythingLLM account recovery flaw enables account takeover

Identifier
CVE-2026-72917
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

AnythingLLM versions 1.0.0 through 1.15.0 contain a flaw in the unauthenticated account-recovery flow in server/utils/PasswordRecovery/index.js. The recoverAccount() function deduplicates raw recoveryCodes before trimming, so one valid code submitted twice with different whitespace passes the two-code check. An attacker who knows the target username and one recovery code can call POST /api/system/recover-account in multi-user mode, obtain a password-reset token, and reset the password via POST /api/system/reset-password, including for administrator accounts.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.