Skip to main content

Improper Neutralization of Special Elements used in a Command ('Command Injection')

CVE-2025-50817

Severity High
Score 8.6/10

Summary

A vulnerability in the Python-Future module allows for Arbitrary Code Execution via the unintended import of a file named "test.py". When the module is loaded, it automatically imports "test.py" if present in the same directory or in the "sys.path". This behavior can be exploited by an attacker who has the ability to write files to the server, allowing the execution of arbitrary code.

  • LOW
  • NETWORK
  • LOW
  • UNCHANGED
  • REQUIRED
  • NONE
  • LOW
  • NONE

CWE-77 - Command Injection

A command injection attack involves injecting an operating system command through the data input, which gets executed on the host operating system with the privileges of the victimized application. The impact of a command injection attack may range from loss of data confidentiality and integrity to unauthorized remote access to the hosting system. The attack may cause serious data breaches and system takeover.

Advisory Timeline

  • Published