# CVE-2026-91851: MISP Dashboard Template ACL Bypass Due to VARCHAR-to-Integer Type Coercion in Permission Flag Comparison

- Severity: Medium 5.3 (CVSS:4.0, scored by CIRCL) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-09-15T08:50:01.513Z
- Modified: 2026-09-16T13:42:48.950Z
- Weaknesses: CWE-697, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CIRCL

## Description

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

(As written by CVE List.)

## Affected

- MISP MISP: before 2.5.46

## References

- <https://github.com/MISP/MISP/commit/245b8d63a> (patch)

## Sources

- CVE List: [CVE-2026-91851](https://www.cve.org/CVERecord?id=CVE-2026-91851), CVE Terms of Use, modified 2026-09-15
- NVD: [CVE-2026-91851](https://nvd.nist.gov/vuln/detail/CVE-2026-91851), Public domain, modified 2026-09-16

---

Page: https://cve.day/CVE-2026-91851 · Whole record: https://cve.day/CVE-2026-91851.json · Rebuilt by cve.day 2026-11-25T22:59:38.481Z
