---
id: "CVE-2026-33050"
page: "https://infrastack.ai/live/CVE-2026-33050"
kind: "vulnerability"
aliases: ["CVE-2026-33050", "GHSA-9fpx-fr6j-2vh6"]
title: "GeoNode has OS command injection via uploaded file layer name"
severity: "high"
cvss: 8.8
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "GeoNode", "fixed": ["5.1.0"], "affected": "< 5.1.0", "ecosystem": "pypi"}]
ecosystems: ["pypi"]
tags: ["cwe-78", "geonode", "gis", "package", "python", "self-hosted"]
not_affected_if: ["no-layer-uploads", "version-5.1.0-or-later"]
published_at: "2026-11-06T19:39:38+00:00"
first_seen_at: "2026-11-06T19:43:23+00:00"
updated_at: "2026-11-06T20:43:59+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-9fpx-fr6j-2vh6", "first_seen_at": "2026-11-06T19:43:23+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-33050", "first_seen_at": "2026-11-06T20:43:59+00:00"}]
exploit_sources: []
---

# GeoNode has OS command injection via uploaded file layer name

Link for people: https://infrastack.ai/live/CVE-2026-33050 (this .md is for agents)

GeoNode fails to sanitize the layer name of an uploaded vector file, so a crafted name is passed to an operating system command. An attacker who can upload a file can run arbitrary commands on the GeoNode server.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- pypi:GeoNode affected < 5.1.0 fixed 5.1.0

## How to check

- Check the installed GeoNode version with `pip show GeoNode` or `pip show geonode`; affected if below `5.1.0`
- Check whether the instance accepts vector file uploads for layers (unknown whether this is restricted by default)

## Fix

- GeoNode: move to `5.1.0` or later

## Timeline

- 2026-11-06T19:43:23+00:00 ghsa https://github.com/advisories/GHSA-9fpx-fr6j-2vh6
- 2026-11-06T20:43:59+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-33050

## Documents

- [advisory] Maintainer's advisory: api.github.com https://api.github.com/repos/GeoNode/geonode/security-advisories/GHSA-9fpx-fr6j-2vh6
- [advisory] Maintainer's advisory: github.com https://github.com/GeoNode/geonode/security/advisories/GHSA-9fpx-fr6j-2vh6
- [fix] Patch: github.com https://github.com/GeoNode/geonode/commit/1408290c0bb54872924a9b334a516db9758a2180
- [fix] Release notes: github.com https://github.com/GeoNode/geonode/releases/tag/5.1.0

## From the sources

GeoNode is a geospatial content management system, a platform for the management and publication of geospatial data. Prior to 5.1.0, a crafted vector file layer name supplied during upload allows a low-privileged remote user to inject shell syntax and execute arbitrary operating-system commands on the GeoNode server. This issue is fixed in version 5.1.0.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
