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

- Severity: High 8.6 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-30T00:00:00.000Z
- Modified: 2026-06-17T10:00:49.337Z
- Also known as: GHSA-6497-prx7-gpmq, PYSEC-2026-62
- Weaknesses: CWE-89, CWE-202
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- geopandas (PyPI): before 1.1.2
- geopandas geopandas: before 1.1.2

## Every score

- CISA-ADP: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://aydinnyunus.github.io/2025/12/27/sql-injection-geopandas/> (exploit, evidence, third-party-advisory)
- <https://github.com/geopandas/geopandas/pull/3681> (fix, issue-tracking, patch, web)
- <https://lists.debian.org/debian-lts-announce/2026/04/msg00025.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-69662> (advisory)
- <https://github.com/geopandas/geopandas/issues/3679> (web)
- <https://github.com/geopandas/geopandas/commit/6aa8ef14ffdee4ba1044349ab948e1a1fbfaf419> (web)
- <https://aydinnyunus.github.io/2025/12/27/sql-injection-geopandas> (web)
- <https://github.com/geopandas/geopandas> (package)
- <https://github.com/geopandas/geopandas/releases/tag/v1.1.2> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/geopandas/PYSEC-2026-62.yaml> (web)
- <https://github.com/advisories/GHSA-6497-prx7-gpmq> (advisory)

## Sources

- CVE List: [CVE-2025-69662](https://www.cve.org/CVERecord?id=CVE-2025-69662), CVE Terms of Use, modified 2026-04-21
- GitHub Advisory Database: [GHSA-6497-prx7-gpmq](https://github.com/advisories/GHSA-6497-prx7-gpmq), CC-BY-4.0, modified 2026-06-05
- NVD: [CVE-2025-69662](https://nvd.nist.gov/vuln/detail/CVE-2025-69662), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-62](https://osv.dev/vulnerability/PYSEC-2026-62), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2025-69662 · Whole record: https://cve.day/CVE-2025-69662.json · Rebuilt by cve.day 2026-11-25T22:59:10.956Z
