A command injection issue exists in the GlobalProtect feature of Palo Alto Networks PAN-OS software. The flaw arises from arbitrary file creation via path traversal in the `SESSID` cookie, allowing an unauthenticated remote attacker to write to the `/opt/panlogs/tmp/device telemetry/` directory. This is further exploited through a command injection in the `pansys.py` library, which uses the `subprocess.Popen()` function to execute `curl` commands for telemetry via cron. Successful exploitation allows the attacker to execute arbitrary code with root privileges on the firewall. Real-world exploitation has been observed in targeted attacks known as Operation MidnightEclipse (UTA0218), where attackers deployed a Python-based backdoor named UPSTYLE, stole configuration data, and performed lateral movement using SMB and WinRM. It is estimated that between 40,000 and 133,000 devices worldwide may be affected. Cloud NGFW, Panorama appliances, and Prisma Access are not impacted.