What it is
GHSA-MQJF-5F49-2FJH is an unauthenticated GeoTools - Unauthenticated SQL Injection affecting org.geotools gt-jdbc-postgis. ### Summary An SQL Injection Vulnerability has been found when executing OGC Filters with...
Vulnerability report
GeoTools - Unauthenticated SQL Injection
org.geotools / gt-jdbc-postgis
Decision summary
Direct answers before the deeper technical record.
What it is
GHSA-MQJF-5F49-2FJH is an unauthenticated GeoTools - Unauthenticated SQL Injection affecting org.geotools gt-jdbc-postgis. ### Summary An SQL Injection Vulnerability has been found when executing OGC Filters with...
Is it exploited?
Yes. KEV Intelligence sensors observed exploitation attempts with high confidence.
Who is affected?
org.geotools / gt-jdbc-postgis.
What should we do?
Patch immediately, validate internet-facing exposure, and monitor for matching requests.
Overview
### Summary
An SQL Injection Vulnerability has been found 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
* GeoTools 35.1
### Mitigation
No mitigation is available at this time: Specifically the CVE-2023-25158 mitigation of enabling `preparedStatements` and disabling `encode functions` is not effective.
### Impact
This vulnerability can lead to execution of arbitrary SQL expressions in the database.
This is a regression of CVE-2023-25158 for the single `jsonArrayContains` function.
### References
* https://osgeo-org.atlassian.net/browse/GEOT-7958 * https://github.com/geotools/geotools/pull/5829 * CVE-2023-25158
Exploitation evidence
Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.
KEV Intelligence
Independent exploitation attestation added to the KEV Intelligence record.
KEV Intelligence sensor
First-party sensor telemetry confirms matching exploitation attempts.
Public scanner or PoC coverage increases practical exploitability.
Per-source evidence links for KEV attestations are available through the KEV Intelligence Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| KEV Intelligence First | 2026-08-18 09:07 UTC |
Sensor telemetry
Aggregate observations show the scale, recency, and distribution of activity without overstating sparse data.
1
Attempts observed
1
Unique attacker IPs
1
Attacker countries
NL
1
Sensors observed
Exploitation attempts over the last 7 days
Daily events observed by KEV Intelligence sensors
Updated 18 Aug 2026
First observed 16 Aug 2026 · Last observed 16 Aug 2026
Pro adds sensor region and window summaries. Enterprise adds raw IPs, paths, User-Agents, and payloads.
Detection
Make the evidence actionable in scanner, SOC, and edge-control workflows.
Raw values available in Pro and Enterprise.
No scanner integrations recorded yet.
No KEV Intelligence virtual patch is currently available. Future rules ship for ModSecurity, Cloudflare, and AWS WAF.
Learn about virtual patches →Risk and context
CVSS v3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
—
These PoCs are unverified and could contain malware. Use at your own risk.
public · Created 2026-08-13 12:47:00 UTC
Timeline
High-confidence, third-party attested exploitation
Evidence-backed exploitation signal
Public proof-of-concept code published
Pro API
Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
GET /api/v2/pro/kevs/GHSA-MQJF-5F49-2FJH
Free JSON includes basic KEV fields{
"ghsa_id": "GHSA-MQJF-5F49-2FJH",
"confidence": "High",
"cvss_score": 9.8,
"cvss_estimated": false,
"epss_score": null,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": true
},
"sensor_telemetry": { "attempts": 1, "sensors": 1 }
}
Early warning alerts
Receive curator-selected alerts when exploitation activity warrants attention. Each alert includes the evidence and context needed to decide what requires attention now.