ERPNEXT_OCR · CVE-2026-119758 · Package
NO FIX YET
The ERPNext OCR app for Frappe lets any logged-in user pass a client-controlled path to its whitelisted read_document method. An attacker can read arbitrary server files, including other users' private uploads, or make the server fetch internal URLs such as cloud metadata endpoints.
first public Nov 6, 2026 · 2 sources
Check it with your coding agent
It checks your repository and tells you if you’re affected, with the fix.
Sites running the ERPNext OCR app for Frappe/ERPNext through version 1.1.1 are exposed, since any authenticated user can reach read_document. Sites that do not install this app are not affected. Who can skip it: teams without the OCR app installed, and those that restrict who holds an account.
Not affected if app-not-installed
Who cares erpnext, frappe, self-hosted
bench --site <site> list-apps (or bench list-apps) and look for erpnext_ocr.bench version (lists app versions); 1.1.1 or earlier is affected.bench --site <site> uninstall-app erpnext_ocr or restrict accounts, and review access logs for calls to the read_document method. Also check cloud metadata access (IMDS) from the server.Unknown from the sources.
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.
This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Tell InfraStack what you run. It checks this one, and every next one, against your stack.
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.