Skip to content

Path traversal in SummaryController allows reading arbitrary .ttl files outside the summaries directory #219

Description

@Michiel-VandeVelde

The datasource name comes directly from the request path and can contain ../, allowing path.join to escape the configured summaries directory and serve arbitrary .ttl files. Resolve the path and reject traversal before opening it.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions