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

Description#

User input is being directly concatenated into SQL queries in asyncpg without proper sanitization or parameterization. This practice allows attackers to manipulate the database query and potentially run unintended SQL commands.

Impact#

If exploited, attackers could read, modify, or delete sensitive database data, escalate privileges, or compromise the entire application. This can lead to data breaches, data loss, and significant harm to the application’s integrity and security.