SQL Injection Affecting geopandas package, versions [,1.1.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (3rd 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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-GEOPANDAS-15170839
  • published2 Feb 2026
  • disclosed30 Jan 2026
  • creditUnknown

Introduced: 30 Jan 2026

CVE-2025-69662  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade geopandas to version 1.1.2 or higher.

Overview

geopandas is a Geographic pandas extensions

Affected versions of this package are vulnerable to SQL Injection in the to_postgis() function, which can be injected into via the geom_name parameter to rename_geometry(). An attacker can execute malicious SQL and retrieve the database server version information from the target database.

CVSS Base Scores

version 4.0
version 3.1