# CVE-2026-135259: MISP Auth Key Creation Type Confusion Allows Unauthorized Key for Adjacent User

> Authenticated MISP users with key-creation permission can create API keys for adjacent users by supplying a crafted floating-point identifier.

- **Severity:** Medium 5.3 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** Yes
- **Published:** 23 Nov 2026
- **Updated:** 24 Nov 2026
- **Also known as:** GHSA-j5g4-967x-35hw

## What is CVE-2026-135259?

CVE-2026-135259 is a medium-severity authentication bypass vulnerability in MISP, published on 23 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official 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.

Weakness: CWE-843 (Access of Resource Using Incompatible Type), CWE-20 (Improper Input Validation)

## Which versions are affected by CVE-2026-135259?

It affects 1 product.

An affected version is exposed as installed. No special setting or call is needed.


Products: Misp.

CPE match criteria (CPE 2.3):

- `cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*` before 2.5.52

## How do I fix CVE-2026-135259?

Upgrade MISP to 2.5.52 or later. The advisory says that version fixes it.

## Is CVE-2026-135259 being exploited?

There is no known exploitation of CVE-2026-135259 in the wild and no public exploit code.

Public exploit code:

- MISP <2.5.52: a float user_id is truncated by the auth check but rounded by persistence — an auth key is minted for another user. Verbatim type guard from 6298e28^ vs fix: cross-account key on vuln, rejected on fixed (github_poc): https://github.com/googlesky/CVE-2026-135259

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-135259 and fix it if it is affected.

What it is: CVE-2026-135259 is a medium-severity authentication bypass vulnerability in MISP, published on 23 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-135259 in the wild and no public exploit code.
Exposure: An affected version is exposed as installed. No special setting or call is needed.

Affected product: MISP. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-135259/ (Markdown: https://insights.sbomify.com/CVE-2026-135259/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-135259
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-135259
- OSV: https://osv.dev/vulnerability/CVE-2026-135259

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-135259/
Summaries are generated and may contain mistakes; the official description above is the record.
