| | 213 | === Symlink traversal and symlink-following within trusted storage locations === |
| | 214 | |
| | 215 | Hello, |
| | 216 | |
| | 217 | Thank you for your report. |
| | 218 | |
| | 219 | After review, we do not consider this a security vulnerability. |
| | 220 | |
| | 221 | Django assumes configured storage locations and their contents are trusted. Symlinks within those locations are a valid deployment configuration and may legitimately be used by system administrators, so Django intentionally supports following them. The scenarios you describe require an attacker to already be able to create or modify filesystem objects within that storage. Because this falls outside Django's assumptions about configured storage locations, we do not consider this a security issue. |
| | 222 | |
| | 223 | Thanks for taking the time to submit it through the appropriate channel. |
| | 224 | |
| | 225 | Kind regards, the Django Security Team. |
| | 226 | |