WaratekVRT Sign in

CVE-2021-40822 GeoServer

Affected softwareGeoServer
Severity7.5 High CVSS 3.1 2 scores
WeaknessServer-side request forgery (CWE-918)
Published2 May 2022
Updated13 Nov 2026

Description

GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows SSRF via the option for setting a proxy host.

Exploitation status

Exploited

Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.

  • CISA KEV not listed
  • VulnCheck KEV listed Exploitation reported in the wild. Honeypot sightings · 1 exploit · earliest 2024-01-22.
  • CISA Vulnrichment no assessment published
  • Indexed PoC 2 indexed Published artifacts you can open, in GitHub PoC, Nuclei; first seen 2022-05-17.
  • EPSS 19% chance in 30 days A model's forecast, not a report of exploitation. Higher than 97% of all scored CVEs.

VulnCheck KEV

Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2021-40822 in VulnCheck (free account).

EvidenceSourceDetailDate
Honeypot sighting Shadowserver honeypots Exploitation attempts seen on 341 days 2024-01-22 to 2026-11-09
Exploit reference VulnCheck XDB 7f7982a1c5d2 Exploit type: initial-access 2022-05-17

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC PoC and Dockerized vulnerable lab for CVE-2021-40822 (SSRF in GeoServer) 2 2022-05-17
Nuclei Geoserver - Server-Side Request Forgery

Waratek protection

Rule in development

Waratek is working on a rule for this CVE. No rule is available yet, and it isn't certain the rule will work.

Current target: Q2 2027 (may change)

  • Protection none
  • Action in development patch rule; current target Q2 2027, may change
  • Review human Researcher
  • Record active
Decided by A researcher's recorded decision for this specific CVE
Finding A researcher set this CVE's status to Rule in development, naming the ARMR SSRF rule (in development).

Waratek research note

written 2026-11-13

Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.

Comments

Rule Name: SSRF rule (in development)

Unauthenticated SSRF in GeoServer's TestWfsPost demo servlet: it fetches the address in the url request parameter and returns the response. An SSRF rule in development is meant to block an outbound request to an address taken from request parameters. Nothing blocks this CVE until that rule ships.

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N NVD Primary published
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.geoserver:gs-main 0 none 2.18.5
org.geoserver:gs-main 2.19.0 none 2.19.2

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
osv org.geoserver gs-main generic ≤ 2.18.5 · ≥ 2.19.0 and ≤ 2.19.2
nvd osgeo geoserver generic ≤ 2.18.5 · ≥ 2.19.0 and < 2.19.3

References

URLTags
https://github.com/geoserver/geoserver PACKAGE
https://github.com/geoserver/geoserver/compare/2.19.2...2.19.3 WEB
https://github.com/geoserver/geoserver/releases WEB
https://osgeo-org.atlassian.net/browse/GEOS-10229 WEB
https://osgeo-org.atlassian.net/browse/GEOS-10229?focusedCommentId=83508 WEB

Timeline

Published2022-05-02By the CVE Program.
VulnCheck KEV: earliest evidence2024-01-22Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
NVD record modified2026-06-17NVD's own last-modified date for this record.
VulnCheck KEV: latest evidence2026-11-09Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record.
Classification created2026-11-13First commit adding this CVE's research note.
Last VRT activity2026-11-13Most recent commit touching this CVE's classification, patch or rule file.