{"id":"CVE-2026-91851","published":"2026-09-15T08:50:01Z","modified":"2026-09-15T13:29:55Z","title":"MISP Dashboard Template ACL Bypass Due to VARCHAR-to-Integer Type Coercion in Permission Flag Comparison","vendor":"MISP","product":"MISP","tier":"tail","description":{"text":"Affected versions of MISP incorrectly filter dashboard templates that are restricted to a specific permission flag.\n\n\nDashboardsController::listTemplates() allowed a template when either:\n\n\n\n - its restrict_to_permission_flag matched one of the current user’s permission flags, or\n\n - restrict_to_permission_flag equaled integer 0\n\n\n\n\n\n\nHowever, restrict_to_permission_flag is a varchar. MySQL therefore performed numeric coercion when comparing the column against integer 0. Strings such as perm_site_admin convert numerically to zero, making expressions such as perm_site_admin = 0 evaluate true and causing the “unrestricted” branch to match permission-restricted templates as well.\n\n\n\nVersion affected: ≤2.5.45","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00351,"percentile":0.21134,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-697","name":"Incorrect Comparison"}],"references":[{"url":"https://github.com/MISP/MISP/commit/245b8d63a","tags":["patch"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":4.23},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"misp","affectedVersions":[{"vendor":"MISP","product":"MISP","versions":["< 2.5.46"]}],"solutions":{"items":["The fix corrects the type mismatch in the permission flag comparison by replacing the integer literal 0 with the explicit string values '' and '0', which are the actual database values representing an unrestricted dashboard template. This ensures MySQL performs a proper string-to-string comparison, so only rows genuinely marked as unrestricted are returned, restoring the intended per-permission-level access control on dashboard templates."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-1","name":"Accessing Functionality Not Properly Constrained by ACLs"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-15T13:29:22.086413Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-78333","exploited":false,"provenance":"source"}}