CVE Watchtower

CVE-2026-120704org.geoserver.security:gs-sec-jdbc Code Injection

NVD

Vulnerability Summary

GeoServer's JDBC user/group service, role service and authentication provider accepted an administrator supplied JDBC connection URL and DML/DDL property file paths without validation. Choosing the SQLite driver with the `enable_load_extension=true` connection parameter, together with a DML file containing `SELECT load_extension(...)`, loads a native library of the attacker's choice into the GeoServer process. Impact An administrator, or anyone with access to an administrator session, can execute arbitrary code as the user running GeoServer. On Windows both the DML file and the extension library can be loaded from an SMB share (UNC path), so no files need to be staged on the server. On other platforms the attacker must first place the DML file and library on the server file system. Details `AbstractJDBCService.initializeDSFromConfig()` passed the configured driver class and connection URL directly to the connection pool. `checkORCreateJDBCPropertyFile()` accepted absolute paths for the DML and DDL property files, including UNC paths. The DML statements run when the service is used, for example when listing users. Mitigation Restrict access to the GeoServer administration console and REST API to trusted administrators, and do not install JDBC drivers that are not required (such as SQLite) on the GeoServer classpath. Resolution JDBC security services now accept only known drivers and connection parameters for each driver, and reject absolute DML/DDL file paths. Additional parameters can be allowed with the `GEOSERVER_JDBC_EXTRA_PARAMETERS` property. GeoServer 2.27.7, 2.28.6, 3.0.2 References https://osgeo-org.atlassian.net/browse/GEOS-12234 * https://docs.geoserver.org/3.0.x/en/user/configuration/properties/
Severity Level
HIGH(7.2)
Published Date
Nov 23, 2026
Last Modified
Nov 23, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended syntax or behavior.
CVSS v3.1 Base Metrics — Score 7.2
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredHigh
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • org.geoserver.security:gs-sec-jdbc <= 2.27.6
  • org.geoserver.security:gs-sec-jdbc >= 2.28.0, <= 2.28.5
  • org.geoserver.security:gs-sec-jdbc >= 3.0.0, <= 3.0.1
Patched Versions
  • org.geoserver.security:gs-sec-jdbc 2.27.7
  • org.geoserver.security:gs-sec-jdbc 2.28.6
  • org.geoserver.security:gs-sec-jdbc 3.0.2

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run org.geoserver.security:gs-sec-jdbc and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 23, 2026Published
  • Nov 23, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new org.geoserver.security:gs-sec-jdbc CVEsYou are reading CVE-2026-120704. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 24, 2026 14:01 UTC