Skip to content
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 Path Traversal issue #9

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Fix Path Traversal issue #9

merged 1 commit into from
Nov 12, 2024

Conversation

jxfzzzt
Copy link
Contributor

@jxfzzzt jxfzzzt commented Jul 28, 2024

Hello, i find a issue in src/libre_chat/router.py, there may be a path Traversal vulnerability in method upload_documents.
if the filename of a uploaded in files be /../../../../../../../test.txt (e.g., modified by Burp), it may lead to a vulnerability that allows arbitrary file writes.

@jxfzzzt
Copy link
Contributor Author

jxfzzzt commented Nov 5, 2024

@vemonet

@vemonet
Copy link
Owner

vemonet commented Nov 12, 2024

Thanks @jxfzzzt sorry I did not noticed your PR

@vemonet vemonet merged commit dbb8e34 into vemonet:main Nov 12, 2024
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.

2 participants