diff --git a/.appsec-tests/vpatch-CVE-2026-93674/CVE-2026-93674.yaml b/.appsec-tests/vpatch-CVE-2026-93674/CVE-2026-93674.yaml new file mode 100644 index 00000000000..7113af1e495 --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2026-93674/CVE-2026-93674.yaml @@ -0,0 +1,22 @@ +## autogenerated on 2026-10-20 09:03:19 +id: CVE-2026-93674 +info: + name: CVE-2026-93674 + author: crowdsec + severity: info + description: CVE-2026-93674 testing + tags: appsec-testing +http: + - raw: + - | + POST /api/v1/validate/code HTTP/1.1 + Host: {{Hostname}} + Content-Type: application/json + + {"code":"import nprobe"} + + cookie-reuse: true + matchers: + - type: status + status: + - 403 diff --git a/.appsec-tests/vpatch-CVE-2026-93674/config.yaml b/.appsec-tests/vpatch-CVE-2026-93674/config.yaml new file mode 100644 index 00000000000..e37900832c3 --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2026-93674/config.yaml @@ -0,0 +1,5 @@ +## autogenerated on 2026-10-20 09:03:19 +appsec-rules: + - ./appsec-rules/crowdsecurity/base-config.yaml + - ./appsec-rules/crowdsecurity/vpatch-CVE-2026-93674.yaml +nuclei_template: CVE-2026-93674.yaml diff --git a/appsec-rules/crowdsecurity/vpatch-CVE-2026-93674.md b/appsec-rules/crowdsecurity/vpatch-CVE-2026-93674.md new file mode 100644 index 00000000000..294693051ab --- /dev/null +++ b/appsec-rules/crowdsecurity/vpatch-CVE-2026-93674.md @@ -0,0 +1,9 @@ +This rule provides virtual patching for **CVE-2026-93674**, an RCE vulnerability in **Langflow OSS** (IBM), published on 2026-10-07, with a CVSS score of **9.8 (Critical)**. + +**Detection:** Detects Python import-based code execution attempts against Langflow code validation. + +Virtual patching mitigates exploitation attempts, but it does not fix the underlying vulnerability: upgrading Langflow OSS to a patched version is always recommended. + +### References +- [CVE-2026-93674 on NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-93674) +- [Exploit reference](https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-93674.yaml) diff --git a/appsec-rules/crowdsecurity/vpatch-CVE-2026-93674.yaml b/appsec-rules/crowdsecurity/vpatch-CVE-2026-93674.yaml new file mode 100644 index 00000000000..e2c77b8ae5a --- /dev/null +++ b/appsec-rules/crowdsecurity/vpatch-CVE-2026-93674.yaml @@ -0,0 +1,35 @@ +## autogenerated on 2026-10-20 09:03:19 +name: crowdsecurity/vpatch-CVE-2026-93674 +description: 'Detects Python import-based code execution attempts against Langflow code validation.' +rules: + - and: + - zones: + - URI + transform: + - urldecode + - lowercase + match: + type: contains + value: '/api/v1/validate/code' + - zones: + - BODY_ARGS + variables: + - json.code + transform: + - urldecode + - lowercase + match: + type: contains + value: 'import ' + +labels: + type: exploit + service: http + confidence: 3 + spoofable: 0 + behavior: 'http:exploit' + label: 'Langflow - RCE' + classification: + - cve.CVE-2026-93674 + - attack.T1059 + - cwe.CWE-94 diff --git a/collections/crowdsecurity/appsec-virtual-patching.yaml b/collections/crowdsecurity/appsec-virtual-patching.yaml index 3c0d2404962..d751fce450a 100644 --- a/collections/crowdsecurity/appsec-virtual-patching.yaml +++ b/collections/crowdsecurity/appsec-virtual-patching.yaml @@ -58,6 +58,7 @@ appsec-rules: - crowdsecurity/vpatch-CVE-2024-22024 - crowdsecurity/vpatch-CVE-2024-27198 - crowdsecurity/vpatch-CVE-2024-3273 +- crowdsecurity/vpatch-CVE-2026-93674 - crowdsecurity/vpatch-CVE-2024-4577 - crowdsecurity/vpatch-CVE-2024-29849 - crowdsecurity/vpatch-CVE-2023-47218