# CVE-2026-21886: OpenCTI's GraphQL Mutations Allow Deletion of Unrelated Entities

> Attackers can delete unrelated sensitive objects via GraphQL mutations due to missing contextual validation in OpenCTI.

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 17 Mar 2026
- **Updated:** 17 Mar 2026
- **Also known as:** GHSA-mhmx-j75v-2m6x, PYSEC-2026-117

## What is CVE-2026-21886?

CVE-2026-21886 is a medium-severity missing authorization vulnerability in OpenCTI-Platform opencti, published on 17 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

OpenCTI is an open source platform for managing cyber threat intelligence knowledge and observables. Prior to version 6.9.1, the GraphQL mutations "IndividualDeletionDeleteMutation" is intended to allow users to delete individual entity objects respectively. However, it was observed that this mutation can be misused to delete unrelated and sensitive objects such as analyses reports etc. This behavior stems from the lack of validation in the API to ensure that the targeted object is contextually related to the mutation being executed. Version 6.9.1 fixes the issue.

Weakness: CWE-915 (Improperly Controlled Modification of Dynamically-Determined Object Attributes), CWE-566 (Authorization Bypass Through User-Controlled SQL Primary Key), CWE-285 (Improper Authorization)

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

1 open source package ship an affected version, including pycti. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `pycti` | PyPI | All versions | 6.9.1 |

Products: Citeum Opencti.

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

Upgrade pycti to 6.9.1 or later.

## Is CVE-2026-21886 being exploited?

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

## Other vulnerabilities in OpenCTI-Platform opencti

- [CVE-2026-27960](https://insights.sbomify.com/CVE-2026-27960/): OpenCTI privilege escalation and unauthenticated access via default admin account (critical 9.8)
- [CVE-2026-39980](https://insights.sbomify.com/CVE-2026-39980/): OpenCTI affected by RCE via notifier template (critical 9.1)
- [CVE-2025-24977](https://insights.sbomify.com/CVE-2025-24977/): OpenCTI has remote code execution and sensitive secrets exposed through web hook (critical 9.1)
- [CVE-2024-26139](https://insights.sbomify.com/CVE-2024-26139/): OpenCTI Authenticated Privilege Escalation (high 8.3)
- [CVE-2024-45404](https://insights.sbomify.com/CVE-2024-45404/): OpenCTI's lack of Rate Limit lead to OTP brute forcing (high 8.1)

## Fix prompt for AI coding agents

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

What it is: CVE-2026-21886 is a medium-severity missing authorization vulnerability in OpenCTI-Platform opencti, published on 17 Mar 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-21886 in the wild and no public exploit code.

Affected packages and fixed versions:
- pycti (PyPI): affected all versions; fixed in 6.9.1

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-21886/ (Markdown: https://insights.sbomify.com/CVE-2026-21886/index.md)
```

## Sources

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

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