CVE-2025-27511
JSON

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 packageVersionsReported by
geoserver org.geoserver.extension:gs-db2< 2.27.0CVE List
org.geoserver.extension:gs-db2 (Maven)before 2.27.0GitHub Advisory Database
osgeo geoserverbefore 2.27.0NVD

All scores

GitHub_M7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
GitHub7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-74CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

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

Sources

SourceRecordLicence
CVE ListCVE-2025-27511 changed 2026-06-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-g628-r368-6vh7 changed 2026-07-15CC-BY-4.0
NVDCVE-2025-27511 changed 2026-10-06Public domain