An attacker can bypass the sandboxing of Nasal scripts and arbitrarily write to any file path that the user has permission to modify at the operating-system level.
Upgrade to FlightGear version 2020.3.20 or 2024.1.1.