# charmbracelet/soft-serve: Race in \`SetPrivate\` leaves a private repository readable by unauthenticated users

Advisory record · `GHSA-f3fj-9625-rv3m`

- **Identifiers:** `GHSA-f3fj-9625-rv3m` · `GO-2026-6891`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-362](https://cwe.mitre.org/data/definitions/362.html) · [CWE-367](https://cwe.mitre.org/data/definitions/367.html)
- **Tags:** [Race condition](https://agentprime.io/advisories/tag/race-condition.md)
- **Published:** 30 Oct 2026
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 30 Oct 2026, 14:53 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/charmbracelet/soft-serve` (Go): affected `>=0.6.0, <0.12.3`; fixed in `0.12.3`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Soft Serve (github.com/charmbracelet/soft-serve) versions 0.6.0 through 0.12.2 are affected. A race in SetPrivate can leave a repository that was just made private still readable by unauthenticated users over HTTP, SSH, and git://, until the server restarts. Upgrade to 0.12.3, which removes the stale repository cache. Until then, restarting the server clears stale records, and creating repositories as private from the start avoids the problem.

Written 1 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 31 Oct 2026, 14:11 UTC: First seen by agentprime
- 31 Oct 2026, 14:11 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-f3fj-9625-rv3m)

## Sources

- [GitHub Advisory Database: GHSA-f3fj-9625-rv3m](https://github.com/advisories/GHSA-f3fj-9625-rv3m)
- [OSV: GHSA-f3fj-9625-rv3m](https://osv.dev/vulnerability/GHSA-f3fj-9625-rv3m)
- <https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-f3fj-9625-rv3m>
- <https://github.com/charmbracelet/soft-serve/commit/0a4e6f0b7e063927c7128756e1c1b3db871edabf>
- <https://github.com/charmbracelet/soft-serve/commit/5b307b4da4db285f797cc028b381ba4d3d853019>
- <https://github.com/charmbracelet/soft-serve/commit/e398b4dde723437f637b06710e0938d349b360e8>
- <https://github.com/charmbracelet/soft-serve>
- <https://github.com/charmbracelet/soft-serve/releases/tag/v0.12.3>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-f3fj-9625-rv3m>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-f3fj-9625-rv3m/>. Everything for agents: <https://agentprime.io/llms.txt>.
