All rules →
Rules / Dart
SHIELD-DART-010

Path traversal via unsanitized file path

highDartCWE-22CVSS 7.5

What it detects

Building a File from request-derived input allows reading or writing files outside the intended directory.

How to fix

Canonicalize the path and verify it stays within an allowed base directory.

Scan your repo freeFull documentation
Back to all rules
SHIELD-DART-010: Path traversal via unsanitized file path — Zennoxa Shield