SQL Injection Affecting cornflow package, versions [,1.2.3a1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-CORNFLOW-12669995
  • published14 Sept 2025
  • disclosed4 Sept 2025
  • creditUnknown

Introduced: 4 Sep 2025

CVE NOT AVAILABLE CWE-89  (opens in a new tab)

How to fix?

Upgrade cornflow to version 1.2.3a1 or higher.

Overview

cornflow is a cornflow is an open source multi-solver optimization server with a REST API built using flask.

Affected versions of this package are vulnerable to SQL Injection via the validate_payload method in validators.py file, which fails to enforce strict schema checks.

References

CVSS Base Scores

version 4.0
version 3.1