Back to Blog
VulnerabilitiesGeoServerCISA KEVPatchingWeb Security

GeoServer flaws are being exploited: upgrade, then check for stored queries nobody made

November 28, 2026
Assertive Infosec Team
Share

If your organisation runs GeoServer, or a supplier runs it for you, check today that it's on a fixed release. On 27 November CISA added two GeoServer flaws to its Known Exploited Vulnerabilities catalogue, which means it has evidence they're being exploited. Both can be used without logging in, and they're part of a chain that ends in code execution on the server.

GeoServer is the open-source server that publishes maps and geographic data over the web. It's not something most small businesses run themselves, but it's common with surveyors, engineering and environmental consultancies, utilities, and suppliers to councils. It also tends to be the kind of server that someone set up for one project years ago and nobody has touched since.

The fixes have been out since 19 October. The details became public on 23 and 24 November, and CISA added the flaws to its catalogue three days later.

What the flaws are

CISA added these two:

  • CVE-2026-120705: XML injection in the WFS 2.0 GetFeatureById stored query. GeoServer's advisory says a single unauthenticated request can read a local text file from the server or make it fetch a URL of the attacker's choosing, and the result comes back in the error message. GeoServer says the contents are only returned when a layer is published to anonymous users; otherwise the file is still read but not sent back. It's rated High, CVSS 8.6.
  • CVE-2026-129243: an authorisation bypass. A service name with a prefix, such as x/WFS, is treated as WFS when the request runs, but the security check looks at the unmodified name. GeoServer's advisory says an unauthenticated user can call any operation that is protected only by service security rules. In the default configuration that includes creating and deleting WFS stored queries. It's rated High, CVSS 4.0 score 8.8.

Neither is the end of the story on its own. GeoServer's November security update describes a five-step chain to remote code execution, and both flaws are in it. The other steps include a deserialisation flaw that gives an administrator code execution, and a predictable remember-me key that lets an attacker forge an administrator session (CVE-2026-129245, rated Critical, CVSS 4.0 score 9.2). GeoServer says the data directory ships with the key geoserver, "which most installations never change".

Eye Security, one of the teams that reported the issues, published a shorter version of the chain on 24 November. It reads the user configuration through the XML injection, forges an admin login with the predictable key, then runs code through SQLite JDBC extension loading. Eye says it works without authentication on the default configuration, and that it found over 3,000 GeoServer instances reachable from the internet.

CISA hasn't said who is exploiting them, and there are no public indicators of compromise yet.

Which versions are affected

The fixed releases are GeoServer 3.0.2, 2.28.6 and 2.27.7. Anything older in those series is affected, including 3.0.0 to 3.0.1, 2.28.0 to 2.28.5, and 2.27.6 and earlier.

Eye notes that the 2.27.x series isn't officially supported any more, even though a fix exists. If you're on anything older than 2.27, you need to upgrade to a supported release.

You can check your version on the "About GeoServer" page, under Build Information.

If you can't upgrade today

GeoServer's advisories give these interim measures:

  • Restrict or disable WFS for anonymous users using service security, or switch WFS off if you don't need it.
  • Block requests whose service parameter contains a / at a proxy in front of GeoServer.
  • Remove rememberme from the web filter chain (Security › Authentication), or change the key in security/config.xml to a long random value and protect the data directory from disclosure.

GeoServer also says to look in the data directory's wfs/query and workspaces/*/wfs/query folders for stored queries you didn't create, and to change administrator passwords if you suspect exposure.

These reduce the risk but they don't replace the upgrade.

What to do now

  1. Find out whether you run it. Ask whoever manages your mapping, GIS or survey data. If a supplier hosts a map portal for you, ask them in writing which GeoServer version it runs.
  2. Upgrade to 3.0.2, 2.28.6 or 2.27.7, or a later release.
  3. If you can't upgrade straight away, apply the interim measures above.
  4. Check for stored queries nobody created, and change admin passwords if you suspect exposure, as GeoServer recommends. After the upgrade GeoServer uses a random remember-me key on each node and invalidates existing remember-me cookies.
  5. Look for signs of compromise. No indicators have been published. As a starting point, review the server's access logs since mid-November for WFS requests with unusual service values or long XML in the ID parameter, check for admin logins nobody recognises, and look for new files or JDBC data stores. If anything looks wrong, treat the server as compromised and rotate any credentials it holds.
  6. Ask whether it needs to be on the internet at all. If only staff use it, put it behind your VPN.

Frequently asked questions

Which GeoServer versions fix the exploited flaws?

GeoServer 3.0.2, 2.28.6 and 2.27.7. The 2.27.x series isn't officially supported any more, according to Eye Security.

Are the GeoServer flaws being exploited?

CISA added CVE-2026-120705 and CVE-2026-129243 to its Known Exploited Vulnerabilities catalogue on 27 November. It hasn't published details of the attacks.

Do attackers need a login?

No. Both flaws CISA added can be used without authentication, and Eye Security says its chain to code execution works without authentication on the default configuration.

What if we can't upgrade straight away?

GeoServer says to restrict or disable WFS for anonymous users, or turn WFS off, to block requests whose service parameter contains a / at a proxy, and to remove remember-me from the web filter chain or set a long random key. It also recommends checking for stored queries you didn't create.

Technical References

Share

Ready to Secure Your Business?

Get a free security assessment from our experts.

Contact Us Today