CVE-2021-40822
GeoServer allows SSRF via the option for setting a proxy host
GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows SSRF via the option for setting a proxy host.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows SSRF via the option for setting a proxy host.
- Record
CVE-2021-40822- 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 - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-918
- Updated
- 2026-11-02
CVE List No score
GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows SSRF via the option for setting a proxy host.
- Record
CVE-2021-40822- Updated
- 2026-11-02
EUVDEUVD-2022-5222 No score
GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows SSRF via the option for setting a proxy host.
- Record
EUVD-2022-5222- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rr33-j5p5-ppf8
7.5
GeoServer allows SSRF via the option for setting a proxy host
GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows SSRF via the option for setting a proxy host.
- Record
GHSA-rr33-j5p5-ppf8- 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 - Weakness
- CWE-918
- Updated
- 2026-11-02
OSV
7.5
GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows SSRF via the option for setting a proxy host.
- Record
CVE-2021-40822- 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 - Updated
- 2026-11-02
OSVGHSA-rr33-j5p5-ppf8
7.5
GeoServer allows SSRF via the option for setting a proxy host
GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows SSRF via the option for setting a proxy host.
- Record
GHSA-rr33-j5p5-ppf8- 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 - Weakness
- CWE-918
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.geoserver:gs-mainMaven |
through 2.18.5 | None known |
org.geoserver:gs-mainMaven |
2.19.0 to 2.19.2 | None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Nuclei | Geoserver - Server-Side Request Forgery | |
| PoC in GitHub | phor3nsic/CVE-2021-40822 | 2022-05-17 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, Nuclei, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-40822 is a high vulnerability (CVSS 7.5) in Osgeo Geoserver, published May 1, 2022. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 19.3%, the 97th percentile. No source names a fixed version.
References
github.com/geoserver/geoserver/releases
osgeo-org.atlassian.net/browse/GEOS-10229
github.com/geoserver/geoserver/compare/2.19.2...2.19.3
osgeo-org.atlassian.net/browse/GEOS-10229?focusedCommentId=83508
nvd.nist.gov/vuln/detail/CVE-2021-40822
github.com/advisories/GHSA-rr33-j5p5-ppf8
github.com/geoserver/geoserver