# CVE-2026-40582: ChurchCRM: Authentication Bypass in `/api/public/user/login` Allows Bypass of 2FA and Account Lockout

- Severity: Critical 9.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-04-17T23:16:13.862Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-288, CWE-305
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

ChurchCRM is an open-source church management system. In versions prior to 7.2.0, the /api/public/user/login endpoint validates only the username and password before returning the user's API key, bypassing the normal authentication flow that enforces account lockout and two-factor authentication checks. An attacker with knowledge of a user's password can obtain API access even when the account is locked or has 2FA enabled, granting direct access to all protected API endpoints with that user's privileges. This issue has been fixed in version 7.2.0. Note: this issue had a duplicate, GHSA-472m-p3gf-46xp, which has been closed.

(As written by CVE List.)

## Affected

- ChurchCRM CRM: < 7.2.0

## References

- <https://github.com/ChurchCRM/CRM/security/advisories/GHSA-8cwr-x83m-mh9x>
- <https://github.com/ChurchCRM/CRM/pull/8607>
- <https://github.com/ChurchCRM/CRM/commit/214694eb83778e1f5e52b3dfa2a99d0e965c1850>

## Sources

- CVE List: [CVE-2026-40582](https://www.cve.org/CVERecord?id=CVE-2026-40582), CVE Terms of Use, modified 2026-04-20
- NVD: [CVE-2026-40582](https://nvd.nist.gov/vuln/detail/CVE-2026-40582), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40582 · Whole record: https://cve.day/CVE-2026-40582.json · Rebuilt by cve.day 2026-11-25T22:59:18.986Z
