CyberRota Analysis
AI-GeneratedThe backup-restore upload handler in Fledge is vulnerable to arbitrary OS command execution due to insufficient validation of filenames extracted from tar archives. An attacker can exploit this flaw by crafting a malicious backup file, allowing them to execute arbitrary commands on the server. Organizations using Fledge should prioritize patching this vulnerability to mitigate the risk of unauthorized command execution and potential system compromise.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Fledge's backup-restore upload handler, upload_backup (python/fledge/services/core/api/backup_restore.py), takes the first extracted tar member's filename (tar_file_names[0]) and builds a shell command via string formatting. Because os.system invokes a shell and no quoting (shlex.quote, list-form subprocess) is applied, an admin uploading a crafted backup archive achieves arbitrary OS command execution.