{"id":"CVE-2026-91819","published":"2026-09-15T07:41:37Z","modified":"2026-09-15T14:37:05Z","title":"MISP: HTTP Method Override Bypasses CSRF and Form Validation in BetterSecurityComponent","vendor":"MISP","product":"MISP","tier":"tail","description":{"text":"Affected versions of MISP rely on CakePHP request-method override processing in a way that can disable CSRF and form-security validation.\n\nCakePHP honors a _method field or X-HTTP-Method-Override header by rewriting the effective request method. For override values outside the normal write verbs POST, PUT, PATCH, and DELETE, CakePHP also clears the parsed request body. MISP’s security component then determines whether to perform _validatePost() and _validateCsrf() based on whether request data remains. With a value such as:\n\n\n_method=GET\n\nthe body becomes empty before those checks run, so both protections are skipped. A cross-site form containing only that override can therefore reach actions whose parameters are taken from the URL rather than the request body\n\nVersion affected: ≤2.5.45","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00198,"percentile":0.05551,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"},{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/MISP/MISP/commit/29af008c4","tags":["patch"]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":1.11},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"misp","affectedVersions":[{"vendor":"MISP","product":"MISP","versions":["< 2.5.46"]}],"solutions":{"items":["The fix introduces a __rejectUnsafeMethodOverride() check in BetterSecurityComponent::startup() that executes before the parent SecurityComponent::startup() computes $hasData. It inspects both the _method POST field and the X-HTTP-Method-Override header (mirroring CakePHP's precedence) and rejects any value that is not a string in the allowed set {POST, PUT, PATCH, DELETE}. Non-string values (e.g., array payloads like _method[]=GET) are also refused. A BadRequestException is thrown and the event is logged, preventing the request from ever reaching the parent security logic with an emptied body."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-62","name":"Cross Site Request Forgery"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-15T14:33:06.680786Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-78317","exploited":false,"provenance":"source"}}