# CVE-2018-16849: openstack-mistral Discloses the presence of arbitrary files within the filesystem

Source: https://junglewise.ai/threats/cve-2018-16849-openstack-mistral-discloses-the-presence-of-arbitrary-files  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-11-02  
License: CC BY 4.0 with a link back

CVE-2018-16849 · Severity: low · CVSS 3 · Published 2018-11-02

A flaw was found in openstack-mistral. By manipulating the SSH private key filename, the std.ssh action can be used to disclose the presence of arbitrary files within the filesystem of the executor running the action. Since std.ssh private_key_filename can take an absolute path, it can be used to assess whether or not a file exists on the executor's filesystem.

Technologies: [mistral (PyPI)](https://junglewise.ai/threats/technologies/pypi-mistral). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2018-16849 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-16849 being exploited in the wild.

**How severe is CVE-2018-16849?** Low severity, with a CVSS score of 3, published 2 November 2018.

**Which products and versions are affected?** mistral (PyPI) ECOSYSTEM:introduced=0,fixed=7.0.1.

**Is there a fix for CVE-2018-16849?** Yes. mistral (PyPI): upgrade to 7.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-16849?** Check whether you run mistral (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mistral (PyPI): upgrade to 7.0.1 or later

  ```sh
  pip install "mistral>=7.0.1"
  ```


## Affected products

- mistral (PyPI) ECOSYSTEM:introduced=0,fixed=7.0.1

## Identifiers

- CVE-2018-16849
- GHSA-fqw7-c6vr-q29m
- PYSEC-2018-92

## Related threats

- [OpenStack Mistral remote code execution via policy bypass](https://junglewise.ai/threats/cve-2026-41283-openstack-mistral-remote-code-execution-via-policy-bypass)
- [OpenStack Mistral DoS](https://junglewise.ai/threats/cve-2018-16848-openstack-mistral-dos)
