| Component | AnythingLLM |
| Severity | medium (CVSS 5.9) |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published (NVD) | 2026-08-10 |
| Last modified | 2026-10-24 |
| Affected versions | >= 1.0.0, <= 1.15.0 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | see the vendor advisory |
| Weakness | CWE-180CWE-287 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's record (status: Deferred) lists no affected versions of AnythingLLM for this CVE. The ranges above come from the CVE record written by GitHub_M, the CNA that assigned the CVE.
NVD description
AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. From 1.0.0 to 1.15.0, AnythingLLM's unauthenticated account-recovery flow in server/utils/PasswordRecovery/index.js uses recoverAccount() to deduplicate the raw recoveryCodes values before trimming them, so one valid code submitted twice with different surrounding whitespace can satisfy the two-code check. Each normalized value can also match the same stored hash instead of consuming a distinct hash. An attacker who knows the target username and one recovery code can call POST /api/system/recover-account in multi-user mode, receive a password-reset token, and use POST /api/system/reset-password to take over the account, including an administrator account.
What to do
- No fixed release is known yet: follow the vendor advisory below and keep AnythingLLM off the public internet until a fix ships.
- Do not expose the component's API or UI to the internet without authentication in front of it.