Skip to content
OpenAdvisories
High · 8.6 CVE-2025-69662 EUVD-2025-206572GHSA-6497-prx7-gpmqPYSEC-2026-62

geopandas SQL Injection Vulnerability in to_postgis() Allows Information Disclosure

Published Jan 30, 2026 · Updated Apr 21, 2026 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-geopandas 1.1.2-1 —
Debian 13 python-geopandas No fix yet —
Debian 12 python-geopandas No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 python-geopandas 1.0.1-2ubuntu0.1 USN-8083-1
Ubuntu 24.04 LTS python-geopandas 0.14.3-2ubuntu0.1 USN-8083-1
Ubuntu 22.04 LTS python-geopandas 0.10.2-1ubuntu0.1 USN-8083-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI geopandas < 1.1.2 1.1.2 GHSA-6497-prx7-gpmq

Advisories 1

References