Skip to content

Security: Path Traversal via SQLite table names #311

Description

@imfht

CWE-22: scripts/file_helper.py uses SQLite table names from sqlite_master directly in open() paths (lines 40, 57). A malicious .db file with table named ../../tmp/evil writes files outside the output directory. Fix: sanitize table names with os.path.basename().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions