{"id":"CVE-2025-27505","aliases":["EUVD-2025-17687","GHSA-h86g-x8mm-78m5"],"status":"published","title":"GeoServer Missing Authorization on REST API Index","description":"GeoServer is an open source server that allows users to share and edit geospatial data. 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. This vulnerability is fixed in 2.26.3 and 2.25.6. As a workaround, 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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01222,"percentile":0.69107,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-862"],"published":"2025-06-10T14:52:19Z","modified":"2026-10-28T02:30:42Z","exploits":[{"source":"nuclei","id":"CVE-2025-27505","title":"GeoServer - Missing Authorization on REST API Index","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-27505.yaml"}],"fixes":[{"ecosystem":"Maven","package":"org.geoserver.web:gs-web-app","fixed_in":["2.26.3","2.25.6"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.geoserver:gs-rest","fixed_in":["2.26.3","2.25.6"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.geoserver.web:gs-web-app","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.26.0"},{"fixed":"2.26.3"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.geoserver.web:gs-web-app","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.25.6"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.geoserver:gs-rest","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.26.0"},{"fixed":"2.26.3"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.geoserver:gs-rest","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.25.6"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.geoserver.web:gs-web-app","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.26.0"},{"fixed":"2.26.3"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.geoserver.web:gs-web-app","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.25.6"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.geoserver:gs-rest","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.26.0"},{"fixed":"2.26.3"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.geoserver:gs-rest","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.25.6"}]}]}],"products":[{"vendor":"geoserver","product":"geoserver"},{"vendor":"osgeo","product":"geoserver"}],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5","tags":["x_refsource_CONFIRM","Third Party Advisory","advisory","web"]},{"url":"https://github.com/geoserver/geoserver/pull/8170","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11664","tags":["x_refsource_MISC","Issue Tracking","Patch","web"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11776","tags":["x_refsource_MISC","Permissions Required","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27505","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-h86g-x8mm-78m5"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27505.json","tags":["advisory"]},{"url":"https://github.com/geoserver/geoserver","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-27505","title":"GeoServer Missing Authorization on REST API Index","description":"GeoServer is an open source server that allows users to share and edit geospatial data. 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. This vulnerability is fixed in 2.26.3 and 2.25.6. As a workaround, 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.","status":"published","published":"2025-06-10T14:52:19.499Z","modified":"2025-06-10T15:01:45.132Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:32:42.411662Z"}],"euvd":[{"id":"EUVD-2025-17687","description":"GeoServer is an open source server that allows users to share and edit geospatial data. 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. This vulnerability is fixed in 2.26.3 and 2.25.6. As a workaround, 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.","status":"published","published":"2025-06-10T14:52:19Z","modified":"2025-06-10T15:01:45Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T20:32:26.841647Z"}],"ghsa":[{"id":"GHSA-h86g-x8mm-78m5","title":"GeoServer Missing Authorization on REST API Index","description":"### Summary\nIt is possible to bypass the default REST API security and access the index page.\n\n### Details\nThe REST API security handles `rest` and its subpaths but not `rest` with an extension (e.g., `rest.html`).\n\n### Impact\nThe REST API index can disclose whether certain extensions are installed.\n\n### Workaround\nIn `${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.\n\n### References\nhttps://osgeo-org.atlassian.net/browse/GEOS-11664  \nhttps://osgeo-org.atlassian.net/browse/GEOS-11776  \nhttps://github.com/geoserver/geoserver/pull/8170","status":"published","published":"2025-06-10T19:16:18Z","modified":"2025-06-10T19:16:20Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:38:46.901955Z"}],"nvd":[{"id":"CVE-2025-27505","description":"GeoServer is an open source server that allows users to share and edit geospatial data. 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. This vulnerability is fixed in 2.26.3 and 2.25.6. As a workaround, 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.","status":"published","published":"2025-06-10T15:15:23.903Z","modified":"2026-06-17T09:03:43.363Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:11:11.4244Z"}],"osv":[{"id":"CVE-2025-27505","title":"GeoServer Missing Authorization on REST API Index","description":"GeoServer is an open source server that allows users to share and edit geospatial data. 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. This vulnerability is fixed in 2.26.3 and 2.25.6. As a workaround, 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.","status":"published","published":"2025-06-10T14:52:19.499Z","modified":"2026-10-28T02:30:42.652785833Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T15:44:47.708311Z"},{"id":"GHSA-h86g-x8mm-78m5","title":"GeoServer Missing Authorization on REST API Index","description":"### Summary\nIt is possible to bypass the default REST API security and access the index page.\n\n### Details\nThe REST API security handles `rest` and its subpaths but not `rest` with an extension (e.g., `rest.html`).\n\n### Impact\nThe REST API index can disclose whether certain extensions are installed.\n\n### Workaround\nIn `${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.\n\n### References\nhttps://osgeo-org.atlassian.net/browse/GEOS-11664  \nhttps://osgeo-org.atlassian.net/browse/GEOS-11776  \nhttps://github.com/geoserver/geoserver/pull/8170","status":"published","published":"2025-06-10T19:16:18Z","modified":"2025-06-10T19:57:14.859484Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T15:46:48.920784Z"}]}}
