diff --git a/.appsec-tests/vpatch-CVE-2026-26217/CVE-2026-26217.yaml b/.appsec-tests/vpatch-CVE-2026-26217/CVE-2026-26217.yaml new file mode 100644 index 00000000000..892e09cce1a --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2026-26217/CVE-2026-26217.yaml @@ -0,0 +1,20 @@ +## autogenerated on 2026-09-16 13:21:50 +id: CVE-2026-26217 +info: + name: CVE-2026-26217 + author: crowdsec + severity: info + description: CVE-2026-26217 testing + tags: appsec-testing +http: + - method: POST + path: + - '{{BaseURL}}/execute_js' + headers: + Content-Type: application/json + body: '{"url": "file:///etc/passwd", "scripts": ["document.body.innerText"]}' + cookie-reuse: true + matchers: + - type: status + status: + - 403 diff --git a/.appsec-tests/vpatch-CVE-2026-26217/config.yaml b/.appsec-tests/vpatch-CVE-2026-26217/config.yaml new file mode 100644 index 00000000000..a5c0102da90 --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2026-26217/config.yaml @@ -0,0 +1,5 @@ +## autogenerated on 2026-09-16 13:21:50 +appsec-rules: + - ./appsec-rules/crowdsecurity/base-config.yaml + - ./appsec-rules/crowdsecurity/vpatch-CVE-2026-26217.yaml +nuclei_template: CVE-2026-26217.yaml diff --git a/appsec-rules/crowdsecurity/vpatch-CVE-2026-26217.yaml b/appsec-rules/crowdsecurity/vpatch-CVE-2026-26217.yaml new file mode 100644 index 00000000000..a7da091e7a5 --- /dev/null +++ b/appsec-rules/crowdsecurity/vpatch-CVE-2026-26217.yaml @@ -0,0 +1,35 @@ +## autogenerated on 2026-09-16 13:21:50 +name: crowdsecurity/vpatch-CVE-2026-26217 +description: 'Detects local file inclusion in Crawl4AI through a file scheme supplied to the execute_js endpoint.' +rules: + - and: + - zones: + - URI + transform: + - urldecode + - lowercase + match: + type: contains + value: '/execute_js' + - zones: + - BODY_ARGS + variables: + - json.url + transform: + - urldecode + - lowercase + match: + type: contains + value: 'file://' + +labels: + type: exploit + service: http + confidence: 3 + spoofable: 0 + behavior: 'http:exploit' + label: 'Crawl4AI - LFI' + classification: + - cve.CVE-2026-26217 + - attack.T1059 + - cwe.CWE-22 diff --git a/collections/crowdsecurity/appsec-virtual-patching.yaml b/collections/crowdsecurity/appsec-virtual-patching.yaml index 94d0ed3d1ea..8aebff2ed7d 100644 --- a/collections/crowdsecurity/appsec-virtual-patching.yaml +++ b/collections/crowdsecurity/appsec-virtual-patching.yaml @@ -158,6 +158,7 @@ appsec-rules: - crowdsecurity/vpatch-CVE-2020-8656 - crowdsecurity/vpatch-CVE-2025-27222 - crowdsecurity/vpatch-CVE-2025-64446 +- crowdsecurity/vpatch-CVE-2026-26217 - crowdsecurity/vpatch-CVE-2020-10987 - crowdsecurity/vpatch-CVE-2025-55182 - crowdsecurity/vpatch-CVE-2024-6235