Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

ERPNext Portal SQL Injection (CVE-2026-134372)

CVE-2026-134372 is an SQL injection vulnerability in ERPNext's Selling and Buying modules.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
CVE ID
CVE-2026-134372
Vendor
Frappe
Affected Product
ERPNext
Exploitation
Not confirmed
Published
2026-11-21

CVE-2026-134372 is an SQL injection vulnerability in ERPNext's Selling and Buying modules. Frappe says an authenticated portal user with no assigned roles can reach the flaw. The user could extract database information, including active session data.Frappe says exposed sessions could allow takeover of other accounts, including administrator accounts. Its 6 November 2026 advisory identifies fixed releases for the 15 and 16 branches. NVD published the CVE record on 21 November 2026.

What it allows

How Does CVE-2026-134372 Expose ERPNext Sessions?

Frappe says ERPNext validates a request value early in processing. Caller-supplied data can later override that value, and the replacement reaches a database query without validation. The patch applies validation after that override.

An authenticated user, even a portal user without assigned roles, can use the flaw to extract sensitive database information. Frappe specifically identifies active session data and the possibility of taking over another account, including an administrator account. The advisory says victim interaction is unnecessary.

This is an account-level exposure, so a portal login should not be treated as a sufficient boundary for the affected endpoint. The SQL injection glossary explains the underlying weakness. The session hijacking glossary covers why exposed sessions matter.

The advisory documents a proof of concept, but it does not claim observed attacks. An example in an advisory establishes a possible path, not exploitation of a real deployment. Use Vulnerability Intelligence to place the finding in a broader patch-priority review.

Who is affected

Which ERPNext Versions Need a CVE-2026-134372 Review?

Frappe marks ERPNext releases before 15.121.6 on the 15 branch and before 16.37.0 on the 16 branch as affected. It identifies 15.121.6 and 16.37.0 as patched releases. NVD's description also mentions 4.3.0, but its configurations have not yet been analyzed.

Because the published ranges do not give a consistent lower bound for each branch, compare the installed release with Frappe's branch-specific fixes manually. Check the version running in production after the deployment, rather than relying only on a package or change record. Review vendor backports separately where an upstream version number does not represent the installed patch.

Frappe states that no workaround is available and an upgrade is required. Treat portal accounts as relevant exposure even when they have no assigned roles. The related ERPNext advisory overview provides context for the broader November update set.

Timeline

  1. 2026-11-06

    Frappe published its ERPNext security advisory and named fixed releases 15.121.6 and 16.37.0.

  2. 2026-11-21

    NVD published the CVE-2026-134372 record, linking Frappe's advisory.

What to do

  1. Inventory ERPNext installations and portal access

    Record each running ERPNext branch and version. Identify deployments with authenticated portal users, including accounts without assigned roles.

  2. Upgrade to the matching fixed branch

    Apply ERPNext 15.121.6 or later on the 15 branch, or 16.37.0 or later on the 16 branch. Frappe says there is no workaround.

  3. Verify the running version

    Check the version actually running after deployment against the fixed release for its branch. Confirm any distributor backport with the distributor's security notice.

  4. Review possible session exposure

    As defensive triage, examine application and database access records for unexpected access by portal accounts. If investigation suggests session data was exposed, invalidate affected sessions and follow the incident-response process.

What Brandefense can do

Frequently Asked Questions

Can a portal user exploit CVE-2026-134372 without ERPNext roles?

Frappe says an authenticated portal user with no assigned roles can reach the vulnerability. The account must still be authenticated.

Which ERPNext releases contain the fix?

Frappe identifies 15.121.6 for the 15 branch and 16.37.0 for the 16 branch. Verify the running version after upgrading.

Is disabling a feature a documented workaround?

Frappe says no workaround is available. Its stated remediation is to upgrade to a patched release.

Why is session data important here?

Frappe says extracted active session data can allow takeover of other accounts, including administrator accounts. This is a stated potential impact, not a confirmed incident.

Sources

  1. Selling and Buying SQL Injection AdvisoryFrappe
  2. CVE-2026-134372 RecordNVD
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →