Skip to content

Prevent user to create/delete folder/files anywhere#3717

Draft
kouz75 wants to merge 2 commits intobolt:6.1from
shirkalab:traversal
Draft

Prevent user to create/delete folder/files anywhere#3717
kouz75 wants to merge 2 commits intobolt:6.1from
shirkalab:traversal

Conversation

@kouz75
Copy link
Copy Markdown
Contributor

@kouz75 kouz75 commented May 7, 2026

An authenticated user with managefiles permission could supply a path parameter (e.g.
/../../src) to delete a directories anywhere on the filesystem that the web process can write to.

  • Replace Path::canonicalize() with the project's own PathCanonicalize::canonicalize() in the delete() and create() methods of FilemanagerController

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant