CVE-2026-91859

MISP Access Log Entry Overwritten by Error Controller's Second beforeFilter Pass

State
Published
Severity
5.3 Medium
Published
Sep 15, 2026
Updated
Sep 15, 2026
Reserved
Sep 15, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
4.05.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NCIRCL

Weaknesses

  • CWE-778 Insufficient Logging
  • CWE-223 Omission of Security-relevant Information in Logs

Affected Products

ProductVersions
MISPMISP
  • before 2.5.46Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.