Description
Affected versions of MISP’s interactive CLI shell implement access control independently from the normal web application, causing several authorization inconsistencies.


The patch shows that CLI access could differ from the web application in multiple security-sensitive areas:

 - feed listings did not enforce the same lookup_visible restrictions for non-host-organisation users;
 - feed detail access did not enforce the same host-organisation/site-admin authorization as FeedsController::view();
 - Feed.headers, which can contain HTTP authorization credentials, could be exposed instead of being hidden or masked;
 - server synchronization authkey values were not explicitly hidden from CLI detail output;
 - sharing-group detail access did not consistently use SharingGroup::checkIfAuthorised();
 - the use command could establish context for a record without first proving that the user was authorized to view that record


The commit additionally hardens pagination and terminal rendering, including neutralization of terminal control sequences found in database-backed values. Those are important hardening changes, but the main vulnerability is the CLI authorization/data-disclosure mismatch.

Version affected: ≤2.5.45
Published: 2026-09-14
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: Authorization Bypass and Credential Exposure in Interactive CLI Shell
Action: Immediate Patch
AI Analysis

Impact

The vulnerability lies in MISP’s interactive CLI shell, which implements its own access control logic separate from the web application’s authorization model. This discrepancy allows attackers with CLI access to bypass ACL checks and view data they should not see, including credential headers and synchronization authkeys. The flaw also permits context establishment for records without verifying read permissions, potentially exposing sensitive information and facilitating manipulation of data in a way that the web UI would block. This weakness includes terminal injection that can compromise confidentiality and integrity of sensitive data.

Affected Systems

Systems running MISP versions up to and including 2.5.45 are impacted, particularly environments that enable the interactive CLI shell for administrators, coordinators, or other users with network access to the MISP server. Any vendor that has adopted the default shell configuration before the referenced fix is susceptible.

Risk and Exploitability

The CVSS score of 8.4 classifies the flaw as high severity. Although EPSS data is not available, the custom ACLs make exploitation plausible for attackers with network access to the CLI endpoint. The CISA KEV list does not flag this vulnerability, but the existence of an unaddressed authorization mismatch presents a significant risk to all affected systems due to potential data leakage and privilege escalation. Attackers likely need to authenticate to the shell, then issue feed or entity commands to fetch sensitive data; the exposed CLI logic permits this without further checks. The lack of mitigation in the CLI out-of-the-box config means any compromise of the shell credentials directly translates to data exposure without interception.

Generated by OpenCVE AI on September 15, 2026 at 14:44 UTC.

Remediation

Vendor Solution

The fix replaces the shell's hand-rolled authorization logic with the same model-level accessors used by the web interface (Event::fetchSimpleEvent, MispAttribute::fetchAttributes, MispObject::fetchObjects, SharingGroup::checkIfAuthorised, Organisation::canSee), ensuring read and write operations enforce identical ACL rules. Credential columns are excluded at the query level via a hiddenFields mechanism so they are never fetched from the database. The inline detail editor now delegates to the entity-specific edit handlers, which enforce per-record write authorization. All terminal output passes through a sanitiser that neutralises C0/C1 control characters, ANSI escape sequences, and Unicode bidirectional overrides. Pagination is clamped to a safe range (1-1000) to prevent unbounded result sets.


OpenCVE Recommended Actions

  • Upgrade MISP to version 2.5.46 or later, which replaces the shell’s custom authorization logic with the web interface’s model-level accessors and removes credential fields from query results
  • Restrict interactive shell usage to a narrowly scoped administrative group and enforce strict SSH key authentication to prevent unauthorized CLI access
  • Disable or remove the CLI component if it is not required for operational tasks, thereby eliminating the surface area for this authorization bypass

Generated by OpenCVE AI on September 15, 2026 at 14:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 14 Sep 2026 11:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 14 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Misp
Misp misp
Vendors & Products Misp
Misp misp

Mon, 14 Sep 2026 09:45:00 +0000

Type Values Removed Values Added
Description Affected versions of MISP’s interactive CLI shell implement access control independently from the normal web application, causing several authorization inconsistencies. The patch shows that CLI access could differ from the web application in multiple security-sensitive areas:  - feed listings did not enforce the same lookup_visible restrictions for non-host-organisation users;  - feed detail access did not enforce the same host-organisation/site-admin authorization as FeedsController::view();  - Feed.headers, which can contain HTTP authorization credentials, could be exposed instead of being hidden or masked;  - server synchronization authkey values were not explicitly hidden from CLI detail output;  - sharing-group detail access did not consistently use SharingGroup::checkIfAuthorised();  - the use command could establish context for a record without first proving that the user was authorized to view that record The commit additionally hardens pagination and terminal rendering, including neutralization of terminal control sequences found in database-backed values. Those are important hardening changes, but the main vulnerability is the CLI authorization/data-disclosure mismatch. Version affected: ≤2.5.45
Title MISP Interactive CLI Shell: Authorization Bypass, Credential Exposure, and Terminal Injection
Weaknesses CWE-150
CWE-200
CWE-522
CWE-862
References
Metrics cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-09-14T10:26:12.372Z

Reserved: 2026-09-14T09:40:52.456Z

Link: CVE-2026-90895

cve-icon Vulnrichment

Updated: 2026-09-14T10:25:55.129Z

cve-icon NVD

Status : Deferred

Published: 2026-09-14T10:17:06.270

Modified: 2026-09-16T13:42:47.933

Link: CVE-2026-90895

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-15T14:45:11Z

Weaknesses
  • CWE-150

    Improper Neutralization of Escape, Meta, or Control Sequences

  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-522

    Insufficiently Protected Credentials

  • CWE-862

    Missing Authorization