NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
HIGH severity

CVE-2021-40822 — gs-main

HIGH

CVE-2021-40822 is a high-severity (CVSS 7.5) Server-Side Request Forgery (SSRF) vulnerability in org.geoserver:gs-main. EPSS puts its 30-day exploitation probability at 19.3% (97th percentile). The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.

GeoServer allows SSRF via the option for setting a proxy host

Also known asGHSA-rr33-j5p5-ppf8
Published
Updated
Affected
2 pkgs
Patched
See advisory
Exploits
None indexed
Exploitation data as of Nov 4, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
19.3%probability of exploitation in next 30 days
Moderate Risk0.00%
Lower risk than most CVEs97th percentile — riskier than 97% of all scored CVEsHighest risk
0.00%33.3%66.7%100.0%93.3%19.3%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected
☕org.geoserver:gs-main☕org.geoserver:gs-main

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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

Affected Packages

2 total
EcosystemPackageVulnerable rangeFix
☕Mavenorg.geoserver:gs-mainall versionsNo fix
☕Mavenorg.geoserver:gs-main≥ 2.19.0No fix

Affected Products

1 product · 2 configurations
Application
geoserverosgeo
≥ 2.19.0 && ≤ 2.18.5
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.geoserver:gs-main, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Remediation status

    The records we use list no patched version of org.geoserver:gs-main for CVE-2021-40822. Check the maintainer's advisory, and where your build allows, override or pin the dependency away from the vulnerable range.

  3. Mitigate without a patch

    Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.

How to detect CVE-2021-40822

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id cve-2021-40822 -u https://target
Template
Geoserver - Server-Side Request Forgery
Severity
high
Impact
Successful exploitation of this vulnerability can lead to unauthorized access to internal resources, data leakage, and potential remote code execution.
Remediation
Apply the latest security patches or updates provided by the Geoserver project to mitigate the SSRF vulnerability.

Template by ProjectDiscovery nuclei-templates (For3stCo1d, aringo-bf), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked Questions

GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows SSRF via the option for setting a proxy host.
O3 Security · Impact-Aware SCA

Is CVE-2021-40822 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2021-40822: gs-main SSRF (High 7.5)