PYSEC-2026-1313
Vulnerability from pysec - Published: 2026-07-07 16:03 - Updated: 2026-07-07 17:24Impact
A PyYAML-related Remote Code Execution (RCE) vulnerability, namely CVE-2020-14343, is exposed in docling-core >=2.21.0, <2.48.4 and, specifically only if the application uses pyyaml < 5.4 and invokes docling_core.types.doc.DoclingDocument.load_from_yaml() passing it untrusted YAML data.
Patches
The vulnerability has been patched in docling-core version 2.48.4.
The fix mitigates the issue by switching PyYAML deserialization from yaml.FullLoader to yaml.SafeLoader, ensuring that untrusted data cannot trigger code execution.
Workarounds
Users who cannot immediately upgrade docling-core can alternatively ensure that the installed version of PyYAML is 5.4 or greater, which supposedly patches CVE-2020-14343.
References
- GitHub Issue: #482
- Upstream Advisory: CVE-2020-14343
- Fix Release: v2.48.4
| Name | purl | docling-core | pkg:pypi/docling-core |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "docling-core",
"purl": "pkg:pypi/docling-core"
},
"ranges": [
{
"events": [
{
"introduced": "2.21.0"
},
{
"fixed": "2.48.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.21.0",
"2.21.1",
"2.21.2",
"2.22.0",
"2.23.0",
"2.23.1",
"2.23.2",
"2.23.3",
"2.24.0",
"2.24.1",
"2.25.0",
"2.26.0",
"2.26.1",
"2.26.2",
"2.26.3",
"2.26.4",
"2.27.0",
"2.28.0",
"2.28.1",
"2.29.0",
"2.30.0",
"2.30.1",
"2.31.0",
"2.31.1",
"2.31.2",
"2.32.0",
"2.33.0",
"2.33.1",
"2.34.0",
"2.34.1",
"2.34.2",
"2.35.0",
"2.36.0",
"2.37.0",
"2.38.0",
"2.38.1",
"2.38.2",
"2.39.0",
"2.40.0",
"2.41.0",
"2.42.0",
"2.43.0",
"2.43.1",
"2.44.0",
"2.44.1",
"2.44.2",
"2.45.0",
"2.46.0",
"2.47.0",
"2.48.0",
"2.48.1",
"2.48.2",
"2.48.3"
]
}
],
"aliases": [
"CVE-2026-24009",
"GHSA-vqxf-v2gg-x3hc"
],
"details": "### Impact\n\nA PyYAML-related Remote Code Execution (RCE) vulnerability, namely CVE-2020-14343, is exposed in `docling-core \u003e=2.21.0, \u003c2.48.4` and, specifically only if the application uses `pyyaml \u003c 5.4` and invokes `docling_core.types.doc.DoclingDocument.load_from_yaml()` passing it untrusted YAML data.\n\n### Patches\n\nThe vulnerability has been patched in `docling-core` version **2.48.4**.\nThe fix mitigates the issue by switching `PyYAML` deserialization from `yaml.FullLoader` to `yaml.SafeLoader`, ensuring that untrusted data cannot trigger code execution.\n\n### Workarounds\n\nUsers who cannot immediately upgrade `docling-core` can alternatively ensure that the installed version of `PyYAML` is **5.4 or greater**, which supposedly patches CVE-2020-14343.\n\n### References\n\n* GitHub Issue: #482\n* Upstream Advisory: CVE-2020-14343\n* Fix Release: [v2.48.4](https://github.com/docling-project/docling-core/releases/tag/v2.48.4)",
"id": "PYSEC-2026-1313",
"modified": "2026-07-07T17:24:03.048727Z",
"published": "2026-07-07T16:03:19.816786Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/docling-project/docling-core/security/advisories/GHSA-vqxf-v2gg-x3hc"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-24009"
},
{
"type": "WEB",
"url": "https://github.com/docling-project/docling-core/issues/482"
},
{
"type": "WEB",
"url": "https://github.com/docling-project/docling-core/commit/3e8d628eeeae50f0f8f239c8c7fea773d065d80c"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-8q59-q68h-6hv4"
},
{
"type": "PACKAGE",
"url": "https://github.com/docling-project/docling-core"
},
{
"type": "WEB",
"url": "https://github.com/docling-project/docling-core/releases/tag/v2.48.4"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/docling-core"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-vqxf-v2gg-x3hc"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "docling-core vulnerable to Remote Code Execution via unsafe PyYAML usage"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.