CVE-2026-135259

MISP Auth Key Creation Type Confusion Allows Unauthorized Key for Adjacent User

Published Nov 23, 2026 CVSS 4.0 · 5.3 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability originates from a type confusion in the authentication key creation endpoint of MISP. When a user supplies a floating‑point value as the target user identifier, the authorization check truncates the value to an integer that corresponds to the attacker’s own account, while the persistence layer rounds the same floating‑point to the next consecutive integer. This mismatch allows an authenticated user who has key‑creation permission to create an API key that belongs to another user. The result is that the attacker can gain unauthorized access to the victim’s data and operations within the MISP instance, effectively elevating privileges. The weakness is a classic type‑conversion error (CWE‑843) combined with insufficient input validation (CWE‑20).

Affected Systems

The affected product is MISP, specifically all releases prior to 2.5.52. Any MISP instance running a version older than 2.5.52 is susceptible to the described type‑confusion flaw.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity, and the EPSS score is not available. The vulnerability requires an authenticated attacker who can create authentication keys, so it is not publicly exploitable. Because the exploit is trivial once the conditions are met, the risk is moderate if an attacker can obtain legitimate credentials or privileges. The vulnerability is not listed in CISA KEV, so there are no current known widespread attacks, but the lack of exploitation data does not negate the potential impact.

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.


OpenCVE Recommended Actions

  • Apply the latest MISP release (version 2.5.52 or newer) that contains the fixed type‑validation logic for the user identifier parameter.
  • In environments where a patch cannot be applied immediately, modify the API layer to reject any non‑integer user ID values, ensuring only native integers or digit‑only strings are accepted in the key‑creation endpoint.
  • Restrict the permission to create authentication keys to the smallest set of accounts necessary, preferably only system administrators, to reduce the attack surface.

Generated by OpenCVE AI on November 23, 2026 at 17:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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'}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-843

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

Sources

Status
PUBLISHED
Assigner
CIRCL
Published
Updated
Nov 23, 2026, 3:45 PM
Reserved
Nov 23, 2026, 3:45 PM
Status
Deferred
Published
Nov 23, 2026, 4:17 PM
Modified
Nov 23, 2026, 4:17 PM