SB2026111292 - SUSE update for python-sqlparse



SB2026111292 - SUSE update for python-sqlparse

Published: November 12, 2026

Security Bulletin ID SB2026111292
CSH Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Code Injection (CVE-ID: CVE-2026-112307)

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

CVSSv4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows an unauthenticated local attacker to execute arbitrary commands with the permissions of the PHP process.

The vulnerability exists due to missing dollar-sign escaping in Sqlparse's PHP output filter when attacker-controlled SQL is embedded in generated double-quoted PHP strings. An unauthenticated local attacker can supply SQL containing PHP interpolation expressions that execute when a victim subsequently runs the generated PHP snippet, rather than during formatting alone.


Remediation

Install update from vendor's website.