Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege ERPNext user
-
ExploitSend crafted request with new number to Stock endpoint
-
ExecutionEndpoint creates Serial No/Batch master without permission check
-
ImpactUnauthorized records degrade inventory data integrity
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated ERPNext session: any valid user account, specifically one lacking create permission on the Serial No and Batch master doctypes (PR:L). The attacker must reach the specific Stock-module endpoint that verifies whether an inventory number exists; supplying a previously nonexistent number causes it to create the missing master record without a create-permission check. Limiting factors: exploitation is impossible for fully unauthenticated attackers, impact is confined to inventory data integrity with no data disclosure, and only deployments running ERPNext 15.10.4-15.121.x or 16.x below 16.50.0 are affected - upgrading to 15.122.0 or 16.50.0 is the only fix, with no vendor workaround. |
| Impact | This is a moderate, integrity-only authorization flaw, not an urgent priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and the 5.3 base score agree with the description: a network-reachable endpoint reachable by any authenticated low-privilege user, with low impact confined to vulnerable-system integrity (VI:L, and the input also asserts subsequent-system SI:L) and explicitly no confidentiality (VC:N) or availability (VA:N) impact. The vuln.today decision label is 'this_month', consistent with a real-but-non-emergency fix. No EPSS score and no CISA KEV entry are present in the input, so there is no signal of active or probabilistic widespread exploitation; the GHSA advisory does include a PoC narrative, but the input does not mark it as confirmed working exploit code. Signals are internally consistent rather than conflicting: a genuine missing-authorization bug (CWE-862) that lets an authenticated user create inventory master records outside their role, capped at data-integrity impact with no disclosure. The main caveat is that EPSS and KEV data are simply absent (not a conflict), so real-world exploitation likelihood is unquantified from the provided data. |
| Exploit ScenarioDerived | An attacker who already holds any authenticated ERPNext account - even one with no create permission on Serial No or Batch masters - sends a crafted request to the Stock-module endpoint that checks whether an inventory number exists, supplying a new number. The endpoint creates the missing Serial No or Batch master record without verifying create permission, letting the user seed inventory master data outside their assigned role. The GHSA advisory documents this exact PoC flow, though the input does not confirm it as packaged, working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 21, 2026
Missing authorization in Frappe ERPNext's Stock module allows any authenticated user to create Serial No and Batch master records despite lacking create permission on those doctypes. Affected deployments are ERPNext 15.10.4 through 15.121.x and 16.x releases below 16.50.0; exploitation requires a valid low-privileged session (CVSS:3.1 AV:N/AC:L/PR:L/UI:N, scored 5.3) and is confined to inventory data integrity, with no data disclosure or availability impact. A PoC description is published in the vendor's GitHub security advisory, but no working exploit code has been confirmed and there is no evidence of active exploitation (not in CISA KEV); the vendor ships no workaround, so upgrading to 15.122.0 or 16.50.0 is the only fix.
RemediationAI
Upgrade to ERPNext 15.122.0 (for the 15.x branch) or 16.50.0 (for the 16.x branch), which add the missing create-permission check on the Stock-module existence endpoint; the vendor states no workaround is available and that upgrading is required, so there is no supported configuration change, feature toggle or endpoint restriction to substitute for the patch. Refer to GHSA-4mg4-7qq3-phxc (https://github.com/frappe/erpnext/security/advisories/GHSA-4mg4-7qq3-phxc) for the fix commits and release notes. Because exploitation requires only a valid low-privileged account, interim exposure can be reduced by auditing Serial No and Batch records for creations by users whose roles lack create permission on those doctypes, and by reviewing which accounts can reach the Stock module - noting that neither control prevents the write, they only detect it. Organizations running versions below 15.10.4 should confirm their exposure against the advisory before assuming they are unaffected.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ERPNext is an open-source ERP built on the Frappe framework, whose authorization model is role-based and enforced per DocType (create, read, write, submit, etc.) via checks such as frappe.has_permission on the target doctype. Serial No and Batch are Stock-module master doctypes that track serialized and lot/batch inventory and are normally created only by roles granted create rights. The vulnerable endpoint's purpose is to test whether a given inventory number already exists; when the number is not found it falls through to creating the corresponding master record, but the code path omitted the create-permission check (CWE-862, Missing Authorization). The result is a confused-deputy style gap in which an authenticated caller without create rights on Serial No or Batch can cause records to be written by supplying a previously nonexistent number. The flaw is integrity-only: no read paths are exposed by the endpoint, so confidentiality and availability are unaffected, and the trigger is limited to that specific existence-check endpoint rather than a general permission bypass across the framework.
Know when Frappe gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Network-reachable endpoint usable by any authenticated low-privilege user (PR:L), no interaction, integrity-only impact from unauthorized record creation, no confidentiality or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Frappe ERPNext 15.10.4 before 15.122.0 and 16.x before 16.50.0 contains a missing authorization vulnerability in a Stock module endpoint that checks whether an inventory number exists and creates missing Serial No and Batch master records without verifying create permission. Authenticated users can send a crafted request with a new number to create these records outside their role, affecting inventory data integrity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Stored cross-site scripting leading to code execution in Frappe Framework 15.89.0 (and the ERPNext application built on
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
Authenticated SQL injection in Frappe ERPNext through 15.89.0 allows low-privilege users to extract arbitrary database c
SQL injection in Frappe ERPNext through 15.89.0 lets an authenticated attacker with a valid session and access to the Pa
Authenticated server-side template injection in Frappe ERPNext through 15.89.0 lets a user who can create or modify an A
An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev
Arbitrary file read in the Frappe full-stack web application framework allows remote unauthenticated attackers to retrie
SQL injection in Frappe HelpDesk 1.14.0 dashboard functionality allows authenticated attackers to execute arbitrary SQL
In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/re
EUVD-2026-132518
GHSA-jg46-w39j-mvq7
NVD
CVE.org
EPSS
Exploit-DB