CVE-2026-129242org.geoserver.security:gs-sec-jdbc Deserialization of Untrusted Data
NVD
Vulnerability Summary
The JDBC user group and role services read user and role property values with `ResultSet.getObject()`. An administrator could configure a service backed by an uploaded HSQLDB database whose property values are serialized Java objects. These were deserialized when users or roles were loaded, executing code. This was reported as step 5 of an unauthenticated remote command execution chain, see GHSA-hgm3-wq4h-8vvq. Impact An administrator, or anyone who takes over an administrator session, can execute code with the operating system privileges of the GeoServer process. Details `JDBCUserGroupService` and `JDBCRoleService` read the property value column with `getObject()`. For an HSQLDB `OTHER` column the driver deserializes the value with an unrestricted `ObjectInputStream`. The JDBC security module and HSQLDB driver are part of the standard distribution, and the REST API allows an administrator to upload a database file to the data directory and create a JDBC user group service that uses it. Mitigation Limit administrator access to trusted users, and restrict access to the REST API `/rest/resource` and `/rest/security` endpoints to trusted networks. Resolution Patched for: GeoServer 3.0.2 GeoServer 2.28.6 GeoServer 2.27.7 User and role property values are now read as text. No manual steps required. References GEOS-12239 * GHSA-hgm3-wq4h-8vvq
CVSS v4.0 Base Metrics — Score 8.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredHigh
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- org.geoserver.security:gs-sec-jdbc >= 3.0.0, <= 3.0.1
- org.geoserver.security:gs-sec-jdbc >= 2.28.0, <= 2.28.5
- org.geoserver.security:gs-sec-jdbc <= 2.27.6
- org.geoserver.security:gs-sec-jdbc 3.0.2
- org.geoserver.security:gs-sec-jdbc 2.28.6
- org.geoserver.security:gs-sec-jdbc 2.27.7
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run org.geoserver.security:gs-sec-jdbc and which version.
- 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-129242. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 25, 2026 23:01 UTC