SecPod

Learn Search

Search across all Learn content

← Back to Security Research
GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

Six vulnerabilities in GeoServer’s November 2026 security update can expose sensitive files, bypass service authorization, and enable administrator impersonation. Several of these flaws can be chained for unauthenticated remote code execution with the permissions of the GeoServer process. CVE-2026-120705 and CVE-2026-129243 have been reported as exploited. Fixed releases include GeoServer 3.0.2, 2.28.6, and 2.27.7. This article covers the flaws, the public five-CVE chain, impact, affected versions, and remediation guidance.

Nov 26, 2026By Bapanapalli Prem Sai Siddhik
vulnerability research

Summary

Six vulnerabilities addressed in GeoServer's November security update can expose sensitive files, bypass service authorization, and enable administrator impersonation. When chained together, several of these flaws allow an unauthenticated attacker to execute code with the permissions of the GeoServer process.

On 25 November 2026, the Canadian Centre for Cyber Security reported exploitation of CVE-2026-120705 and CVE-2026-129243, citing open-source reporting. The public proof of concept demonstrates a complete five-vulnerability chain. These reported attempts do not establish that attackers completed the full remote code execution chain against production systems. Affected deployments should be updated to GeoServer 3.0.2, 2.28.6, or an appropriate later supported release. Version 2.27.7 also contains the fixes.

Vulnerability Details

Technical Information

High Unauthenticated No User Interaction File Read / SSRF Public PoC Chain

CVE-2026-120705: WFS XML Injection and File Disclosure

CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

The built-in Web Feature Service (WFS) 2.0 GetFeatureById stored query substitutes the caller's identifier into XML without escaping it, then parses the result without the intended entity resolver. This permits local text-file reads and requests to HTTP or HTTPS destinations.

The direct path requires neither authentication nor a custom stored query. File contents are returned when a layer is published to anonymous users. Otherwise, the file can still be read internally without its contents being returned.

The fix applies GeoServer's entity resolver during parsing and adds redirect checks in GeoTools.

High Unauthenticated No User Interaction Authorization Bypass Public PoC Chain

CVE-2026-129243: Service Authorization Bypass

CVSS vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

The dispatcher resolves a prefixed service name to WFS, but the security check matches the unresolved name against service rules. This mismatch allows operations to run without the expected role check.

Default rules protect stored-query creation and deletion, so the flaw exposes those operations to anonymous users. The affected rules are configured under Security > Services and stored in security/services.properties. Other service-restricted operations can also be affected, while layer and data security remain effective.

The patch makes the authorization check use the resolved service name, aligning the security decision with the service that executes.

Medium Unauthenticated No User Interaction Path Disclosure Public PoC Chain

CVE-2026-129244: Data Directory Path Disclosure

CVSS vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

A stored-query identifier exceeding the file system's name limit can trigger an exception containing the absolute data directory path. An anonymous requester learns where configuration files are located, but the path alone provides no access to them.

Patched versions reject overlong identifiers and keep file-system error details in server logs rather than returning them to the client.

Critical Unauthenticated Signing Key + Digest Required Session Forgery Public PoC Chain

CVE-2026-129245: Administrator Session Forgery

CVSS vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Remember-me authentication uses a signing key and the user's stored password digest. The vulnerable release data directory includes the default key geoserver in security/config.xml.

Possession of the key and an administrator's digest allows forged administrator authentication without recovering the password. Replacing only the key is insufficient when file disclosure exposes the replacement.

The fix removes the key from the data directory and generates a random key unless a shared application property is configured.

High Admin Access Required No User Interaction RCE Public PoC Chain

CVE-2026-129242: JDBC Deserialization

CVSS vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Java Database Connectivity (JDBC) user and role services load property values through ResultSet.getObject(). For an HSQLDB OTHER column, the driver can deserialize stored Java objects through an unrestricted object stream when property values are loaded.

The standard distribution includes the JDBC security module and HSQLDB driver. An administrator can configure the malicious database through the REST API.

The patch reads property values as text. This individual vulnerability requires administrator privileges, which the preceding chain can supply through session forgery.

High Admin Access Required No User Interaction RCE SQLite JDBC

CVE-2026-120704: SQLite JDBC Extension Loading

CVSS vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

JDBC user/group services, role services, and authentication providers accept administrator-supplied connection settings and SQL property-file paths without sufficient validation. SQLite extension loading can then load an attacker-selected native library when the configured service is used, such as when listing users.

On Windows, the required files can be accessed through an SMB share. Other platforms require the files to be placed on the server first.

The fix restricts accepted drivers and connection parameters and rejects absolute SQL property-file paths. This is an alternative administrator-level code execution route, separate from the HSQLDB PoC.

Proof of Concept Analysis

A public proof-of-concept repository documents a five-CVE chain ending in HSQLDB deserialization. Its stated prerequisites include access to WFS and the REST API, an enabled stock administrator account in the default user service, and a Linux target.

1. Data Directory Discovery

A WFS exception exposes the data directory path, allowing the next stage to locate authentication configuration.

2. Service Authorization Bypass

The service-name mismatch allows an anonymous request to create a stored query despite the default administrator-only restriction.

3. Authentication Data Disclosure

The stored-query path exposes the remember-me signing key and administrator password digest.

4. Administrator Session Forgery

The disclosed values enable forged remember-me authentication and access to administrator functions.

5. JDBC Deserialization

