


Perceptive Security
SOC/SIEM Consultancy

Fledge's backup-restore upload handler, upload_backup() (python/fledge/services/core/api/backup_restore.py), takes the first extracted tar member's filename (ta…
Published:
4 August 2026 at 22:00:00
Alert date:
5 August 2026 at 14:10:56
Source:
nvd.nist.gov
Mobile & IoT, Critical Infrastructure, Zero-Day Vulnerabilities
CVE-2026-71284 describes an OS command injection vulnerability in the Fledge IoT data platform's backup-restore upload handler (upload_backup() in backup_restore.py). The vulnerable code constructs a shell command using Python string formatting with an unsanitized tar archive member filename, then executes it via os.system(). The only validation applied is a prefix and suffix check on the filename, which can be trivially bypassed using shell command substitution syntax (e.g., fledge_backup_$(id>/tmp/pwn).db). Since os.system() invokes a shell interpreter and no proper quoting (shlex.quote or list-form subprocess) is used, a malicious admin or attacker with upload privileges can achieve arbitrary OS command execution on the host. The vulnerability is classified as high severity due to its potential for full system compromise. Remediation requires replacing os.system() with safe subprocess calls using list arguments and applying shlex.quote or equivalent sanitization to filenames.
Technical details
Mitigation steps:
Affected products:
Fledge IoT
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-71284
https://github.com/fledge-iot/fledge
https://github.com/fledge-iot/fledge/blob/main/python/fledge/services/core/api/backup_restore.py
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
