GeoServer DB2 DataStore Extension has a JNDI Vulnerability via Store Connection
Summary
Administrator can perform JNDI attack through specially crafted DB2 jdbc url leading to Remote Code Execution (RCE).
Impact
If GeoServer has DB2 extension installed, this vulnerability can lead to executing arbitrary code.
Details
Authenticated users can access Vector Data Sources page to creating a new data store through db2 jdbc connection, performing JNDI attack due to unrestricted connection parameters, and then achieve RCE with deserialization of untrusted data.
Remediation
This issue has been fixed in this release: https://github.com/geoserver/geoserver/releases/tag/2.27.0.
References
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.geoserver.extension:gs-db2 | < 2.27.0 | 2.27.0 |
References
- https://github.com/geoserver/geoserver/security/advisories/GHSA-g628-r368-6vh7
- https://nvd.nist.gov/vuln/detail/CVE-2025-27511
- https://github.com/geoserver/geoserver
- https://github.com/geoserver/geoserver/releases/tag/2.27.0
- https://nvd.nist.gov/vuln/detail/cve-2023-27867
- https://osgeo-org.atlassian.net/browse/GEOT-7725
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-502, CWE-74- Platform
- Java / Kotlin (Maven)
- Package
org.geoserver.extension:gs-db2- Disclosed
- 11.06.2026
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-g628-r368-6vh7 - CC BY 4.0
Vulnerability history: org.geoserver.extension:gs-db2
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.