PatchSiren cyber security CVE debrief
CVE-2026-72917 Mintplex-Labs CVE debrief
An attacker can exploit a vulnerability in AnythingLLM's unauthenticated account-recovery flow to take over a user account, including an administrator account, by submitting a valid recovery code with different surrounding whitespace. This vulnerability exists in versions 1.0.0 to 1.15.0 of AnythingLLM. The account-recovery flow in server/utils/PasswordRecovery/index.js uses recoverAccount() to deduplicate the raw recoveryCodes values before trimming them, allowing one valid code submitted twice with different surrounding whitespace to satisfy the two-code check. Each normalized value can also match the same stored hash instead of consuming a distinct hash.
- Vendor
- Mintplex-Labs
- Product
- anything-llm
- CVSS
- MEDIUM 5.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-10
- Original CVE updated
- 2026-09-18
- Advisory published
- 2026-08-10
- Advisory updated
- 2026-09-18
Who should care
Defenders responsible for AnythingLLM instances, especially in multi-user environments, should assess exposure and prioritize remediation. This includes reviewing the current deployment of AnythingLLM, identifying potential vulnerabilities, and taking steps to secure the account-recovery flow.
Why it matters
CVE-2026-72917 is a vulnerability in AnythingLLM's unauthenticated account-recovery flow that allows an attacker to take over a user account, including an administrator account. Defenders should prioritize verifying and remediating this vulnerability in AnythingLLM instances, especially in multi-user environments.
- An attacker can take over a user account, including an administrator account, without authentication.
- The vulnerability allows for unauthorized access to sensitive information and systems.
- Defenders must verify and remediate this vulnerability to prevent exploitation.
- The exploitation of this vulnerability can lead to lateral movement and further attacks within the network.
Technical summary
The vulnerability exists in the account-recovery flow of AnythingLLM versions 1.0.0 to 1.15.0. An attacker can exploit this by submitting a valid recovery code with different surrounding whitespace to receive a password-reset token and take over the account. The account-recovery flow in server/utils/PasswordRecovery/index.js uses recoverAccount() to deduplicate the raw recoveryCodes values before trimming them, allowing one valid code submitted twice with different surrounding whitespace to satisfy the two-code check.
Defensive priority
Defenders should prioritize verifying and remediating this vulnerability in AnythingLLM instances, especially in multi-user environments.
Recommended defensive actions
- Verify and remediate AnythingLLM instances to ensure the account-recovery flow is secure.
- Restrict access to the account-recovery feature to authenticated users.
- Monitor for suspicious activity related to account-recovery attempts.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The vulnerability exists in the account-recovery flow of AnythingLLM versions 1.0.0 to 1.15.0. An attacker can exploit this by submitting a valid recovery code with different surrounding whitespace to receive a password-reset token and take over the account.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-72917 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-72917
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-72917 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-72917
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/Mintplex-Labs/anything-llm/commit/61766d06b77b903f66dc4afd8dffb3a39012db14
-
Source reference
Unverified legacy reference
URL: https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-vv8w-wg6r-hq56
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.