Skip to content
HighVulnerability

GHSA-vqxf-v2gg-x3hc: docling-core vulnerable to Remote Code Execution via unsafe PyYAML usage

Published
Record updated
View JSON
Affected
  • docling-core >= 2.21.0, < 2.48.4
Fixed in
2.48.4
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

docling-core versions >=2.21.0 and <2.48.4 are affected by a PyYAML-related remote code execution flaw, CVE-2020-14343. It is exposed only when the application uses pyyaml < 5.4 and calls DoclingDocument.load_from_yaml() on untrusted YAML data.

Mitigation

Fixed in docling-core 2.48.4, which switches PyYAML deserialization from yaml.FullLoader to yaml.SafeLoader. As a workaround, users who cannot upgrade docling-core can install PyYAML 5.4 or greater.