Live threats

All CVEs / charmbracelet

CVE-2024-41956charmbracelet soft-serve

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
0.9%
probability of exploitation in 30 days · percentile 59
Auth required
Yes
Published
Aug 1, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

Soft Serve is a self-hostable Git server for the command line. Prior to 0.7.5, it is possible for a user who can commit files to a repository hosted by Soft Serve to execute arbitrary code via environment manipulation and Git. The issue is that Soft Serve passes all environment variables given by the client to git subprocesses. This includes environment variables that control program execution, such as LD_PRELOAD. This vulnerability is fixed in 0.7.5.

Original NVD text.

What to do

  1. Apply the vendor's security update for soft-serve.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/charmbracelet/soft-serve < 0.7.5 0.7.5 go get github.com/charmbracelet/soft-serve@v0.7.5
Go github.com/charmbracelet/soft-serve < 0.7.5 0.7.5 go get github.com/charmbracelet/soft-serve@v0.7.5

Per OSV / GitHub Advisories (GHSA-m445-w3xr-vp2f, GO-2024-3019). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.