CVE-2024-41956 json
Soft Serve allows arbitrary code execution by crafting git-lfs requests
published 2024-08-01 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-2612 , GHSA-m445-w3xr-vp2f , GO-2024-3019
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/charmbracelet/soft-serve 0.7.5
- charmbracelet soft-serve 0.7.5
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/charmbracelet/soft-serve | <0.7.5 |
0.7.5 |
Affected products
- charmbracelet soft-serve
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/charmbracelet/soft-serve/commit/4daebdd422a6ba8c04162d023f8be355a8fe3184
web, patch
-
github.com
/charmbracelet/soft-serve/security/advisories/GHSA-m445-w3xr-vp2f
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-41956
advisory
-
github.com
/charmbracelet/soft-serve
package
-
pkg.go.dev
/vuln/GO-2024-3019
web
Sources
- CVE List CVE-2024-41956
- GitHub Advisory GHSA-m445-w3xr-vp2f
- NVD CVE-2024-41956
- OSV GO-2024-3019
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.