๐Ÿ” CVE Alert

CVE-2026-71284

HIGH 7.2

Fledge IoT Gateway Backup Restore OS Command Injection via Tar Member Filename

CVSS Score
7.2
EPSS Score
0.0%
EPSS Percentile
0th

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: `cmd = "cp {} {}".format(source, backup_path); ret_code = os.system(cmd)`. The only pre-check on the filename is a prefix/suffix match (startswith(backup_prefix), endswith(valid_extensions)), which a name such as `fledge_backup_$(id>/tmp/pwn).db` satisfies while still injecting a shell command substitution. 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.

CWE CWE-78
Vendor fledge-iot
Product fledge
Published Aug 5, 2026
Stay Ahead of the Next One

Get instant alerts for fledge-iot fledge

Be the first to know when new high vulnerabilities affecting fledge-iot fledge are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

fledge-iot / fledge
0 โ‰ค 3.1.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/fledge-iot/fledge github.com: https://github.com/fledge-iot/fledge/blob/main/python/fledge/services/core/api/backup_restore.py

Credits

Alibek Baxtiyorov