Description
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.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-863 — Incorrect Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| frappe | frappe | 0a80046da32bb8976cd7854f551c179a4a06b1b3 to <37d2eb59790633da01c741b950cc00ca3558c494 |
References
- 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)
Generated from the official CVE List on 31 Aug 2026 07:02 UTC.