CVE-2025-22130 Soft Serve allows path traversal attacks

Medium 5.3 Published Updated

Attackers can exploit path traversal to access and modify other users' repositories, effectively gaining admin privileges without authorization.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-22130?

CVE-2025-22130 is a medium-severity path traversal vulnerability in charmbracelet soft-serve, published on 8 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Soft Serve is a self-hostable Git server for the command line. Prior to 0.8.2 , a path traversal attack allows 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. This is patched in v0.8.2.

Weakness: CWE-22

Which versions are affected by CVE-2025-22130?

3 open source packages ship an affected version, including github.com/charmbracelet/soft-serve. It affects 1 product.

PackageAffectedFixed in
github.com/charmbracelet/soft-serve GoAll versions0.8.2
github.com/charmbracelet/soft-serve GoAll versions0.8.2
github.com/charmbracelet/soft-serve GoAll versions0.8.2

Products include Charm Soft Serve.

How do I fix CVE-2025-22130?

Upgrade github.com/charmbracelet/soft-serve to 0.8.2 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-22130 being exploited?

There is no known exploitation of CVE-2025-22130 in the wild and no public exploit code.

Sources

Also known as GHSA-j4jw-m6xr-fv6c, GO-2025-3374.

Is CVE-2025-22130 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free