Django ORM Leak
Vulnerabilities where Django ORM field lookups can be manipulated to leak sensitive data through startswith filters, JSON extraction, or regex timing.
Django ORM Leak refers to vulnerabilities where Django's ORM can be manipulated through query parameters to leak sensitive data, particularly through field lookups, JSON field access, or regex-based timing attacks.
Prevention
- Allowlist permitted filter fields
- Never use raw user input as field names
- Use serializers with explicit field definitions
- Disable regex lookups if not needed