# CVE-2026-39921: GeoNode SSRF in document upload via doc_url parameter

Source: https://junglewise.ai/threats/cve-2026-39921-geonode-ssrf-in-document-upload-via-doc-url-parameter  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-10. Updated: 2026-07-14  
License: CC BY 4.0 with a link back

CVE-2026-39921 · Severity: medium · CVSS 6.3 · Published 2026-04-10

GeoNode, an open-source platform for sharing geospatial data, is vulnerable to a security flaw where authenticated users can force the server to make unauthorized requests to internal systems. By providing a malicious web address during the document upload process, an attacker could potentially access sensitive internal network resources or cloud metadata that are not intended to be public. This could lead to information disclosure or further attacks against the organization's internal infrastructure.

Technologies: [geonode (PyPI)](https://junglewise.ai/threats/technologies/pypi-geonode). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-39921 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-39921 being exploited in the wild.

**How severe is CVE-2026-39921?** Medium severity, with a CVSS score of 6.3, published 10 April 2026.

**Which products and versions are affected?** geonode (PyPI) ECOSYSTEM:introduced=4.0.0,fixed=4.4.5,introduced=5.0.0,fixed=5.0.2.

**Is there a fix for CVE-2026-39921?** Yes. geonode (PyPI): upgrade to 5.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-39921 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-39921?** Check whether you run geonode (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- geonode (PyPI): upgrade to 5.0.2 or later

  ```sh
  pip install "geonode>=5.0.2"
  ```


## Technical details

A Server-Side Request Forgery (SSRF) vulnerability exists in GeoNode's document upload functionality. The flaw is located in the handling of the 'doc_url' parameter, which lacks sufficient validation for private IP ranges, loopback addresses, or redirect targets. An authenticated attacker with document upload privileges can provide a malicious URL that forces the server to perform GET requests against internal RFC1918 addresses or cloud provider metadata endpoints (e.g., 169.254.169.254). The fix involves disabling automatic thumbnail generation for remote documents and improving URL validation. Patches are available in versions 4.4.5 and 5.0.2.

## Affected products

- GeoNode GeoNode 4.0.0 to 4.4.4, 5.0.0 to 5.0.1

## Identifiers

- CVE-2026-39921
- PYSEC-2026-2159

## Timeline

- 2026-03-18: patched: Fix merged into master branch
- 2026-03-27: advisory: Release 4.4.5 published
- 2026-03-31: advisory: Release 5.0.2 published
- 2026-04-10: disclosed: CVE published and VulnCheck advisory released

## References

- [https://github.com/GeoNode/geonode/commit/4a852cfc1da732b10779b5bf5f087c8f02985571](https://github.com/GeoNode/geonode/commit/4a852cfc1da732b10779b5bf5f087c8f02985571)
- [https://github.com/GeoNode/geonode/commit/9856cb5ab27e33c0adba9274f4cccf6d1f534bd1](https://github.com/GeoNode/geonode/commit/9856cb5ab27e33c0adba9274f4cccf6d1f534bd1)
- [https://github.com/GeoNode/geonode/pull/14058](https://github.com/GeoNode/geonode/pull/14058)
- [https://github.com/GeoNode/geonode/releases/tag/4.4.5](https://github.com/GeoNode/geonode/releases/tag/4.4.5)
- [https://github.com/GeoNode/geonode/releases/tag/5.0.2](https://github.com/GeoNode/geonode/releases/tag/5.0.2)
- [https://www.vulncheck.com/advisories/geonode-ssrf-via-document-upload](https://www.vulncheck.com/advisories/geonode-ssrf-via-document-upload)

## Related threats

- [GeoNode stored XSS in documents metadata abstract field](https://junglewise.ai/threats/cve-2026-55649-geonode-has-stored-xss-in-documents-metadata-abstract-field)
- [GeoNode unrestricted file upload in upload service](https://junglewise.ai/threats/cve-2026-46429-geonode-has-unrestricted-file-upload)
- [GeoNode OS command injection in uploaded file layer name](https://junglewise.ai/threats/cve-2026-33050-geonode-has-os-command-injection-via-uploaded-file-layer-name)
- [GeoNode stored XSS in rich text editor](https://junglewise.ai/threats/cve-2024-27091-geonode-stored-xss-in-rich-text-editor)
- [GeoNode SSRF in service registration endpoint](https://junglewise.ai/threats/cve-2026-39922-geonode-ssrf-in-service-registration-endpoint)
