CVE-2018-16848
Python vulnerability analysis and mitigation

Overview

A Denial of Service (DoS) vulnerability was discovered in OpenStack Mistral versions up to and including 7.0.3, identified as CVE-2018-16848. The vulnerability was reported on August 6, 2018, and allows attackers to cause resource exhaustion by submitting specially crafted workflow definition YAML files containing nested anchors (Launchpad Bug, NVD).

Technical details

The vulnerability exploits YAML anchor expansion functionality, similar to an XML Entity Expansion attack (also known as the Billion Laughs attack). When processing workflow definition files, Mistral fails to properly handle nested YAML anchors, which can lead to exponential expansion of the input data and subsequent resource exhaustion. The vulnerability has been assigned a CVSS v3.1 Base Score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can cause a denial of service condition in the Mistral server through resource exhaustion. The attack specifically affects the service's ability to process workflow definitions, potentially making the service unavailable to legitimate users (Launchpad Bug).

Exploitability

The vulnerability can be exploited by an authenticated user who has the ability to submit workflow definitions to the Mistral service. The attack requires submitting a specially crafted YAML file that contains nested anchors designed to trigger exponential expansion during parsing (Launchpad Bug).

Mitigation and workarounds

The issue was fixed by disabling the use of anchors when parsing YAML files. The fix has been implemented across multiple OpenStack releases including Rocky, Stein, and Train branches. Users should upgrade to patched versions of Mistral that include this security fix (Launchpad Bug).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-84366HIGH7.4
  • Python logoPython
  • python3.10
NoYesSep 01, 2026
CVE-2026-53720MEDIUM5.1
  • Python logoPython
  • pymonocypher
NoYesSep 03, 2026
CVE-2026-84311MEDIUM4.8
  • Python logoPython
  • pypdf
NoYesSep 01, 2026
CVE-2026-84310MEDIUM4.8
  • Python logoPython
  • pypdf
NoYesSep 01, 2026
GHSA-wwv5-g3v4-889xLOW2.3
  • Python logoPython
  • tornado
NoYesSep 01, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management