DEV Community

johnettwawers
johnettwawers

Posted on

CVE-2026-76904 Severity: What the 9.8 CVSS Score Misses

CVE-2026-76904 Severity: What the 9.8 CVSS Score Misses

CVE-2026-76904 carries a Critical rating and a CVSS 3.1 base score of 9.8 in the GeoTools advisory. That score answers a defined set of questions: the attack can be network based, complex preparation is not required by the model, no privileges or user interaction are needed, and the confidentiality, integrity, and availability impact is high. The score does not describe every GeoServer deployment.

Two advisory scores

The GeoTools advisory assigns 9.8. The GeoServer advisory lists 9.1. Both identify CWE-89 and treat the defect as Critical. The difference shows why security teams should record the source of a score instead of treating a single number as a universal description of local risk.

The technical issue is consistent across the records. The PostGIS jsonArrayContains implementation writes an unescaped value into generated SQL. GeoServer exposes OGC filters through WFS and WMS, including CQL_FILTER and XML filter forms.

The conditions behind the score

Exploitation requires an affected GeoServer or GeoTools version. The layer must use PostGIS 12 or later and contain a String or JSON field. The service must accept a request that invokes the vulnerable filter.

Each condition changes the local attack surface. A public WFS endpoint with a compatible JSON layer is different from a private mapping service that publishes only numeric raster data. Both may need the patch, but an incident team should not describe them as equally exposed.

Impact and privilege dependency

SQL execution can expose or alter database content. The outcome depends on the GeoServer connection role. A role with broad rights can reach more schemas, functions, and data than a role limited to a single publication table.

The GeoServer advisory warns that rights such as pg_read_file can turn the SQL injection into remote code execution. A superuser connection makes that path more plausible. A restricted role does not remove the SQL injection, but it reduces the consequences available to the attacker.

This is the detail the base score cannot resolve. The CVSS vector provides high impact, while the actual database role determines whether the high impact is confined to one schema or reaches the host.

Affected versions

GeoServer 3.0.0, 2.28.0 through 2.28.4, and versions later than 2.23.5 and earlier than 2.27.6 fall in the advisory range. Fixed GeoServer releases are 3.0.1, 2.28.5, and 2.27.6. A custom GeoTools application should use the fixed PostGIS component from 35.1, 34.5, or 33.6 as appropriate.

The severity rating is not limited to one product family. The underlying GeoTools component can be embedded in other applications that expose filtered PostGIS access.

Exposure is not exploitability

ZoomEye data for this topic recorded 58,835 matches for app="GeoServer" on November 25, 2026. The CVE filter returned zero. The first number is a product-fingerprint population. The second is an index result, not evidence that vulnerable hosts do not exist.

A useful exposure review combines the product count with version, endpoint, layer, and database-role evidence. The CVSS score should guide urgency; the local configuration should guide the response and the wording used with leadership.

Why the zero-day record matters

GeoServer's September security update says the issue was used as a zero-day before the coordinated fix and that scans began within hours of public disclosure. A high score with a known exploitation timeline raises the priority for internet-facing services.

The record does not provide a victim count or proof that a scanner succeeded. Organizations should keep the distinction between scanning, attempted SQL execution, and confirmed data access. That distinction improves response quality and avoids unsupported breach claims.

Remediation decisions

The minimum software action is to upgrade to GeoServer 3.0.1, 2.28.5, or 2.27.6, or a later supported release. Custom applications should replace the vulnerable PostGIS dependency.

In parallel, remove unnecessary database rights from the GeoServer connection pool. Revoke superuser status and file-read privileges. Restrict network access to the service while the upgrade is in progress when operationally possible.

After the patch, validate the loaded package and send a normal filter request against a representative layer. Review the database role and preserve the evidence. The fixed release closes the SQL construction path. Least privilege and accurate measurement determine how well the response fits the actual environment.

References

Top comments (0)