The administrator session reaches the JDBC security configuration, completing the chain through a malicious database value.

Exploitation Flow (High-Level)

  1. 1Path DisclosureCVE-2026-129244
  2. 2Authorization BypassCVE-2026-129243
  3. 3File DisclosureCVE-2026-120705
  4. 4Administrator ImpersonationCVE-2026-129245
  5. 5Code ExecutionCVE-2026-129242

Impact

CVE-2026-120705: File disclosure and server-side request forgery, subject to the access conditions described above.

CVE-2026-129243: Unauthorized service operations, including stored-query creation and deletion.

CVE-2026-129244: Disclosure of the data directory path.

CVE-2026-129245: Administrator impersonation using exposed authentication material.

CVE-2026-129242 and CVE-2026-120704: Code execution after administrator access is obtained.

Together, these weaknesses can turn unauthenticated file disclosure into administrator access and remote code execution. The resulting access is limited by the operating system permissions of the GeoServer process.

Affected Products

ProductAffected VersionsScope
GeoServer2.27.6 and earlier
2.28.0 through 2.28.5
3.0.0 through 3.0.1
All six vulnerabilities listed above.
GeoTools (gt-metadata module)33.6 and earlier
34.0 through 34.5
35.0 through 35.1
CVE-2026-120705 affects the gt-metadata module, including its use in applications other than GeoServer.

MITRE ATT&CK Mapping

Technique ID Technique Name Tactic ID Tactic
T1190 Exploit Public-Facing Application TA0001 Initial Access
T1552.001 Unsecured Credentials: Credentials In Files TA0006 Credential Access
T1606.001 Forge Web Credentials: Web Cookies TA0006 Credential Access
T1059.004 Command and Scripting Interpreter: Unix Shell TA0002 Execution

Mitigation and Recommendations

Fixed Versions

ProductFixed Versions
GeoServer3.0.2, 2.28.6, and 2.27.7
GeoTools (gt-metadata module)35.2, 34.6, and 33.7

Temporary Mitigations

  • CVE-2026-120705: Disable WFS if it is not required, or restrict anonymous access. Service-rule restrictions must be paired with protection against the authorization bypass described below.
  • CVE-2026-129243: At the proxy, block a slash in the service parameter in both query-string requests and XML request attributes.
  • CVE-2026-129245: In Security > Authentication, remove rememberme from the web filter chain until the update is deployed.
  • CVE-2026-129242 and CVE-2026-120704: Restrict the administration console and REST API to trusted networks, including /rest/resource and /rest/security. For the SQLite flaw, avoid unnecessary JDBC drivers.

Recommended Actions

  • Identify the installed version under Build Information on the About GeoServer page. Update every instance and validate application and extension compatibility.
  • Review wfs/query and workspaces/*/wfs/query for stored queries that administrators did not create.
  • Change administrator passwords if file disclosure is suspected.
  • Expect existing remember-me cookies to be invalidated by the update. If a cluster requires cookies to work across nodes, configure the shared GEOSERVER_REMEMBERME_KEY application property securely.

Instantly Fix Risks in Endpoints & Cloud with Saner

Saner is a continuous and integrated vulnerability & exposure management platform that instantly fixes risks in endpoints and cloud.

Featured Posts

Open GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation
GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

CVE Research

GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

The GT13 campaign targeted at least 22 organizations worldwide by exploiting vulnerabilities in exposed services and Check Point Security Management Servers. The attackers used forged authentication sessions, SSH-based persistence, internal reconnaissance, lateral movement, and data exfiltration techniques to compromise systems and access sensitive information.

Nov 26, 2026

Open Critical Security Flaws in Microsoft Office, Erlang/OTP and Mozilla Thunderbird: November 25, 2026
Critical Security Flaws in Microsoft Office, Erlang/OTP and Mozilla Thunderbird: November 25, 2026

CVE Research

Critical Security Flaws in Microsoft Office, Erlang/OTP and Mozilla Thunderbird: November 25, 2026

Critical security flaws disclosed in November 2026 affect Microsoft Office, Erlang/OTP, and Mozilla Thunderbird. Explore CVE-2026-112732, CVE-2026-124286, and CVE-2026-136226, including remote code execution, TLS server impersonation, email spoofing risks, affected versions, and fixes.

Nov 25, 2026

Open Critical Vulnerabilities, November 23, 2026: Ruby2Shell in GitLab CE/EE and Seven rclone Flaws
vulnerability researchCritical Vulnerabilities, November 23, 2026: Ruby2Shell in GitLab CE/EE and Seven rclone Flaws

CVE Research

Critical Vulnerabilities, November 23, 2026: Ruby2Shell in GitLab CE/EE and Seven rclone Flaws

Nov 24, 2026

Open Three Critical Vulnerabilities in rConfig, Wing FTP Server and Google Chrome: 23 November 2026 Security Research
Three Critical Vulnerabilities in rConfig, Wing FTP Server and Google Chrome: 23 November 2026 Security Research

CVE Research

Three Critical Vulnerabilities in rConfig, Wing FTP Server and Google Chrome: 23 November 2026 Security Research

Explore three critical vulnerabilities affecting rConfig, Wing FTP Server, and Google Chrome, including technical root causes, exploitation risks, CVSS scores, attack-flow diagrams, MITRE ATT&CK assessment, and recommended security updates.

Nov 24, 2026