Administrator can perform JNDI attack through specially crafted DB2 jdbc url leading to Remote Code Execution (RCE).
If GeoServer has DB2 extension installed, this vulnerability can lead to executing arbitrary code.
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.
This issue has been fixed in this release: https://github.com/geoserver/geoserver/releases/tag/2.27.0.
{
"nvd_published_at": null,
"github_reviewed_at": "2026-06-11T20:34:00Z",
"github_reviewed": true,
"severity": "HIGH",
"cwe_ids": [
"CWE-502",
"CWE-74"
]
}