Advisory

GHSA-6497-prx7-gpmq

Also known as: CVE-2025-69662, PYSEC-2026-62

Summary

geopandas SQL Injection Vulnerability in to_postgis() Allows Information Disclosure

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-01-30 21:30 UTC
Modified
2026-06-05 18:00 UTC

Affected packages and fixes

geopandas

PyPI · All systems

Affected

  • introduced 0, fixed 1.1.2 (ecosystem)

Fixed versions

1.1.2

Fix

  • Fixed version 1.1.2
    pip install --upgrade geopandas==1.1.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences