Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .appsec-tests/vpatch-CVE-2026-0768/CVE-2026-0768.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## autogenerated on 2026-09-17 09:11:00
id: CVE-2026-0768
info:
name: CVE-2026-0768
author: crowdsec
severity: info
description: CVE-2026-0768 testing
tags: appsec-testing
http:
- raw:
- |
POST /api/v1/validate/code HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json

{"code": "def exploit(cd=exec('raise Exception(__import__(\"subprocess\").check_output(\"id\", shell=True))')): pass"}

cookie-reuse: true
matchers:
- type: status
status:
- 403
5 changes: 5 additions & 0 deletions .appsec-tests/vpatch-CVE-2026-0768/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## autogenerated on 2026-09-17 09:11:00
appsec-rules:
- ./appsec-rules/crowdsecurity/base-config.yaml
- ./appsec-rules/crowdsecurity/vpatch-CVE-2026-0768.yaml
nuclei_template: CVE-2026-0768.yaml
35 changes: 35 additions & 0 deletions appsec-rules/crowdsecurity/vpatch-CVE-2026-0768.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
## autogenerated on 2026-09-17 09:11:00
name: crowdsecurity/vpatch-CVE-2026-0768
description: 'Detects unauthenticated Python code execution through Langflow validate/code.'
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: 'exec('

labels:
type: exploit
service: http
confidence: 3
spoofable: 0
behavior: 'http:exploit'
label: 'Langflow - RCE'
classification:
- cve.CVE-2026-0768
- attack.T1059
- cwe.CWE-94
1 change: 1 addition & 0 deletions collections/crowdsecurity/appsec-virtual-patching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ appsec-rules:
- crowdsecurity/vpatch-CVE-2022-35914
- crowdsecurity/vpatch-CVE-2022-46169
- crowdsecurity/vpatch-CVE-2024-3408
- crowdsecurity/vpatch-CVE-2026-0768
- crowdsecurity/vpatch-CVE-2023-20198
- crowdsecurity/vpatch-CVE-2023-22515
- crowdsecurity/vpatch-CVE-2024-6671
Expand Down
Loading