{"cve":"CVE-2026-76904","nvd":{"published":"2026-08-21T21:17:06.143","modified":"2026-10-14T19:10:00.297","status":"Deferred","description":"GeoTools is an open source Java library that provides tools for geospatial data. Starting in version 30.5 and prior to versions 33.6, 34.5, and 33.6, an SQL Injection Vulnerability is present when executing OGC Filters with PostGIS DataStore implementation: `jsonArrayContains` function; Requires PostGIS 12 or greater with a String or JSON field. For PostGIS 12 and greater `jsonArrayContains(<column>, <pointer>, <value>)` function writes `<value>` into generated SQL without escaping. Patches are available in versions 33.6, 34.5, and 33.6. No known workaround is available. To limit scope of SQL Injection the PostGIS connection pool should be configured with limited rights.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-89"],"references":["https://github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176","https://github.com/geotools/geotools/pull/5829","https://github.com/geotools/geotools/releases/tag/33.6","https://github.com/geotools/geotools/releases/tag/34.5","https://github.com/geotools/geotools/releases/tag/35.1"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:49:38.260478770+00:00"},"epss":{"cve":"CVE-2026-76904","score":0.03976,"percentile":0.90407,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-mqjf-5f49-2fjh","url":"https://osv.dev/vulnerability/GHSA-mqjf-5f49-2fjh","summary":"GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers","modified":"2026-08-21T20:40:58.371279Z","packages":[{"ecosystem":"Maven","name":"org.geotools.jdbc:gt-jdbc-postgis","purl":"pkg:maven/org.geotools.jdbc/gt-jdbc-postgis","ranges":[">=35.0 <35.1"],"fixed":["35.1"]},{"ecosystem":"Maven","name":"org.geotools.jdbc:gt-jdbc-postgis","purl":"pkg:maven/org.geotools.jdbc/gt-jdbc-postgis","ranges":[">=34.0 <34.5"],"fixed":["34.5"]},{"ecosystem":"Maven","name":"org.geotools.jdbc:gt-jdbc-postgis","purl":"pkg:maven/org.geotools.jdbc/gt-jdbc-postgis","ranges":[">=30.5 <33.6"],"fixed":["33.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}