Improper Preservation of Permissions
An issue was discovered in Mattermost Server before 5.18.0. It has weak permissions for server-local file storage.
CWE-281 - Improper Preservation of Permissions
The software does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended.