---
id: CVE-2026-91851
title: "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…"
summary: "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…"
severity: medium
cvss: 5.3
cvssVector: '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'
cwe:
  - CWE-697
  - CWE-863
vendor: MISP
product: MISP
affected:
  - MISP < 2.5.46
published: '2026-09-15'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T13:42:48.950'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-91851'
references:
  - url: 'https://github.com/MISP/MISP/commit/245b8d63a'
    label: 5a6e4751-2f3f-4070-9419-94fb35b644e8
tags:
  - nvd
  - cve.org
epss: 0.00351
epssPercentile: 0.26025
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-15T13:29:22.086413Z'
cvssSource: cna
ingestedAt: '2026-09-15T09:34:49.386Z'
---

## Overview

Affected versions of MISP incorrectly filter dashboard templates that are restricted to a specific permission flag.


DashboardsController::listTemplates() allowed a template when either:



 - its restrict_to_permission_flag matched one of the current user’s permission flags, or

 - restrict_to_permission_flag equaled integer 0






However, 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.



Version affected: ≤2.5.45

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
