原始 OSV JSON
{
"id": "GHSA-q29v-xc37-wh5m",
"aliases": [
"CVE-2026-47214"
],
"details": "### Impact\nThe HTML backend did not perform sufficient validation during resource handling:\n- Accepted `file://` URIs enabling local file system access when `enable_local_fetch=True`\n- Path resolution allowed traversal outside intended directories via `../` sequences and absolute paths\n- Did not block internal network resources under `enable_remote_fetch=True`\n- HTTP redirects were not validated, potentially redirecting to unintended schemes\n- No resource limits for remote image downloads and `data:` URIs\n\n### Patches\nFixed in versions 2.91.0 (initial fixes) and 2.94.0 (additional improvements). The fixes implement:\n- Updated local path treatment: absolute files always blocked, relative paths require `enable_local_fetch=True` (default: False) and containment within configured `base_path` for path traversal protection\n- `file://` scheme stripped & treated as local path (above)\n- IP address validation to prevent SSRF\n- HTTP redirect validation, connection and read timeouts\n- Size limit for both remote images (with streaming download) and base64-decoded data URIs\n\n### Workarounds\nKeep both `enable_local_fetch=False` and `enable_remote_fetch=False` (defaults) when processing untrusted HTML documents.\n\n### References\n- Initial fixes: [v2.91.0](https://github.com/docling-project/docling/releases/tag/v2.91.0)\n- Additional improvements: [v2.94.0](https://github.com/docling-project/docling/releases/tag/v2.94.0)",
"summary": "Docling: Unsafe URI and Path Handling in HTML Backend",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.94.0"
}
]
}
],
"package": {
"name": "docling",
"ecosystem": "PyPI"
}
}
],
"modified": "2026-07-21T15:04:30Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L"
}
],
"published": "2026-06-03T21:15:02Z",
"references": [
{
"url": "https://github.com/docling-project/docling/security/advisories/GHSA-q29v-xc37-wh5m",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-47214",
"type": "ADVISORY"
},
{
"url": "https://github.com/docling-project/docling",
"type": "PACKAGE"
},
{
"url": "https://github.com/docling-project/docling/releases/tag/v2.91.0",
"type": "WEB"
},
{
"url": "https://github.com/docling-project/docling/releases/tag/v2.94.0",
"type": "WEB"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/docling/PYSEC-2026-2146.yaml",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-400",
"CWE-73"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-06-26T16:16:31Z",
"github_reviewed_at": "2026-06-03T21:15:02Z"
}
}