Skip to content

Add vpatch-CVE-2026-0768 rule and test - #71

Open
crowdsec-automation wants to merge 4 commits into
masterfrom
1789636261-vpatch-CVE-2026-0768
Open

crowdsec-automation wants to merge 4 commits into
masterfrom
1789636261-vpatch-CVE-2026-0768

Conversation

@crowdsec-automation

Copy link
Copy Markdown

The rule restricts detection to Langflow’s /api/v1/validate/code endpoint and the JSON code argument, avoiding matches against unrelated requests. It lowercases and URL-decodes both request components, then identifies the Python exec( primitive used by the exploit. The json. prefix is required because the vulnerable parameter is supplied in an application/json body.

The test template preserves the exploit request but changes the response matcher to status 403, as required for WAF blocking validation. Classification references CVE-2026-0768, command or scripting execution through ATT&CK technique T1059, and CWE-94 for code injection.

Exploit URL: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-0768.yaml

@github-actions

Copy link
Copy Markdown

Hello @crowdsec-automation and thank you for your contribution!

❗ It seems that the following scenarios are not part of the 'crowdsecurity/appsec-virtual-patching' collection:

🔴 crowdsecurity/vpatch-CVE-2026-0768 🔴

@github-actions

Copy link
Copy Markdown

Hello @crowdsec-automation,

✅ The new VPATCH Rule is compliant, thank you for your contribution!

@github-actions

Copy link
Copy Markdown

Hello @crowdsec-automation,

Scenarios/AppSec Rule are compliant with the taxonomy, thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants