Description
facefusion through 3.6.1 fails to normalize job identifiers in get_job_file_name, allowing attackers to write files outside the jobs directory. Attackers can supply traversal sequences in the job identifier parameter through the unauthenticated HTTP API to create files at arbitrary locations.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| facefusion | facefusion | < 3.7.0 | 3.7.0 |
References
- https://github.com/facefusion/facefusion product
- https://github.com/geo-chen/oss/blob/main/facefusion.md technical-description
- https://github.com/facefusion/facefusion/blob/3.6.1/facefusion/jobs/job_manager.py technical-description
- Patch Commit patch
- facefusion 3.7.0 Release Notes release-notes
- VulnCheck Advisory: facefusion before 3.7.0 Path Traversal via Job Identifier third-party-advisory