---
id: CVE-2025-27511
title: >-
  GeoServer is an open source server that allows users to share and edit
  geospatial data
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 l…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-74
  - CWE-502
vendor: osgeo
product: geoserver
affected:
  - geoserver < 2.27.0
patched:
  - geoserver 2.27.0
published: '2026-06-18'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T22:10:00.247'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-27511'
references:
  - url: 'https://github.com/geoserver/geoserver/releases/tag/2.27.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/geoserver/geoserver/security/advisories/GHSA-g628-r368-6vh7
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/cve-2023-27867'
    label: security-advisories@github.com
  - url: 'https://osgeo-org.atlassian.net/browse/GEOT-7725'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-g628-r368-6vh7'
tags:
  - nvd
  - ghsa
  - maven
epss: 0.01074
epssPercentile: 0.65039
aliases:
  - GHSA-g628-r368-6vh7
ecosystem: maven
ingestedAt: '2026-07-07T15:41:59.279Z'
---

## Overview

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

- `geoserver < 2.27.0`

## Remediation

Upgrade past the affected range:

- `geoserver 2.27.0`

## Package advisory (CVE-2025-27511)

Affected packages:

- `org.geoserver.extension:gs-db2 < 2.27.0`

Patched in:

- `org.geoserver.extension:gs-db2 2.27.0`

Source: https://github.com/advisories/GHSA-g628-r368-6vh7
