Arbitrary Code Injection Affecting sqlparse package, versions *


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-SQLPARSE-21280001
  • published20 Oct 2026
  • disclosed19 Oct 2026

Introduced: 19 Oct 2026

NewCVE-2026-112307  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest sqlparse.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sqlparse package and not the sqlparse package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

sqlparse through 0.6.0 contains a PHP code injection vulnerability that allows attackers to inject PHP expressions by supplying SQL text containing unescaped dollar signs. Attackers can embed ${expr} or {${expr}} sequences that OutputPHPFilter places in double-quoted strings, executing arbitrary PHP code when the generated snippet runs.

CVSS Base Scores

version 3.1