It is possible to bypass the default REST API security and access the index page.
The REST API security handles rest and its subpaths but not rest with an extension (e.g., rest.html).
The REST API index can disclose whether certain extensions are installed.
In ${GEOSERVER_DATA_DIR}/security/config.xml, change the paths for the rest filter to /rest.*,/rest/** and change the paths for the gwc filter to /gwc/rest.*,/gwc/rest/** and restart GeoServer.
https://osgeo-org.atlassian.net/browse/GEOS-11664
https://osgeo-org.atlassian.net/browse/GEOS-11776
https://github.com/geoserver/geoserver/pull/8170
{
"cwe_ids": [
"CWE-862"
],
"github_reviewed": true,
"github_reviewed_at": "2025-06-10T19:16:18Z",
"nvd_published_at": "2025-06-10T15:15:23Z",
"severity": "MODERATE"
}