Vulnerability report

Active exploitation observed High confidence Not in CISA KEV

GHSA-MQJF-5F49-2FJH

GeoTools - Unauthenticated SQL Injection

org.geotools / gt-jdbc-postgis

Severity
CVSS 9.8 · Critical
Confidence
High
Exploit status
Observed in sensors
EPSS
First observed
16 Aug 2026
Last observed
16 Aug 2026

Decision summary

What security teams need to know first

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

GeoTools - Unauthenticated SQL Injection

### 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

Published
Exploitation Reported
16 Aug 2026
Attack vector
Remote
Complexity
Low
Privileges
None
User interaction
None

Exploitation evidence

Why KEV Intelligence marks this advisory as exploited

Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.

Exploited in the wild

KEV Intelligence

Recorded 16 Aug 2026

Independent exploitation attestation added to the KEV Intelligence record.

Active exploitation observed

KEV Intelligence sensor

First observed 16 Aug 2026

First-party sensor telemetry confirms matching exploitation attempts.

Proof of concept available

Recorded 13 Aug 2026

Public scanner or PoC coverage increases practical exploitability.

Known exploited vulnerability sources

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

First-party evidence of exploitation activity

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

0
0
0
0
1
0
0
12 Aug 13 Aug 14 Aug 15 Aug 16 Aug 17 Aug 18 Aug

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.

Request telemetry access

Detection

Operational artifacts and observed signals

Make the evidence actionable in scanner, SOC, and edge-control workflows.

Observed signals

Request targets
1
User-Agents
1

Raw values available in Pro and Enterprise.

Scanner coverage

No scanner integrations recorded yet.

Virtual patch status

No KEV Intelligence virtual patch is currently available. Future rules ship for ModSecurity, Cloudflare, and AWS WAF.

Learn about virtual patches →

Risk and context

Severity, weaknesses, and research context

CVSS v3.1

9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS

Potential Proof of Concepts

These PoCs are unverified and could contain malware. Use at your own risk.

GeoServer jsonArrayContains SQLi -> PostgreSQL RCE python PoC

public · Created 2026-08-13 12:47:00 UTC

Timeline

From disclosure to observed exploitation

  1. Added to KEV Intelligence KEV Feed

    High-confidence, third-party attested exploitation

  2. Observed by KEV Intelligence sensors

    Evidence-backed exploitation signal

  3. Public PoC available

    Public proof-of-concept code published

Pro API

Automate this intelligence

Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.

  • Evidence confidence and provenance
  • First-party sensor telemetry
  • PoC and scanner references
  • Affected versions and enrichment
  • Automation-ready JSON delivery

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

Get alerts on high-impact exploitation

Receive curator-selected alerts when exploitation activity warrants attention. Each alert includes the evidence and context needed to decide what requires attention now.

Occasional high-impact alerts. Unsubscribe anytime. See our Privacy Policy.