Skip to main content
Vulnerability Database/CVE-2026-111938

CVE-2026-111938: Frappe CRM Authorization Bypass Vulnerability

CVE-2026-111938 is an authorization bypass vulnerability in Frappe CRM allowing authenticated users to modify other users' call logs. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-111938 Overview

CVE-2026-111938 is a missing authorization vulnerability [CWE-862] in Frappe CRM versions before 1.74.0. The flaw resides in the add_note_to_call_log and add_task_to_call_log endpoints inside crm/integrations/api.py. Authenticated Sales Users can supply arbitrary call_sid values to attach notes and tasks to call logs owned by other users. Those attacker-written entries then surface on the victim's call logs, leads, and deals.

The vulnerability requires authenticated access but no elevated privileges. It affects data integrity across CRM records shared between sales teams.

Critical Impact

Any authenticated Sales User can inject notes and tasks into other users' call logs, leads, and deals, enabling cross-tenant data tampering, social engineering, and workflow disruption inside the CRM.

Affected Products

  • Frappe CRM versions prior to 1.74.0
  • Deployments exposing the add_note_to_call_log endpoint
  • Deployments exposing the add_task_to_call_log endpoint

Discovery Timeline

  • 2026-10-19 - CVE-2026-111938 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-111938

Vulnerability Analysis

Frappe CRM exposes two whitelisted API functions, add_note_to_call_log and add_task_to_call_log, that accept a call_sid identifier and a payload. Both functions directly attach the supplied content to the referenced call log without verifying that the caller has write permission on the target record. An authenticated Sales User can enumerate or guess call_sid values belonging to other users and inject arbitrary notes or tasks. Because call logs are linked to leads and deals, the injected content propagates to those parent records and appears legitimate to the victim.

Root Cause

The root cause is a missing permission check on the call log object before mutating it. The whitelisted endpoints trusted the authenticated session's role (Sales User) as sufficient authorization, without validating per-record ownership. The patch introduces an explicit frappe.has_permission("CRM Call Log", "write", call_sid) check that raises frappe.PermissionError when the caller lacks write rights on the specific call_sid.

Attack Vector

Exploitation requires only a valid Sales User session. The attacker issues an authenticated HTTP request to the vulnerable whitelisted endpoint with a call_sid belonging to another user and a crafted note or task payload. No user interaction on the victim side is required. The result is persistent, attacker-controlled content on the victim's CRM artifacts.

python
@frappe.whitelist()
def add_note_to_call_log(call_sid: str, note: dict):
    """Add/Update note to call log based on call sid."""
+   if not frappe.has_permission("CRM Call Log", "write", call_sid):
+       frappe.throw(_("Not permitted"), frappe.PermissionError)
+
    _note = None
    if not note.get("name"):
        _note = frappe.get_doc(
# Source: https://github.com/frappe/crm/commit/7872f4d178bd9338dba2eb4fc4808f4060914be6

The patch adds the missing object-level authorization check before any write occurs. The same fix pattern applies to add_task_to_call_log.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-111938

Indicators of Compromise

  • Notes or tasks appearing on call logs, leads, or deals that were not authored by the record owner.
  • Application logs showing add_note_to_call_log or add_task_to_call_log calls where the requesting user differs from the call_sid owner.
  • Unexpected spikes in whitelisted API calls to /api/method/crm.integrations.api.add_note_to_call_log or add_task_to_call_log.
  • User reports of unfamiliar notes, follow-up tasks, or reminders attached to their pipeline records.

Detection Strategies

  • Review Frappe audit trails for CRM Call Log, FCRM Note, and CRM Task doctype writes, correlating modified_by against the parent call log owner.
  • Compare the authenticated user on inbound API requests with the owner field of the referenced call_sid and flag mismatches.
  • Hunt for sequential or scripted call_sid enumeration patterns from a single Sales User session.

Monitoring Recommendations

  • Enable verbose logging on Frappe whitelisted methods and ship logs to a centralized analytics platform.
  • Alert on any Sales User account that writes notes or tasks across more than a baseline number of distinct call log owners.
  • Monitor repeated PermissionError responses from the patched endpoints after upgrade, as these can indicate ongoing probing.

How to Mitigate CVE-2026-111938

Immediate Actions Required

  • Upgrade Frappe CRM to version 1.74.0 or later, which contains the official fix.
  • Audit existing call logs, leads, and deals for notes and tasks created by users other than the record owner since deployment.
  • Rotate or review API keys for Sales User accounts suspected of abuse and revoke sessions as needed.
  • Restrict network exposure of the Frappe CRM instance to trusted users while patching is scheduled.

Patch Information

The fix is delivered in Frappe CRM release v1.74.0 and documented in GitHub Security Advisory GHSA-843p-qp2f-p2v8. The corrective commits are 7872f4d and e30df91, which add frappe.has_permission validation to both call log endpoints. Additional analysis is available in the VulnCheck Advisory for Frappe CRM.

Workarounds

  • If immediate upgrade is not possible, apply the upstream patch manually to crm/integrations/api.py by inserting the frappe.has_permission("CRM Call Log", "write", call_sid) check at the top of both endpoints.
  • Temporarily remove or restrict the Sales User role from users who do not require call log editing.
  • Place the CRM behind a reverse proxy rule that blocks direct access to /api/method/crm.integrations.api.add_note_to_call_log and add_task_to_call_log from untrusted sources.
bash
# Upgrade Frappe CRM to the patched release
bench get-app crm --branch v1.74.0
bench --site <your-site> install-app crm
bench --site <your-site> migrate
bench restart

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.