{"answers":{"affected":"2 open source packages ship an affected version, including frappe.","exploited":"There is no known exploitation of CVE-2026-137551 in the wild and no public exploit code.","exposure":"","fix":"Upgrade frappe to a fixed version for your release line: 16.36.0 or 15.121.2.","what":"CVE-2026-137551 is a high-severity vulnerability in frappe, published on 26 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-137551 and fix it if it is affected.\n\nWhat it is: CVE-2026-137551 is a high-severity vulnerability in frappe, published on 26 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-137551 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- frappe (PyPI): affected all versions; fixed in 15.121.2\n- frappe (PyPI): affected from 16.0.0; fixed in 16.36.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-137551/ (Markdown: https://insights.sbomify.com/CVE-2026-137551/index.md)","id":"CVE-2026-137551","markdown":"https://insights.sbomify.com/CVE-2026-137551/index.md","name":"CVE-2026-137551","record":{"aliases":["GHSA-2mp6-rg3v-jj4v","GHSA-qrxv-3vjh-gpx7"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-749","name":"Exposed Dangerous Method or Function"}],"description":"Frappe Framework before 15.121.2 and 16.x before 16.36.0 exposes functions imported into module-path-hooked modules as Jinja globals, making them callable from sandboxed templates. Authenticated users who can author rendered templates, such as Print Formats, can invoke these functions by name to achieve server-side code execution that bypasses the Jinja sandbox.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Frappe before 16.36.0 Jinja Sandbox Bypass via Module-Path Hooks","id":"CVE-2026-137551","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":["16.36.0","15.121.2"],"main_package":"frappe","n_packages":2,"n_references":2,"n_vendor_status":0,"next":{"headline":"Frappe Framework before 16.35.0 2FA Bypass via OAuth2 Password Grant","id":"CVE-2026-137552"},"nickname":null,"packages":[{"ecosystem":"PyPI","fixed":["15.121.2"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"frappe","purl":"pkg:pypi/frappe","purl_source":"cna","scope":"upstream","source":"CVE-2026-137551"},{"ecosystem":"PyPI","fixed":["16.36.0"],"introduced":["16.0.0"],"last_affected":[],"name_kind":null,"package":"frappe","purl":"pkg:pypi/frappe","purl_source":"cna","scope":"upstream","source":"CVE-2026-137551"}],"prev":{"headline":"Frappe Framework before 15.122.0 Authorization Bypass via Document.update()","id":"CVE-2026-137550"},"products":["frappe"],"published":"2026-11-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-26","vendor_status":[],"vendors":["frappe"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-137551/"}