Property
Languagepython
Severitymedium
CWECWE-89: Improper Neutralization of Special Elements used in an SQL Command (‘SQL Injection’)
OWASPA01:2017 - Injection
Confidence LevelMedium
Impact LevelHigh
Likelihood LevelLow

Description#

User input is being directly inserted into SQL clauses like group_by, order_by, distinct, having, or filter in SQLAlchemy without proper parameter binding. This allows attackers to manipulate SQL queries by injecting malicious input.

Impact#

Exploiting this vulnerability could let an attacker run arbitrary SQL commands against your database, potentially exposing, altering, or deleting sensitive data. It can result in data breaches, data loss, or unauthorized access to application functionality.