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
- 2026-11-06
Frappe published its ERPNext security advisory and named fixed releases 15.121.6 and 16.37.0.
- 2026-11-21
NVD published the CVE-2026-134372 record, linking Frappe's advisory.
What to do
-
Inventory ERPNext installations and portal access
Record each running ERPNext branch and version. Identify deployments with authenticated portal users, including accounts without assigned roles.
-
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.
-
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.
-
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
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-134372 in Brandefense Atlas
The Atlas record of CVE-2026-134372: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
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.