Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/charmbracelet/soft-serve
  4. ›
  5. GHSA-f3fj-9625-rv3m

GHSA-f3fj-9625-rv3m: charmbracelet/soft-serve: Race in `SetPrivate` leaves a private repository readable by unauthenticated users

October 30, 2026

Soft Serve cached repository records in memory with no expiry, and trusted the cached record for every access check. SetPrivate cleared the cached record before it saved the new visibility, and not afterwards.

A request that arrived between the two read the old, public record from the database and cached it after the change was saved. From then on every access check used that stale record, so a repository the operator had just made private stayed readable by unauthenticated users over HTTP, SSH, and git:// until the server restarted.

References

  • github.com/advisories/GHSA-f3fj-9625-rv3m
  • github.com/charmbracelet/soft-serve/commit/0a4e6f0b7e063927c7128756e1c1b3db871edabf
  • github.com/charmbracelet/soft-serve/commit/5b307b4da4db285f797cc028b381ba4d3d853019
  • github.com/charmbracelet/soft-serve/commit/e398b4dde723437f637b06710e0938d349b360e8
  • github.com/charmbracelet/soft-serve/releases/tag/v0.12.3
  • github.com/charmbracelet/soft-serve/security/advisories/GHSA-f3fj-9625-rv3m

Code Behaviors & Features

Detect and mitigate GHSA-f3fj-9625-rv3m with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.6.0 before 0.12.3

Fixed versions

  • 0.12.3

Solution

Upgrade to version 0.12.3 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition

Source file

go/github.com/charmbracelet/soft-serve/GHSA-f3fj-9625-rv3m.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:18 +0000.