Skip to content

Path traversal attacks

Moderate
aymanbagabas published GHSA-j4jw-m6xr-fv6c Jan 8, 2025

Package

gomod github.com/charmbracelet/soft-serve (Go)

Affected versions

< 0.8.2

Patched versions

0.8.2

Description

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.

Severity

Moderate

CVE ID

CVE-2025-22130

Weaknesses

No CWEs