CVE-2026-76904
Published:August 21, 2026
Updated:September 24, 2026
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.
Affected Packages
https://github.com/geotools/geotools.git (GITHUB):
Affected version(s) >=34.0 <34.5Fix Suggestion:
Update to version 34.5https://github.com/geotools/geotools.git (GITHUB):
Affected version(s) =35.0 <35.1Fix Suggestion:
Update to version 35.1https://github.com/geotools/geotools.git (GITHUB):
Affected version(s) >=30.5 <33.6Fix Suggestion:
Update to version 33.6org.geotools.jdbc:gt-jdbc-postgis (JAVA):
Affected version(s) >=34.0 <34.5Fix Suggestion:
Update to version 34.5org.geotools.jdbc:gt-jdbc-postgis (JAVA):
Affected version(s) >=30.5 <33.6Fix Suggestion:
Update to version 33.6org.geotools.jdbc:gt-jdbc-postgis (JAVA):
Affected version(s) =35.0 <35.1Fix Suggestion:
Update to version 35.1Related Resources (12)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
EPSS
Base Score:
1.79