{"id":"CVE-2025-27511","aliases":["CVE-2025-27511","GHSA-g628-r368-6vh7"],"related":[],"kind":"vulnerability","state":"published","title":"GeoServer DB2 DataStore Extension has a JNDI Vulnerability via Store Connection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nAdministrator can perform JNDI attack through specially crafted DB2 jdbc url leading to Remote Code Execution (RCE).\n\n## Impact\n\nIf GeoServer has DB2 extension installed, this vulnerability can lead to executing arbitrary code.\n\n## Details\n\nAuthenticated 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.\n\n### Remediation\n\nThis issue has been fixed in this release: https://github.com/geoserver/geoserver/releases/tag/2.27.0.\n\n## References\n\n* https://osgeo-org.atlassian.net/browse/GEOT-7725\n* https://nvd.nist.gov/vuln/detail/cve-2023-27867","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-06-11T20:34:00.000Z","modified":"2026-10-06T22:10:00.247Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"}],"cwes":["CWE-74","CWE-502"],"affected":[{"ranges":[{"version":"< 2.27.0","status":"affected"}],"vendor":"geoserver","product":"org.geoserver.extension:gs-db2","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.27.0"}],"ecosystem":"Maven","package":"org.geoserver.extension:gs-db2","purl":"pkg:maven/org.geoserver.extension/gs-db2","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.27.0"}],"vendor":"osgeo","product":"geoserver","cpe":"cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-g628-r368-6vh7","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/geoserver/geoserver/releases/tag/2.27.0","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/cve-2023-27867","tags":["advisory","not-applicable","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOT-7725","tags":["issue-tracking","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27511","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/geoserver/geoserver","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-23T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-27511","url":"https://www.cve.org/CVERecord?id=CVE-2025-27511","licence":"CVE Terms of Use","modified":"2026-06-24T03:56:02.624Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g628-r368-6vh7","url":"https://github.com/advisories/GHSA-g628-r368-6vh7","licence":"CC-BY-4.0","modified":"2026-07-15T22:00:51.215Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-27511","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27511","licence":"Public domain","modified":"2026-10-06T22:10:00.247Z"}],"updatedAt":"2026-11-25T22:59:12.328Z","epss":{"score":0.00582,"percentile":0.49159,"date":"2026-12-01T12:00:22.000Z"}}