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.
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | geopandas | < 1.1.2 | 1.1.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-69662
- https://github.com/geopandas/geopandas/issues/3679
- https://github.com/geopandas/geopandas/pull/3681
- https://github.com/geopandas/geopandas/commit/6aa8ef14ffdee4ba1044349ab948e1a1fbfaf419
- https://aydinnyunus.github.io/2025/12/27/sql-injection-geopandas
- https://github.com/geopandas/geopandas
- https://github.com/geopandas/geopandas/releases/tag/v1.1.2
- https://github.com/pypa/advisory-database/tree/main/vulns/geopandas/PYSEC-2026-62.yaml
- https://lists.debian.org/debian-lts-announce/2026/04/msg00025.html
- https://aydinnyunus.github.io/2025/12/27/sql-injection-geopandas/
- https://github.com/advisories/GHSA-6497-prx7-gpmq
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N- Weakness (CWE)
CWE-202, CWE-89- Platform
- Python (PyPI)
- Package
geopandas- Disclosed
- 30.01.2026
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-6497-prx7-gpmq - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-62 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: geopandas
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.