← Back
CVE-2026-56266
high
CVSS 8.6
Path Traversal in crawl4ai (CVE-2026-56266)
Summary
path traversal in crawl4ai (CVE-2026-56266). Confidential information can be exposed externally. Exploitable via ``output_path``. Mitigation: upgrade to `0.8.7` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2026-56266** has been found in crawl4ai.
Attackers can target a specific entry point like ``output_path`` over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: 8.6/10.
What to do: upgrade crawl4ai to **0.8.7** or later.
If unsure, ask your IT team or search "crawl4ai CVE-2026-56266" on the vendor's site.
CVE-2026-56266 (crawl4ai) — CWE-22 / CVSS v3 8.6
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: `output_path` / `CRAWL4AI_OUTPUT_DIR` / `field_validator` / `token_dep`
Patched: `0.8.7` — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**Path traversal** (CWE-22) exists in crawl4ai. Attackers reach the vulnerable code path via ``output_path`` without authentication.
📍 Affected scope
crawl4ai — . Attack surface: `output_path` / `CRAWL4AI_OUTPUT_DIR` / `field_validator` / `token_dep`.
🔥 Severity
Severity: High (CVSS 8.6/10). Confidential information can be exposed externally
🔧 How to fix
Update to **0.8.7**.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'crawl4ai' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'crawl4ai' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `crawl4ai` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade crawl4ai to 0.8.7ステージング環境で 0.8.7 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
pip
crawl4ai
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.7"}]}]
References
- web https://github.com/unclecode/crawl4ai/security/advisories/GHSA-365w-hqf6-vxfg
- web https://github.com/advisories/GHSA-365w-hqf6-vxfg
- web https://github.com/unclecode/crawl4ai
- web https://www.vulncheck.com/advisories/crawl4ai-server-side-request-forgery-via-direct-crawl-endpoints
- web https://nvd.nist.gov/vuln/detail/CVE-2026-56266
- web https://www.vulncheck.com/advisories/crawl4ai-unauthenticated-access-to-monitor-endpoints-via-docker-api-server
- web https://www.vulncheck.com/advisories/crawl4ai-stored-cross-site-scripting-in-monitor-dashboard
- web https://www.vulncheck.com/advisories/crawl4ai-server-side-request-forgery-via-webhook-urls
- web https://www.vulncheck.com/advisories/crawl4ai-authentication-bypass-via-hardcoded-jwt-signing-key
- web https://www.vulncheck.com/advisories/crawl4ai-arbitrary-javascript-execution-via-execute-js-endpoint
- web https://www.vulncheck.com/advisories/crawl4ai-arbitrary-file-write-via-output-path-parameter
- web https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-798.yaml
- web https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-596.yaml
- web https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-3449.yaml
- web https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-3443.yaml
- web https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-239.yaml
- web https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-230.yaml
- web https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-229.yaml
- web https://github.com/advisories/GHSA-xrfj-6m49-wfmm
- web https://github.com/advisories/GHSA-g2pv-76hm-j4x9
- web https://github.com/advisories/GHSA-8qrg-7j2f-rf2h
- web https://github.com/advisories/GHSA-53rg-46cm-4g2v