high8.6
CVE-2025-69662
geopandas SQL Injection Vulnerability in to_postgis() Allows Information Disclosure
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | geopandas | < 1.1.2 | 1.1.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Geopandas | Geopandas | before 1.1.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://aydinnyunus.github.io/2025/12/27/sql-injection-geopandas/
- https://github.com/geopandas/geopandas/pull/3681
- https://lists.debian.org/debian-lts-announce/2026/04/msg00025.html
- https://github.com/advisories/GHSA-6497-prx7-gpmq
- https://nvd.nist.gov/vuln/detail/CVE-2025-69662
- https://aydinnyunus.github.io/2025/12/27/sql-injection-geopandas
- https://github.com/geopandas/geopandas/issues/3679
- https://github.com/geopandas/geopandas/commit/6aa8ef14ffdee4ba1044349ab948e1a1fbfaf419
- https://github.com/geopandas/geopandas/releases/tag/v1.1.2
- https://github.com/pypa/advisory-database/tree/main/vulns/geopandas/PYSEC-2026-62.yaml