USN-8765-1: python-sql vulnerability

Publication date

15 September 2026

Overview

python-sql could allow an attacker to perform SQL injection attacks.


Packages

Details

Cédric Krier discovered that python-sql incorrectly escaped values passed
to unary operators. An attacker could possibly use this issue to perform
SQL injection attacks.

Cédric Krier discovered that python-sql incorrectly escaped values passed
to unary operators. An attacker could possibly use this issue to perform
SQL injection attacks.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
24.04 LTS noble python3-sql –  1.4.0-1+deb12u1build0.24.04.1
22.04 LTS jammy python3-sql –  1.3.0-1ubuntu0.1~esm1  
20.04 LTS focal python3-sql –  1.1.0-1ubuntu0.1~esm1  
18.04 LTS bionic python-sql –  0.9-1ubuntu0.1~esm1  
python3-sql –  0.9-1ubuntu0.1~esm1  
16.04 LTS xenial python-sql –  0.8-1ubuntu0.1~esm1
python3-sql –  0.8-1ubuntu0.1~esm1

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›