{"schema":"threatline.record/2","record":{"id":"CVE-2023-54406","aliases":["GHSA-v3vh-7qx4-f582"],"summary":"Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts","details":"Frappe before 14.59.0 and 15.x before 15.5.0 contains a sandbox flaw where the frappe.flags.in_safe_exec global flag can become False during Server Script execution when one server script triggers another. Authenticated high-privileged users can craft a Server Script that triggers other server scripts, such as by saving a document, so the remaining code runs without safe execution protections.","categories":["Unclassified"],"product":"frappe","vendor":"frappe","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2023-54406","source_modified_at":"2026-10-15T14:03:30.211Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"frappe","vendor":"frappe","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"14.59.0"},{"version":"15.0.0","status":"affected","versionType":"semver","lessThan":"15.5.0"},{"version":"14.59.0","status":"unaffected","versionType":"semver"},{"version":"15.5.0","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2023-54406","source_modified_at":"2026-10-15T14:03:30.211Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"frappe","ecosystem":null},"version":"14.59.0","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2023-54406","source_modified_at":"2026-10-15T14:03:30.211Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"frappe","ecosystem":null},"version":"15.5.0","basis":"first unaffected version stated in the CVE record"}],"cvss":6.9,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00315,"percentile":0.23211,"score_date":"2026-10-23"},"published_at":"2026-10-12T22:21:38.705Z","modified_at":"2026-10-15T14:03:30.211Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-54406","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-15T14:03:30.211Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-54406","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/frappe/frappe/security/advisories/GHSA-v3vh-7qx4-f582","tags":["vendor-advisory"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/frappe-before-14.59.0-safe-execution-flag-bypass-in-server-scripts","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-15T14:03:05.698644Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-15T14:03:30.211Z","content_hash":"2468450bc56aa4450a88b7d0e4a5b17aafb43c8e312f8b581faae6726cbccaa4"}}
