Skip to content

fix: Fix security vuln with file upload - #2067

Merged
sarahwooders merged 5 commits into
mainfrom
matt-fix-security-file
Nov 20, 2024
Merged

sarahwooders merged 5 commits into
mainfrom
matt-fix-security-file

Conversation

@mattzh72

Copy link
Copy Markdown
Contributor

Description

We now run some file sanitization on the file name when uploading a file. This prevents users from maliciously overriding files on server.

Test

Rely on existing file upload unit tests to make sure functionality is not broken. Also, write a suite of comprehensive unit tests for the file sanitization function.

@sarahwooders
sarahwooders merged commit 746efc4 into main Nov 20, 2024
@sarahwooders
sarahwooders deleted the matt-fix-security-file branch January 29, 2025 17:26
carenthomas added a commit that referenced this pull request May 8, 2025
carenthomas added a commit that referenced this pull request Sep 15, 2025
carenthomas added a commit that referenced this pull request Oct 7, 2025
huangyingting pushed a commit to repomesh/letta that referenced this pull request May 17, 2026
huangyingting pushed a commit to repomesh/letta that referenced this pull request May 17, 2026

This branch was previously deployed

1 inactive deployment
Deployment — 116e1edc Deployed Nov 20, 2024 by mattzh72
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