Description
An Improper Authorization vulnerability exists in ERPNext version <v16.25.0 and <15.115.0 due to insufficient access control in the whitelisted API method erpnext.crm.doctype.prospect.prospect.get_opportunities.

This issue affects ERPNext: before 15.115.0, before 16.26.0.
Published: 2026-08-04
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An Improper Authorization flaw allows the erpnext.crm.doctype.prospect.prospect.get_opportunities API endpoint to be called without proper access checks, enabling unauthorized users to retrieve prospect opportunity data. The defect is coded as CWE-862 and can expose confidential customer information that is normally protected by role-based permissions. The issue exists in ERPNext installations running a version before 16.26.0 (for the v16 series) and before 15.115.0 (for the v15 series), meaning that many actively deployed systems are vulnerable.

Affected Systems

ERPNext software from the vendor Frappe is affected. The vulnerability applies to all instances deployed with ERPNext version 16.x prior to 16.26.0 and all instances running ERPNext 15.x older than 15.115.0. The flaw is present regardless of operating system — the vulnerability description lists Linux, macOS, and Windows as affected platforms via the cpe list. The specific REST endpoint is the whitelisted get_opportunities method within the prospect doctype module.

Risk and Exploitability

The CVSS base score of 7.1 labels the weakness as high severity. Because the EPSS score is not available, there is no hard metric indicating the likelihood of exploitation at this time. Nonetheless, the lack of access control permits an attacker to target the get_opportunities API directly, which is a standard HTTP request to the ERPNext backend; the attack could be performed by anyone who can reach the server, potentially even without valid credentials if the system does not enforce authentication. The flaw is not listed in the CISA KEV catalog, so there are no publicly documented exploits yet, but the absence of mitigation makes the vulnerability a high-risk exposure for organizations that expose their API to untrusted networks.

Generated by OpenCVE AI on August 4, 2026 at 23:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ERPNext to the latest patched release—v16.26.0 or later for v16, and v15.115.0 or later for v15—to eliminate the missing authorization check.
  • Apply any official vendor patch that addresses the get_opportunities API if the upgrade path is not immediately possible.
  • As a temporary measure, restrict network access to the get_opportunities endpoint using firewall rules, IP whitelisting, or API gateway controls to limit who can invoke the endpoint until a patch is applied.

Generated by OpenCVE AI on August 4, 2026 at 23:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 04 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
Description An Improper Authorization vulnerability exists in ERPNext version <v16.25.0 and <15.115.0 due to insufficient access control in the whitelisted API method erpnext.crm.doctype.prospect.prospect.get_opportunities. This issue affects ERPNext: before 15.115.0, before 16.26.0.
Title ERPNext v16.25.0 - Improper authorization in Prospect opportunities API
First Time appeared Frappe
Frappe erpnext
Weaknesses CWE-862
CPEs cpe:2.3:a:frappe:erpnext:*:*:linux:*:*:*:*:*
cpe:2.3:a:frappe:erpnext:*:*:macos:*:*:*:*:*
cpe:2.3:a:frappe:erpnext:*:*:windows:*:*:*:*:*
Vendors & Products Frappe
Frappe erpnext
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Fluid Attacks

Published:

Updated: 2026-08-04T20:53:53.785Z

Reserved: 2026-06-24T16:42:20.788Z

Link: CVE-2026-13227

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T22:30:05Z

Weaknesses