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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Monogramm | erpnext_ocr | ≤ 1.1.1 | — |
References
- Researcher Disclosure technical-description exploit
- VulnCheck Advisory: ERPNext OCR 1.1.1 Path Traversal and SSRF via read_document third-party-advisory