7.2
High
org.geoserver.extension:gs-db2

CVE-2025-27511

CVE-2025-27511 is a high-severity insecure deserialization vulnerability in org.geoserver.extension:gs-db2 (maven), affecting versions < 2.27.0. It is fixed in 2.27.0.

Key facts
CVSS score
7.2
High
Attack vector
Network
Issuing authority
GitHub Advisory Database
Affected package
org.geoserver.extension:gs-db2
Fixed in
2.27.0
Disclosed
2025

Summary

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 https://osgeo-org.atlassian.net/browse/GEOT-7725 https://nvd.nist.gov/vuln/detail/cve-2023-27867

Impact

What is insecure deserialization?

Untrusted serialized data is processed by a deserializer that can instantiate arbitrary objects or execute code as a side effect. Typical impact: arbitrary code execution or logic abuse.

Severity and exposure

CVE-2025-27511 has a CVSS score of 7.2 (High). The vector is network-reachable, high privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.

A fixed version is available (2.27.0). Upgrading removes the vulnerable code path.

Affected versions

maven

  • org.geoserver.extension:gs-db2 (< 2.27.0)

Security releases

  • org.geoserver.extension:gs-db2 → 2.27.0 (maven)
Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.

Kodem's Application Detection and Response identifies whether CVE-2025-27511 is reachable in your applications. Explore runtime application protection for your team.

See if CVE-2025-27511 is reachable in your applications. Get a demo

Remediation advice

Upgrade org.geoserver.extension:gs-db2 to 2.27.0 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently asked questions about CVE-2025-27511

What is CVE-2025-27511?

CVE-2025-27511 is a high-severity insecure deserialization vulnerability in org.geoserver.extension:gs-db2 (maven), affecting versions < 2.27.0. It is fixed in 2.27.0. Untrusted serialized data is processed by a deserializer that can instantiate arbitrary objects or execute code as a side effect.

How severe is CVE-2025-27511?

CVE-2025-27511 has a CVSS score of 7.2 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.

Which versions of org.geoserver.extension:gs-db2 are affected by CVE-2025-27511?

org.geoserver.extension:gs-db2 (maven) versions < 2.27.0 is affected.

Is there a fix for CVE-2025-27511?

Yes. CVE-2025-27511 is fixed in 2.27.0. Upgrade to this version or later.

Is CVE-2025-27511 exploitable, and should I be worried?

Whether CVE-2025-27511 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo

What actually determines whether CVE-2025-27511 is exploitable, and how bad it is?

Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.

How do I fix CVE-2025-27511?

Upgrade org.geoserver.extension:gs-db2 to 2.27.0 or later.

Stop the waste.
Protect your environment with Kodem.