From 8af85cf00d4a7bd5f9fb10927705700f5b1f8925 Mon Sep 17 00:00:00 2001 From: crowdsec-automation <63358111+crowdsec-automation@users.noreply.github.com> Date: Wed, 16 Sep 2026 15:21:53 +0200 Subject: [PATCH 1/4] Add vpatch-CVE-2026-26217 rule --- .../crowdsecurity/vpatch-CVE-2026-26217.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 appsec-rules/crowdsecurity/vpatch-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 From f9dc35f64a01f918837114a7c08dfe06fd2d0365 Mon Sep 17 00:00:00 2001 From: crowdsec-automation <63358111+crowdsec-automation@users.noreply.github.com> Date: Wed, 16 Sep 2026 15:21:55 +0200 Subject: [PATCH 2/4] Add vpatch-CVE-2026-26217 test config --- .appsec-tests/vpatch-CVE-2026-26217/config.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .appsec-tests/vpatch-CVE-2026-26217/config.yaml 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 From 5ecee4d96477d8553590d0f06762d8aa06d17578 Mon Sep 17 00:00:00 2001 From: crowdsec-automation <63358111+crowdsec-automation@users.noreply.github.com> Date: Wed, 16 Sep 2026 15:21:57 +0200 Subject: [PATCH 3/4] Add CVE-2026-26217.yaml test --- .../vpatch-CVE-2026-26217/CVE-2026-26217.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .appsec-tests/vpatch-CVE-2026-26217/CVE-2026-26217.yaml 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 From 28747ee436dc591a89247a8e0f479e9c0ca02a3f Mon Sep 17 00:00:00 2001 From: crowdsec-automation <63358111+crowdsec-automation@users.noreply.github.com> Date: Wed, 16 Sep 2026 15:21:59 +0200 Subject: [PATCH 4/4] Add vpatch-CVE-2026-26217 rule to vpatch collection --- collections/crowdsecurity/appsec-virtual-patching.yaml | 1 + 1 file changed, 1 insertion(+) 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