kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-59894 sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes

설명

sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse/filters/output.py fails to escape existing backslashes before quotes in sqlparse.format output_format='python' and output_format='php' and the corresponding sqlformat -l modes, allowing crafted SQL to terminate the generated string and inject Python or PHP code when a downstream consumer executes or imports the generated source. This issue is fixed in version 0.6.0.

영향 받는 제품 제품 1개

  • andialbrecht

    sqlparse

    해결 버전 있음

    영향 받는 버전

    • 0.6.0 미만

    해결 버전

    • 0.6.0 이상

참고 자료 1건

‹ 목록

점검 지원 범위 문의

도입 문의