CVE-2026-41283: Mistral Remote Code Execution Vulnerability

CRITICAL
Advisory Identifier: GHSA-9hfw-w3f4-c4p8
CVSS 9.9
CWE-749 CWE-863
Published
Advisory Summary

CVE-2026-41283 is a CRITICAL (CVSS 9.9) remote code execution vulnerability (CWE-749: Exposed Dangerous Method or Function) affecting Mistral libraries in the PyPI ecosystem. The issue involves openstack mistral allows arbitrary remote code execution when the api is exposed. Remediation is available by upgrading affected packages to version 20.1.1.

CVE-2026-41283 at a Glance

CVE Identifier CVE-2026-41283
GHSA Identifier GHSA-9hfw-w3f4-c4p8
Severity CRITICAL
CVSS v3.1 Base Score 9.9
CWE Classification CWE-749: Exposed Dangerous Method or Function
Affected Product Mistral
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 9.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-41283

To remediate this vulnerability, upgrade all affected Mistral dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

mistral fixed: 20.1.1
pip install mistral>=20.1.1
mistral fixed: Latest secure release
pip install mistral>=Latest secure release
mistral fixed: Latest secure release
pip install mistral>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show mistral

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-41283, inspect your installed packages using pip:

pip show mistral

Analyze the terminal output to locate any version of Mistral in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 20.1.1), your application is affected.

Note: The pip show mistral command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-749: Exposed Dangerous Method or Function, where the product provides an applications programming interface (api) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted. In Mistral, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

OpenStack Mistral through 22.0.0 allows Arbitrary Remote Code Execution when the API is exposed. There are endpoints that allow code execution, which can lead to exfiltration of service credentials.

CVE-2026-41283 Affected Mistral Versions

3 component(s)
Fixed Versions:
20.1.1
Product / Package Ecosystem Affected Versions Fixed Version
mistral
PyPI
≥ 20.0.0
< 20.1.1
20.1.1
mistral
PyPI
21.0.0
All 1 versions
21.0.0
None specified
mistral
PyPI
22.0.0
All 1 versions
22.0.0
None specified

References

Frequently Asked Questions

What is CVE-2026-41283?
CVE-2026-41283 is a security vulnerability in Mistral involving OpenStack Mistral allows Arbitrary Remote Code Execution when the API is exposed under CWE-749: Exposed Dangerous Method or Function.
Which Mistral versions are affected?
Affected versions include releases prior to 20.1.1 across affected packages: mistral.
What version fixes CVE-2026-41283?
Upgrading to 20.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mistral affected?
Yes, mistral is affected in releases prior to 20.1.1, Latest secure release. Upgrade your dependency to 20.1.1, Latest secure release or later.
What is the CVSS score of CVE-2026-41283?
CVE-2026-41283 has a CVSS v3.1 base score of 9.9 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2026-41283?
CVE-2026-41283 is classified under CWE-749: Exposed Dangerous Method or Function (The product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted.).
How can I check PyPI dependencies for CVE-2026-41283?
Run the dependency tree command: 'pip show mistral'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9hfw-w3f4-c4p8",
  "modified" : "2026-07-14T19:45:28Z",
  "published" : "2026-06-04T06:30:25Z",
  "aliases" : [ "CVE-2026-41283" ],
  "summary" : "OpenStack Mistral allows Arbitrary Remote Code Execution when the API is exposed",
  "details" : "OpenStack Mistral through 22.0.0 allows Arbitrary Remote Code Execution when the API is exposed. There are endpoints that allow code execution, which can lead to exfiltration of service credentials.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "mistral"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "20.0.0"
      }, {
        "fixed" : "20.1.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "mistral"
    },
    "versions" : [ "21.0.0" ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "mistral"
    },
    "versions" : [ "22.0.0" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41283"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2026-41283"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2484607"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/mistral"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/mistral/tags"
  }, {
    "type" : "WEB",
    "url" : "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41283.json"
  }, {
    "type" : "WEB",
    "url" : "https://security.openstack.org/ossa/OSSA-2026-020.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.openwall.com/lists/oss-security/2026/06/03/14"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/06/03/14"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-749", "CWE-863" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-14T19:45:28Z",
    "nvd_published_at" : "2026-06-04T04:17:12Z"
  }
}