fix: reject ZIP entries with path traversal sequences (Closes #168) #181

Merged
shahondin1624 merged 1 commits from feature/issue-168-zip-path-traversal-validation into main 2026-04-10 16:20:41 +02:00
Owner

Summary

  • Adds explicit path traversal validation in BundleImportService::extractCsvFiles()
  • Rejects ZIP entries containing .., or starting with / or \
  • Logs warning for each rejected entry

Test plan

  • All 1012 tests pass
  • Path traversal entries are rejected and logged

Closes #168

## Summary - Adds explicit path traversal validation in `BundleImportService::extractCsvFiles()` - Rejects ZIP entries containing `..`, or starting with `/` or `\` - Logs warning for each rejected entry ## Test plan - [x] All 1012 tests pass - [x] Path traversal entries are rejected and logged Closes #168
shahondin1624 added 1 commit 2026-04-10 16:20:36 +02:00
BundleImportService.extractCsvFiles() now skips entries containing
'..', absolute paths starting with '/' or '\'. Logs a warning for
each rejected entry.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
shahondin1624 merged commit 9968f8c58e into main 2026-04-10 16:20:41 +02:00
shahondin1624 deleted branch feature/issue-168-zip-path-traversal-validation 2026-04-10 16:20:41 +02:00
Sign in to join this conversation.