Description
MISP contains a type confusion vulnerability in the authentication key creation endpoint. When a user submits a floating-point value as the target user identifier, the authorization check truncates the value to an integer (matching the attacker's own account), while the persistence layer rounds the same value to a different integer (the next account in the sequence). This discrepancy allows an authenticated user with key-creation permission to generate an API authentication key belonging to another user.

Preconditions:
- The attacker must be an authenticated user with the permission to create authentication keys.
- The target user must have a consecutive numeric identifier immediately following the attacker's identifier.

Impact:
- Unauthorized creation of an API key for another user, granting the attacker access to that user's data and operations within the MISP instance.
- The vulnerability is trivially exploitable by substituting a carefully crafted floating-point value for the integer user identifier in the request.

Affected versions: MISP prior to 2.5.52.
Published: 2026-11-23
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

The fix enforces strict type validation on the user identifier parameter in both the controller and the model layer. Only native integers or digit-only strings are accepted; any other type (including floating-point numbers) is rejected with an authorization error before the value reaches the persistence layer. This eliminates the discrepancy between the authorization check and the storage layer, preventing the type confusion from being exploited.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 23 Nov 2026 16:00:00 +0000

Type Values Removed Values Added
Description MISP contains a type confusion vulnerability in the authentication key creation endpoint. When a user submits a floating-point value as the target user identifier, the authorization check truncates the value to an integer (matching the attacker's own account), while the persistence layer rounds the same value to a different integer (the next account in the sequence). This discrepancy allows an authenticated user with key-creation permission to generate an API authentication key belonging to another user. Preconditions: - The attacker must be an authenticated user with the permission to create authentication keys. - The target user must have a consecutive numeric identifier immediately following the attacker's identifier. Impact: - Unauthorized creation of an API key for another user, granting the attacker access to that user's data and operations within the MISP instance. - The vulnerability is trivially exploitable by substituting a carefully crafted floating-point value for the integer user identifier in the request. Affected versions: MISP prior to 2.5.52.
Title MISP Auth Key Creation Type Confusion Allows Unauthorized Key for Adjacent User
First Time appeared Misp
Misp misp
Weaknesses CWE-20
CWE-843
CPEs cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*
Vendors & Products Misp
Misp misp
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-11-23T15:45:27.052Z

Reserved: 2026-11-23T15:45:23.613Z

Link: CVE-2026-135259

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-23T16:17:45.840

Modified: 2026-11-23T16:17:45.947

Link: CVE-2026-135259

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-23T18:00:03Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')