{"id":"CVE-2026-72917","published":"2026-08-10T21:35:33Z","modified":"2026-08-12T22:14:18Z","title":"AnythingLLM: Password recovery accepts one recovery code twice after whitespace normalization","vendor":"Mintplex-Labs","product":"anything-llm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00347,"percentile":0.20694,"provenance":"source"},"cwes":[{"id":"CWE-180","name":"Incorrect Behavior Order: Validate Before Canonicalize"},{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-vv8w-wg6r-hq56","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Mintplex-Labs/anything-llm/commit/61766d06b77b903f66dc4afd8dffb3a39012db14","tags":["x_refsource_MISC"]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":4.14},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"mintplex-labs","affectedVersions":[{"vendor":"Mintplex-Labs","product":"anything-llm","versions":["Affected versions >= 1.0.0, <= 1.15.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-12T22:07:58.644902Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-55845","exploited":false,"provenance":"source"}}