Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. geopandas
  4. ›
  5. CVE-2025-69662

CVE-2025-69662: geopandas SQL Injection Vulnerability in to_postgis() Allows Information Disclosure

January 30, 2026 (updated June 5, 2026)

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.

References

  • aydinnyunus.github.io/2025/12/27/sql-injection-geopandas
  • github.com/advisories/GHSA-6497-prx7-gpmq
  • github.com/geopandas/geopandas/commit/6aa8ef14ffdee4ba1044349ab948e1a1fbfaf419
  • github.com/geopandas/geopandas/issues/3679
  • github.com/geopandas/geopandas/pull/3681
  • github.com/geopandas/geopandas/releases/tag/v1.1.2
  • github.com/pypa/advisory-database/tree/main/vulns/geopandas/PYSEC-2026-62.yaml
  • lists.debian.org/debian-lts-announce/2026/04/msg00025.html
  • nvd.nist.gov/vuln/detail/CVE-2025-69662

Code Behaviors & Features

Detect and mitigate CVE-2025-69662 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.1.2

Fixed versions

  • 1.1.2

Solution

Upgrade to version 1.1.2 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-202: Exposure of Sensitive Information Through Data Queries
  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

pypi/geopandas/CVE-2025-69662.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:50 +0000.