Security mailing lists by PureSourceCode

CVE-2026-76904

CRITICAL 9.8CVSS 3.1

GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers

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.

Published
21 Aug 2026
Last modified
30 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-89
Also known as
GHSA-mqjf-5f49-2fjh
Sources
NVDJSONOSV GHSA-mqjf-5f49-2fjhJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Maven org.geotools.jdbc:gt-jdbc-postgis >= 35.0, < 35.1 35.1
OSV Maven org.geotools.jdbc:gt-jdbc-postgis >= 34.0, < 34.5 34.5
OSV Maven org.geotools.jdbc:gt-jdbc-postgis >= 30.5, < 33.6 33.6

References

History

  • 30 Nov 2026 19:41 UTC · NVD: updated (other details)
  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 21 Aug 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.