/

CVE-2026-134404

Severity:

HIGH RISK

(7.7)

Missing Authorization (CWE-862) in ERPNext Portal Lists

CVE-2026-134404

Deferred

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Unauthorized disclosure of sensitive business data

Severity:

HIGH RISK

(7.7)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

ERPNext's customer and supplier portal list endpoint may return selling documents and requests for quotation without checking whether the requester can access each record. An authenticated user, including a portal user or a user without assigned roles, could potentially read out-of-scope records containing valuation, margin, or bidder details.

Affected context

The issue occurs in the customer and supplier portal list endpoint when it retrieves selling documents or RFQs without enforcing permission checks on the requested records. It is risky when an authenticated user can make requests for records outside their authorized scope and the endpoint returns those records.

Exploit preconditions

  • Attack surface: Customer and supplier portal list endpoint
  • Required access: An authenticated account; the description includes portal users and users without roles
  • Trigger point: A request for selling documents or RFQs beyond the user's authorized scope
  • Why exploitation is possible: The endpoint returns requested records without checking authorization for each record

Why this happens

The underlying issue is a missing authorization check on data access. The endpoint relies on a request to identify records but does not verify that the requester is permitted to view each one. This maps to CWE-862: Missing Authorization, where access to a protected resource is not adequately restricted.

Potential impact

  • An attacker could read selling documents or RFQs outside their permitted scope.
  • Exposed records may reveal valuation, margins, or bidder details.
  • Unauthorized access could undermine confidentiality in customer, supplier, or procurement workflows.

General mitigation guidance

Defensive patterns focus on enforcing authorization at the point of data access:

  • Check the requesting user's permissions against every returned record on the server side.
  • Apply secure-by-default access controls so records are excluded unless access is explicitly allowed.
  • Derive record scope from trusted identity and authorization context rather than relying on client-supplied identifiers or filters.
  • Keep portal and service accounts limited to the data and operations they need.
  • Use consistent authorization rules across list, search, export, and detail endpoints.

How teams detect issues like this

  • Review list and search handlers for record queries that do not apply user-specific authorization constraints.
  • Use static analysis or code review checks to flag data access paths without corresponding permission enforcement.
  • Test with users of different roles and scopes to verify that out-of-scope records are excluded.
  • Apply policy checks to ensure authorization is enforced server-side for every returned record.

Sources

SourceLink
github.comgithub.com/frappe/erpnext/security/advisories/GHSA-29xj-69vf-fmmh
vulncheck.comvulncheck.com/advisories/frappe-erpnext-6.3.0-before-15.124.0-missing-authorization-in-customer-and-supplier-portals

Frequently asked

questions

Selling documents and RFQs may contain valuation, margin, bidder, or other business-sensitive details.

The described attack requires authentication. Portal users and users without roles may be able to make requests, depending on the deployment and endpoint access controls.

Enforce server-side authorization for every record returned, using the authenticated user's trusted permissions and scope.

Apply default-deny access rules consistently across list and detail endpoints, and test queries with accounts that have different roles and data scopes.

Find out what's already
exploitable in your codebase.