---
id: CVE-2026-120705
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 "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6,
  and 3.0.2 and prior to "org.geotools:gt-metadata" versions 33.7, 34.6, and
  35.2, GeoSer…
severity: high
cvss: 8.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'
cwe:
  - CWE-91
vendor: osgeo
product: geoserver
affected:
  - geoserver < 2.27.7
  - 'geoserver >= 2.28.0, < 2.28.6'
  - 'geoserver >= 3.0.0, < 3.0.2'
  - geotools < 33.7
  - 'geotools >= 34.0, < 34.6'
  - 'geotools >= 35.0, < 35.2'
patched:
  - geoserver 3.0.2
  - geotools 35.2
published: '2026-11-30'
updated: '2026-11-30'
sourceUpdated: '2026-11-30T20:55:31.557'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-120705'
references:
  - url: 'https://github.com/geoserver/geoserver/pull/9928'
    label: security-advisories@github.com
  - url: 'https://github.com/geoserver/geoserver/releases/tag/2.27.7'
    label: security-advisories@github.com
  - url: 'https://github.com/geoserver/geoserver/releases/tag/2.28.6'
    label: security-advisories@github.com
  - url: 'https://github.com/geoserver/geoserver/releases/tag/3.0.2'
    label: security-advisories@github.com
  - url: >-
      https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
    label: security-advisories@github.com
  - url: 'https://osgeo-org.atlassian.net/jira/browse/GEOS-12199'
    label: security-advisories@github.com
  - url: 'https://osgeo-org.atlassian.net/jira/browse/GEOT-7938'
    label: security-advisories@github.com
  - url: >-
      https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-120705
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - kev
  - in-the-wild
  - cve.org
  - exploit-available
kev: true
kevDateAdded: '2026-11-27'
kevDueDate: '2026-11-30'
kevRansomware: false
exploited: true
zeroDay: true
ingestedAt: '2026-11-30T18:32:49.269Z'
exploitAvailable: true
ssvc:
  exploitation: active
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-11-30T17:49:46.325210Z'
epss: 0.22743
epssPercentile: 0.97777
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/googlesky/CVE-2026-120705'
  checkedAt: '2026-12-02T22:13:48.814Z'
---

## Overview

GeoServer is an open source server that allows users to share and edit geospatial data. Prior to "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and prior to "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2, GeoServer exposes the built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById through the public GetFeature operation. The stored query substituted the caller's ID parameter into an XML template without escaping, then parsed the result without GeoServer's entity resolver. An unauthenticated caller could inject XML, including an xi:include, into the query. This issue has been patched in "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2.

## Affected

- `geoserver < 2.27.7`
- `geoserver >= 2.28.0, < 2.28.6`
- `geoserver >= 3.0.0, < 3.0.2`
- `geotools < 33.7`
- `geotools >= 34.0, < 34.6`
- `geotools >= 35.0, < 35.2`

## Remediation

Upgrade past the affected range:

- `geoserver 3.0.2`
- `geotools 35.2`
