Tainted flow: 'dest_path' from os.getenv (line 101, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
dest_path = MEDIA_ROOT / filename try: with open(dest_path, 'wb') as f: # Read in chunks to handle large files while True: chunk = file_item.file.read(8192)- Confidence
- 92% confidence
- Finding
- with open(dest_path, 'wb') as f:
