Context-Inappropriate Capability
Medium
- Confidence
- 98% confidence
- Finding
- The delete flow combines a user-controlled output directory with a user-controlled reference ID and passes the joined path to shutil.rmtree without constraining it to an expected base directory. An attacker can supply values such as a crafted ref_id or alternate output root to delete arbitrary directories accessible to the process, causing destructive data loss.
