LiveActive security incident?Get immediate response
CVE Record

CVE-2026-24009: Docling Core vulnerable to Remote Code Execution via unsafe PyYAML usage

Docling Core (or docling-core) is a library that defines core data types and transformations in the document processing application Docling. A PyYAML-related Remote Code Execution (RCE) vulnerability, namely CVE-2020-14343, is exposed in docling-core starting in version 2.21.0 and prior to version 2.48.4, specifically only if the application uses pyyaml prior to version 5.4 and invokes `docling_core.types.doc.DoclingDocument.load_from_yaml()` passing it untrusted YAML data. 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. Users who cannot immediately upgrade docling-core can alternatively ensure that the installed version of PyYAML is 5.4 or greater.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2026-24009 affects docling-core, a Docling document-processing library. In specific conditions, unsafe YAML deserialization can allow remote code execution. Risk exists only when vulnerable docling-core versions use PyYAML before 5.4 and the application passes untrusted YAML into load_from_yaml(). The vendor fixed this in docling-core 2.48.4.

Executive priority

Prioritize remediation for internet-facing or partner-facing document workflows that accept YAML or user-supplied document data. Treat as high priority where the vulnerable method is reachable. Lower urgency may be reasonable where untrusted YAML is not processed, but dependency upgrades remain recommended.

Technical view

docling-core versions 2.21.0 through before 2.48.4 exposed PyYAML CVE-2020-14343 through docling_core.types.doc.DoclingDocument.load_from_yaml(). The issue is CWE-502 unsafe deserialization. The fix changes deserialization from yaml.FullLoader to yaml.SafeLoader. CVSS is 8.1 with network attack vector, no privileges or user interaction, but high attack complexity.

Likely exposure

Exposure is limited to applications using affected docling-core versions, PyYAML before 5.4, and untrusted YAML input to load_from_yaml(). Systems that do not process attacker-controlled YAML through this function are less likely exposed based on the advisory.

Exploitation context

The source bundle does not indicate active exploitation, and the CVE is not listed as KEV. Exploitation requires a vulnerable dependency combination and a reachable path where untrusted YAML is parsed by the affected method. Attack complexity is rated high.

Researcher notes

The advisory describes a conditional RCE exposure from unsafe PyYAML usage, not a broad default compromise of all docling-core installations. Focus triage on dependency versions and data-flow reachability to load_from_yaml(). The published fix is the loader change in commit 3e8d628 and release 2.48.4.

Mitigation direction

  • Upgrade docling-core to version 2.48.4 or later.
  • If upgrade is delayed, ensure PyYAML is version 5.4 or greater.
  • Avoid passing untrusted YAML to load_from_yaml() until remediated.
  • Review vendor advisory and release notes for environment-specific guidance.

Validation and detection

  • Inventory applications using docling-core versions 2.21.0 to before 2.48.4.
  • Check installed PyYAML versions in those application environments.
  • Review code paths for load_from_yaml() handling untrusted YAML.
  • Confirm docling-core 2.48.4 or later is deployed after remediation.
Prepared
Confidence
high
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-502: Code execution behavior lookup

Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-24009 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.1CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H2.25.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.1High
CVSS 3.1 vector shape for CVE-2026-24009Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
docling-projectdocling-core>= 2.21.0, < 2.48.4Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-502 · source CWE mapping

Deserialization of Untrusted Data

Deserialization of Untrusted Data represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.