What is CVE-2026-71491?
CVE-2026-71491 affects the sqlparse Python module before version 0.6.0. The group_comments function in sqlparse/engine/grouping.py repeatedly rescans comment-only statements, leading to quadratic CPU consumption via parse() and format() with strip_comments. Users should update sqlparse to version 0.6.0 or later.
Azərbaycanca: CVE-2026-71491 Python'un sqlparse modulunda aşkar edilib. 0.6.0 versiyasından əvvəl group_comments funksiyası yalnız şərhdən ibarət SQL ifadələrini təkrarən skan edir və bu, strip_comments seçimi ilə parse() və format() çağırışlarında yüksək CPU istehlakına səbəb olur. Təsirlənən sistemlərdə sqlparse-i ən az 0.6.0 versiyasına yeniləmək tövsiyə olunur.
Related CVEs
link basis: same weakness class CWE-400
FAQ2
Which software module is affected by CVE-2026-71491?
This vulnerability affects the Python sqlparse module.
During which operation does CVE-2026-71491 cause high CPU consumption?
The vulnerability causes high CPU consumption during parse() and format() calls with the strip_comments option, due to repeated rescanning by the group_comments function.
See also6
This explainer is AI-written from source data — skopnix's own reporting on this CVE; CVSS scores, vendors and versions are never invented. See NVD for the official record.