Skip to main content
VulnerabilityPublished Updated

CVE-2026-76904: geotools · SQL Injection

Affects geotoolsSource GCVE Database

0
Compare

Not known to be exploited · public detection template (Nuclei) · CVSS 9.8 Critical · fixed in 35.1 : patch geotools as a priority.

Data as of 30 Nov 2026, 19:49 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.19.8
Patch
Available – fixed in 35.1, 34.5, 33.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Aug 2026

  2. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade org.geotools.jdbc:gt-jdbc-postgis to 35.1; org.geotools.jdbc:gt-jdbc-postgis to 34.5; org.geotools.jdbc:gt-jdbc-postgis to 33.6.

Affected software

ProductAffectedFixed in
Mavenorg.geotools.jdbc:gt-jdbc-postgispkg:maven/org.geotools.jdbc/gt-jdbc-postgisOther threatsAffected
  • >=35.0 <35.1
  • =35.0
Fixed in
  • 35.1
Mavenorg.geotools.jdbc:gt-jdbc-postgispkg:maven/org.geotools.jdbc/gt-jdbc-postgisOther threatsAffected
  • >=34.0 <34.5
Fixed in
  • 34.5
Mavenorg.geotools.jdbc:gt-jdbc-postgispkg:maven/org.geotools.jdbc/gt-jdbc-postgisOther threatsAffected
  • >=30.5 <33.6
Fixed in
  • 33.6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade GeoTools to version 33.6 or 34.5 or later where the vulnerability is patched. No workaround is available. To reduce risk before patching, configure the PostGIS database connection pool with limited database user rights to restrict the scope of potential SQL injection attacks.

Description

GeoTools versions 30.5 up to but excluding 33.6, and versions from 34.0 up to but excluding 34.5, contain an SQL Injection vulnerability in the PostGIS DataStore implementation when using the jsonArrayContains function. This vulnerability affects PostGIS 12 or greater with String or JSON fields, where the function inserts unescaped values into generated SQL queries. Patches fixing this issue are available in GeoTools versions 33.6 and 34.5. No workaround is currently available, but limiting database user rights can reduce risk.

References

Community reviews

Loading reviews…