-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(core): Restrict read/write file paths access #6582
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1c3e435
:zap: fix
michael-radency 51e2ab0
Merge branch 'master' of https://github.com/n8n-io/n8n into n8n-6490-…
michael-radency 354ac8f
:zap: clean up, allowed paths notice
michael-radency 5e0c57e
Merge branch 'master' of https://github.com/n8n-io/n8n into n8n-6490-…
michael-radency 7e665e5
:zap: resolve relative paths
michael-radency 00a2246
:zap: added schema entries
michael-radency 0c70615
Fix user n8n folder to work on windows
maspio d1adab5
removed ReadBinaryFiles throwing an error if no files
maspio feddafb
Merge branch 'master' of https://github.com/n8n-io/n8n into n8n-6490-…
michael-radency 3f9270e
Merge branch 'master' of https://github.com/n8n-io/n8n into n8n-6490-…
michael-radency ad8647a
Merge branch 'master' of https://github.com/n8n-io/n8n into n8n-6490-…
michael-radency 033d28d
:zap: based on https://github.com/n8n-io/n8n/commit/351670fbaffa844e8…
michael-radency 03a9852
:zap: clean up
michael-radency a56a4af
Merge branch 'master' of https://github.com/n8n-io/n8n into n8n-6490-…
michael-radency 58780c0
respect BLOCK_FILE_ACCESS_TO_N8N_FILES to disable blocking .n8n access
maspio 05c925e
improve BLOCK_FILE_ACCESS_TO_N8N_FILES to check after N8N_RESTRICT_FI…
maspio 2cbde3e
fix typo
maspio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should not be optional. we should always block access to
.n8n
folderThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do agree regarding
.n8n
folder and we should add this toNodeExecuteFunctions
as in proposed changes commit, but as stated in specs it also forbid access to some user defined config/templates files, and this part, I think, should be optional.