ERPNext OCR 1.1.1 Path Traversal and SSRF via read_document

State
Published
Severity
7.1 High
Published
Nov 6, 2026
Updated
Nov 6, 2026
Reserved
Oct 30, 2026

Read the record on cve.org

Description

ERPNext OCR app for Frappe/ERPNext through 1.1.1 contains a missing authorization and path traversal vulnerability that allows any authenticated user to read arbitrary server files by passing a fully client-controlled path argument to the whitelisted read_document method. Attackers can supply local file paths to bypass Frappe's File doctype permission model and access other users' private uploads, or supply arbitrary URLs to trigger server-side requests reaching internal services and cloud metadata endpoints.

ProductVersions
erpnext_ocr Monogramm1.1.1 and earlier Affected

Weaknesses

  • CWE-918 Server-Side Request Forgery (SSRF)
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.