CVE-2025-69662 geopandas SQL Injection Vulnerability in to_postgis() Allows Information Disclosure
An attacker can obtain sensitive information via SQL injection in the to_postgis function of the geopandas library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-69662?
CVE-2025-69662 is a high-severity SQL injection vulnerability in n/a, published on 30 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SQL injection vulnerability in geopandas before v.1.1.2 allows an attacker to obtain sensitive information via the to_postgis()` function being used to write GeoDataFrames to a PostgreSQL database.
Weakness: CWE-89
Which versions are affected by CVE-2025-69662?
3 open source packages ship an affected version, including geopandas. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
geopandas PyPI | All versions | 1.1.2 |
geopandas PyPI | All versions | 1.1.2 |
geopandas PyPI | All versions | 1.1.2 |
Products include Geopandas Geopandas.
How do I fix CVE-2025-69662?
Upgrade geopandas to 1.1.2 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-69662 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-69662 exists.
Sources
Also known as DEBIAN-CVE-2025-69662, GHSA-6497-prx7-gpmq, PYSEC-2026-62, UBUNTU-CVE-2025-69662, USN-8083-1.