CVE-2026-56258
CRITICAL 9.2CVSS 4.0Crawl4AI: Arbitrary file write (symlink/TOCTOU) plus log and webhook-header injection in Docker server
Crawl4AI before 0.8.8 contains an arbitrary file write vulnerability in the screenshot and PDF endpoints that allows unauthenticated attackers to write files outside the intended directory via symlink and time-of-check-time-of-use (TOCTOU) attacks on the output_path parameter. Remote attackers can exploit insufficient path validation and symlink following to achieve arbitrary file write and potential code execution on systems where the runtime user has write access to executable or cron locations.
- Published
- 23 Jun 2026
- Last modified
- 21 Jul 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-117CWE-22CWE-59CWE-93
- Also known as
- GHSA-7cx2-g3h9-382pPYSEC-2026-228
- Sources
- NVDJSONOSV GHSA-7cx2-g3h9-382pJSONOSV PYSEC-2026-228JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | CRITICAL 9.2 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kidocode | crawl4aicpe:2.3:a:kidocode:crawl4ai:*:*:*:*:*:*:*:* |
< 0.8.8 | 0.8.8 |
| OSV | PyPI | crawl4ai | < 0.8.8 | 0.8.8 |
References
- https://github.com/unclecode/crawl4ai/security/advisories/GHSA-7cx2-g3h9-382p · Third Party Advisory, WEB, ADVISORY
- https://www.vulncheck.com/advisories/crawl4ai-arbitrary-file-write-via-output-path-symlink-and-toctou · Third Party Advisory, WEB, ADVISORY
- https://github.com/unclecode/crawl4ai/issues/1 · WEB
- https://github.com/unclecode/crawl4ai/issues/2 · WEB
- https://github.com/unclecode/crawl4ai/pull/3 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-228.yaml · WEB
- https://github.com/unclecode/crawl4ai · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Jun 2026)