Dark C0d3rs

Full Version: HackerOne Disclosed Reports - 2025-12-02
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Logo
High
resolved

Potential SQL Injection when annotating FilteredRelation on PostgreSQL


Bug reported by Stackered was disclosed at December 2, 2025, 3:28 pm   |   SQL Injection

A potential SQL injection vulnerability was discovered in Django's annotation of FilteredRelation on PostgreSQL. The vulnerability was caused by an incomplete regular expression filter in the FORBIDDEN_ALIAS_PATTERN. This allowed user input to be interpreted as raw strings, potentially enabling the execution of malicious SQL queries. The vulnerability was reported to the Django security team.