Soft Serve vulnerable to path traversal attacks
Moderate severity
GitHub Reviewed
Published
Jan 8, 2025
in
charmbracelet/soft-serve
•
Updated Jan 8, 2025
Description
Published to the GitHub Advisory Database
Jan 8, 2025
Reviewed
Jan 8, 2025
Published by the National Vulnerability Database
Jan 8, 2025
Last updated
Jan 8, 2025
Impact
Path traversal attack gives access to existing non-admin users to access and take over other user's repositories. A malicious user then can modify, delete, and arbitrarily repositories as if they were an admin user without explicitly giving them permissions.
Patches
This is patched in v0.8.2
Workarounds
Single user set-ups are not affected. This only affects multi-user Soft Serve set-ups that enable repository creation for users. Otherwise, upgrading is necessary to circumvent the attack.
References