Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2023-54410 Overview
CVE-2023-54410 is an improper authorization vulnerability [CWE-285] in the Frappe framework prior to version 13.22.0. The flaw stems from a missing permission check in the document rename functionality. Authenticated users can invoke the rename operation on documents they lack permission to modify. This allows attackers to alter record identifiers without proper authorization, affecting data integrity across Frappe-based applications such as ERPNext deployments.
Critical Impact
Authenticated attackers can rename arbitrary documents they do not own, undermining record integrity and audit trails in Frappe applications.
Affected Products
- Frappe Framework versions prior to 13.22.0
- Downstream applications built on vulnerable Frappe releases (including ERPNext)
- Self-hosted and cloud Frappe deployments running affected versions
Discovery Timeline
- 2026-10-12 - CVE-2023-54410 published to NVD
- 2026-10-12 - Last updated in NVD database
Technical Details for CVE-2023-54410
Vulnerability Analysis
Frappe exposes a document rename endpoint that updates the primary identifier of a stored document. In versions before 13.22.0, this endpoint fails to enforce the standard permission model that governs other write operations. Any authenticated session with network access to the Frappe application can trigger a rename against documents outside the user's permission scope.
The impact is limited to integrity: the rename operation does not expose document contents or disrupt availability, but it mutates record identifiers that downstream workflows and foreign key references rely upon. In business-critical deployments such as ERPNext, altered document names can break reporting, approval chains, and audit history.
Root Cause
The root cause is a missing authorization check [CWE-285] in the server-side rename handler. The handler validates authentication but omits the per-document permission validation applied to other write paths. Fix commits in Frappe 13.22.0 add the missing has_permission enforcement before executing the rename.
Attack Vector
Exploitation requires an authenticated account with low privileges on the Frappe instance. The attacker issues a rename request through the standard Frappe API, targeting a document identifier they do not have write access to. Because the server skips the permission check, the rename succeeds. No user interaction is required beyond the attacker's own authenticated session. See the GitHub Security Advisory and the VulnCheck Advisory on Frappe for additional technical context.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2023-54410
Indicators of Compromise
- Unexpected entries in the Frappe Rename Log or Version doctype referencing documents outside the acting user's typical scope
- API requests to the document rename endpoint originating from accounts that do not own the targeted doctype
- Discrepancies between document identifiers in application reports and historical references in linked records
Detection Strategies
- Audit Frappe server logs for frappe.rename_doc calls and correlate the acting user against the owner and permission matrix of the target document
- Query the tabVersion table for rename events on sensitive doctypes and flag changes performed by non-privileged roles
- Baseline normal rename activity per role and alert on volume spikes or cross-doctype rename patterns indicative of enumeration
Monitoring Recommendations
- Forward Frappe application logs and database audit events to a centralized SIEM for retention and correlation
- Enable change tracking on business-critical doctypes so every rename produces a reviewable audit entry
- Monitor authentication telemetry for low-privilege accounts issuing high volumes of write-style API calls
How to Mitigate CVE-2023-54410
Immediate Actions Required
- Upgrade all Frappe instances to version 13.22.0 or later as the authoritative fix
- Review account privileges and disable or restrict low-trust user accounts pending the upgrade
- Audit recent rename activity on production doctypes to identify unauthorized changes and restore original identifiers where needed
Patch Information
Frappe addressed the issue in release 13.22.0 by adding the missing permission check to the document rename path. Administrators should apply the upgrade using standard bench update procedures and verify the version with bench version. Full remediation details are available in the GitHub Security Advisory GHSA-whww-ggp5-r2xq.
Workarounds
- Restrict access to the Frappe application to trusted authenticated users via network segmentation or VPN until the patch is applied
- Reduce the number of accounts with write access to sensitive doctypes to limit the exploit surface
- Enable detailed version tracking on high-value doctypes so unauthorized rename operations are logged for rapid rollback
# Upgrade Frappe to a patched release
bench update --patch
bench version | grep frappe
# Expected output: frappe 13.22.0 (or later)
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

