crawl4ai before 0.9.3 Arbitrary File Write via PDFContentScrapingStrategy
crawl4ai before 0.9.3 contains an arbitrary file write vulnerability in PDFContentScrapingStrategy where the _filter_untrusted_fields function fails to validate untrusted configuration fields. Attackers can submit crafted config bodies with malicious image_save_dir paths to write attacker-controlled bytes into any directory accessible to the service account.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-91940
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 02:48 UTC · Revision 1
Source evidence
crawl4ai before 0.9.3 Arbitrary File Write via PDFContentScrapingStrategy
core-osv · Original sourcePublished 15 Sept 2026, 15:18 UTC
crawl4ai before 0.9.3 contains an arbitrary file write vulnerability in PDFContentScrapingStrategy where the _filter_untrusted_fields function fails to validate untrusted configuration fields. Attackers can submit crafted config bodies with malicious image_save_dir paths to write attacker-controlled bytes into any directory accessible to the service account.
osv:CVE-2026-91940
Complete source record
{
"id": "3a8cb0236f33b9a1d39798580146e0cb8b24882060384992589219317ef6ae04",
"url": "https://osv.dev/vulnerability/CVE-2026-91940",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "crawl4ai before 0.9.3 Arbitrary File Write via PDFContentScrapingStrategy",
"summary": "crawl4ai before 0.9.3 contains an arbitrary file write vulnerability in PDFContentScrapingStrategy where the _filter_untrusted_fields function fails to validate untrusted configuration fields. Attackers can submit crafted config bodies with malicious image_save_dir paths to write attacker-controlled bytes into any directory accessible to the service account.",
"evidence": "osv:CVE-2026-91940",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-91940",
"aliases": [
"CVE-2026-91940",
"GHSA-xpp7-j28w-2gvx"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/unclecode/crawl4ai",
"type": "GIT",
"events": [
{
"introduced": "c66f3276fd355031c8632500911fe7041ad6fc14"
},
{
"fixed": "4bcd5fa8a56000ce103dd499e8ecdff2439f3e9c"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.9.0"
},
{
"fixed": "0.9.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "4ai"
},
{
"fixed": "0.9.3"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v0.9.2",
"docker-rebuild-v0.9.2",
"v0.9.1",
"docker-rebuild-v0.9.1",
"v0.9.0",
"docker-rebuild-v0.9.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-91940.json"
}
}
],
"modified": "2026-10-28T02:30:25.383742817Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91940.json",
"https://github.com/unclecode/crawl4ai/security/advisories/GHSA-xpp7-j28w-2gvx",
"https://nvd.nist.gov/vuln/detail/CVE-2026-91940",
"https://www.vulncheck.com/advisories/crawl4ai-before-0.9.3-arbitrary-file-write-via-pdfcontentscrapingstrategy"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91940.json"
}
},
"related_cves": [
{
"value": "CVE-2026-91940",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492013,
"published_at": "2026-09-15T15:18:01.074+00:00"
}