CVE-2026-40582 PUBLISHED

ChurchCRM: Authentication Bypass in `/api/public/user/login` Allows Bypass of 2FA and Account Lockout

Assigner: GitHub_M
Reserved: 14.04.2026 Published: 17.04.2026 Updated: 17.04.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.1

Product Status

Vendor ChurchCRM
Product CRM
Versions
  • Version < 7.2.0 is affected

References

Problem Types

  • CWE-288: Authentication Bypass Using an Alternate Path or Channel CWE
  • CWE-305: Authentication Bypass by Primary Weakness CWE