Advisory

PYSEC-2026-62

Also known as: CVE-2025-69662, GHSA-6497-prx7-gpmq

Summary

The record has no summary.

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: CVSS v3 score 8.6, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Dates

Published
2026-01-30 19:16 UTC
Modified
2026-06-10 17:01 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: PyPA Advisory Database · CC BY 4.0

Sources & licences