You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cypher injection via unchecked max_hops in Neo4j KG backend #783
Problem:f"...RELATIONSHIP*1..{max_hops}..." interpolates max_hops directly (variable-length bounds can't be parameterized). It is annotated int but never enforced at runtime; a caller passing a crafted string from user-derived input yields arbitrary Cypher (e.g. DETACH DELETE). Same class as the property_graph fix already merged.
Fix:int(max_hops) cast + bounds check before interpolation.
Severity: Medium (security). Found in production-readiness audit.
Activity