Frappe Framework development builds contain an authorization flaw in the render_jinja_template endpoint that allows low-privileged users to render arbitrary Jinja templates by supplying raw template strings. Attackers with print permission on any document can execute arbitrary SELECT statements against unrelated tables, including reading password hashes from the __Auth table.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/frappe/frappe/pull/40710 issue-tracking, patch
- https://github.com/frappe/frappe/commit/37d2eb59790633da01c741b950cc00ca3558c494 patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.1 · frappeNVD modified 2026-10-27 10:14
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 5
- https://github.com/frappe/frappe/pull/40710 issue-tracking, patch
- https://github.com/frappe/frappe/commit/37d2eb59790633da01c741b950cc00ca3558c494 patch
- https://github.com/frappe/frappe/blob/0a80046da32bb8976cd7854f551c179a4a06b1b3/frappe/utils/print_format_generator.py technical-description
- https://github.com/frappe/frappe product
- https://www.vulncheck.com/advisories/frappe-framework-development-branch-incorrect-authorization-via-jinja-template-preview-endpoint third-party-advisory