# CVE-2026-54397: MISP event editing allows unauthorized assignment to undisclosed sharing groups

> Authenticated users can bypass authorization checks to assign events to unauthorized sharing groups, leading to information disclosure and metadata modification.

- **Severity:** Medium 6.1 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:H/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 12 Jun 2026
- **Updated:** 15 Jun 2026
- **Also known as:** GHSA-4qr4-pqwx-m352

## What is CVE-2026-54397?

CVE-2026-54397 is a medium-severity missing authorization vulnerability in misp, published on 12 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

### Official description

A vulnerability in MISP’s non-REST event editing path allowed an authenticated user with event edit permissions to manipulate the submitted form data and set an event’s sharing_group_id to a sharing group they were not authorized to use. When distribution was set to sharing group distribution, the non-REST save path accepted the submitted sharing_group_id without performing the same sharing group authorization check enforced by the REST edit path.

An attacker could exploit this by tampering with the event edit request and assigning an event to an undisclosed or unauthorized sharing group. This could result in unauthorized use of restricted sharing groups, disclosure of the sharing group name in event listings, and unintended modification of the event’s distribution metadata.

The issue is fixed by validating that the selected sharing group can be used by the current user when the sharing group is changed, and by clearing sharing_group_id when the event distribution is not set to sharing group distribution.

Weakness: CWE-863 (Incorrect Authorization)

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


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

No fix has been published for CVE-2026-54397 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-54397 being exploited?

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

## Fix prompt for AI coding agents

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

What it is: CVE-2026-54397 is a medium-severity missing authorization vulnerability in misp, published on 12 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2026-54397 in the wild and no public exploit code.

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

## Sources

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

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