A path traversal vulnerability exists in PyTorch Lightning version 2.3.2 on Windows hosts at the /api/v1/upload_file/ endpoint. This flaw allows attackers to write or overwrite arbitrary files by supplying crafted filenames, potentially leading to remote code execution by modifying critical or sensitive files. The issue is fixed in version 2.4.0.