critical

CVE-2026-76904

Maven · org.geotools.jdbc:gt-jdbc-postgis

Summary

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

Severity
critical
CVSS
9.8
EPSS
4.0% (p90)
CWE
CWE-89
Also known as
GHSA-mqjf-5f49-2fjh
Published
2026-08-21
Updated
2026-08-21

Advisory details

Summary

An SQL Injection Vulnerability has been found when executing OGC Filters with PostGIS DataStore implementation:

For PostGIS 12 and greater jsonArrayContains(<column>, <pointer>, <value>) function writes <value> into generated SQL without escaping.

Patches

Mitigation

No mitigation is available:

Impact

This vulnerability can lead to execution of arbitrary SQL expressions in the database.

References

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.