# CVE-2026-91859: MISP Access Log Entry Overwritten by Error Controller's Second beforeFilter Pass

- Severity: Medium 5.3 (CVSS:4.0, scored by CIRCL) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/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.30%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-09-15T09:26:35.198Z
- Modified: 2026-09-16T13:42:48.993Z
- Weaknesses: CWE-223, CWE-778
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CIRCL

## Description

Affected versions of MISP can record incorrect access-log data for requests that terminate in an exception.


Because CakeErrorController extends AppController, exception rendering runs the application startup path a second time. As a result, __accessMonitor() calls AccessLog::logRequest() twice for one HTTP request. The second deferred writer measures the error-controller execution instead of the original request and can overwrite the row created by the first pass. The corrupted fields include request duration, SQL query count, memory usage, and potentially the recorded query log.


The bug was masked because the same model instance retained the ID of the first saved row, causing the later save to issue an UPDATE rather than insert an obvious duplicate row.

Version affected: ≤2.5.45

(As written by CVE List.)

## Affected

- MISP MISP: before 2.5.46

## References

- <https://github.com/MISP/MISP/commit/0dae5c072> (patch)

## Sources

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

---

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