alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Langflow File Upload Directory Traversal/Remote Code Execution Attempt (CVE-2026-5027)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:13;
content:"/api/v2/files"; fast_pattern;
http.request_body;
content:"filename|3d 22|";
pcre:"/^[^\x26]*?(?:(?:\x2e|%2[Ee]){1,2}(?:\x2f|\x5c|%5[Cc]|%2[Ff]){1,}){2,}/R";
reference:url,yh.do/cve-2026-5027-langflow-path-traversal-rce/;
reference:cve,2026-5027;
classtype:attempted-admin;
sid:2070061; rev:1;
metadata:affected_product Langflow, attack_target Web_Server, tls_state plaintext, created_at 2026_06_25, cve CVE_2026_5027, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2026_06_25, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)