7.2high
GeoServer DB2 DataStore Extension has a JNDI Vulnerability via Store Connection
- Severity
- 7.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.58% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-g628-r368-6vh7
Description
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to version 2.27.0 of the GeoServer DB2 DataStore Extension, an administrator can perform a JNDI attack through specially crafted DB2 jdbc url leading to to Remote Code Execution (RCE). Version 2.27.0 fixes the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| geoserver org.geoserver.extension:gs-db2 | < 2.27.0 | CVE List |
| org.geoserver.extension:gs-db2 (Maven) | before 2.27.0 | GitHub Advisory Database |
| osgeo geoserver | before 2.27.0 | NVD |
All scores
| GitHub_M | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to version 2.27.0 of the GeoServer DB2 DataStore Extension, an administrator can perform a JNDI attack through specially crafted DB2 jdbc url leading to to Remote Code Execution (RCE). Version 2.27.0 fixes the issue.
GitHub Advisory Database
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
NVD (es)
GeoServer es un servidor de código abierto que permite a los usuarios compartir y editar datos geoespaciales. Antes de la versión 2.27.0 de la Extensión GeoServer DB2 DataStore, un administrador puede realizar un ataque JNDI a través de una URL jdbc de DB2 especialmente diseñada, lo que lleva a la Ejecución Remota de Código (RCE). La versión 2.27.0 corrige el problema.
References
| https://github.com/geoserver/geoserver/security/advisories/GHSA-g628-r368-6vh7 | vendor-advisory, web | |
| https://github.com/geoserver/geoserver/releases/tag/2.27.0 | product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/cve-2023-27867 | advisory, not-applicable | |
| https://osgeo-org.atlassian.net/browse/GEOT-7725 | issue-tracking, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-27511 | advisory | |
| https://github.com/geoserver/geoserver | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-27511 changed 2026-06-24 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g628-r368-6vh7 changed 2026-07-15 | CC-BY-4.0 |
| NVD | CVE-2025-27511 changed 2026-10-06 | Public domain |