/

CVE-2026-33050

Severity:

HIGH RISK

(8.8)

OS Command Injection (CWE-78) in GeoNode File Uploads

CVE-2026-33050

Awaiting Analysis

Vulnerability type

Category:

OS Command Injection

CWE:

CWE-78

Impact:

Remote Code Execution

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

GeoNode is vulnerable to operating-system command injection when a crafted vector file layer name is processed during upload. A low-privileged remote user may be able to execute arbitrary commands on the server if the supplied name reaches a shell command without safe handling.

Affected context

The issue occurs in GeoNode's vector file upload workflow, where a layer name supplied by a user is processed on the server. Deployments may be at risk when that name is incorporated into shell syntax without safe argument handling or strict validation. The vulnerability affects GeoNode versions before 5.1.0.

Exploit preconditions

  • Attack surface: Remote vector file upload functionality
  • Required access: A low-privileged account able to submit uploads
  • Trigger point: Server-side processing of the uploaded vector layer name
  • Why exploitation is possible: User-controlled name data can be interpreted as shell syntax when passed to operating-system commands

Why this happens

The underlying issue is a failure to safely handle untrusted input at a shell command boundary. When user-controlled data is combined with a command in a way that allows shell interpretation, special syntax can alter the intended command execution. This maps to CWE-78: Improper Neutralization of Special Elements used in an OS Command.

Potential impact

  • An attacker may execute arbitrary operating-system commands in the GeoNode server's security context.
  • The attacker could access or modify data available to the application.
  • The server may be used to disrupt services or establish further access, depending on its permissions and environment.

General mitigation guidance

Mitigation patterns focus on preventing user-controlled values from being interpreted by a shell.

  • Prefer APIs that invoke programs directly with separate, structured arguments rather than constructing shell commands.
  • Treat uploaded filenames and layer names as untrusted; validate them against a narrow, documented format.
  • Avoid relying on character filtering as the sole protection when passing data across command boundaries.
  • Run application processes with only the permissions they need, and limit their access to sensitive files and services.
  • Apply consistent validation and security checks to upload workflows and related processing paths.

How teams detect issues like this

  • Use static analysis to identify shell invocation APIs and command strings that include user-controlled values.
  • Review upload and vector-processing code for layer names or filenames flowing into operating-system commands.
  • Enforce policies that prohibit shell-based command construction where direct process APIs are available.
  • Monitor upload processing for unexpected command failures or unusual child-process activity.

Sources

SourceLink
github.comgithub.com/GeoNode/geonode/commit/1408290c0bb54872924a9b334a516db9758a2180
github.comgithub.com/GeoNode/geonode/releases/tag/5.1.0
github.comgithub.com/GeoNode/geonode/security/advisories/GHSA-9fpx-fr6j-2vh6

Frequently asked

questions

Yes. The described attack surface is remote file upload, though the attacker needs a low-privileged account able to submit an upload.

The attacker must be able to upload a vector file and supply a layer name that is processed by the vulnerable workflow.

Avoid passing user-controlled data through a shell. Use structured process APIs with separate arguments, alongside strict input validation.

Review command execution paths for untrusted input, use static analysis and code review checks, and run application services with least privilege.

Find out what's already
exploitable in your codebase.