CVE-2024-41956
published high CVSS 3.1 · 8.1Soft Serve allows arbitrary code execution by crafting git-lfs requests
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| charmbracelet | soft-serve | < 0.7.5 (affected) | GitHub_M · cna |
| charmbracelet | soft-serve | 0 to < 0.7.5 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
2Provider assertions
2GitHub_M · cna
Soft Serve allows arbitrary code execution by crafting git-lfs requests
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ac925caa527b2d06ac7d3d7a3877ddf1b60646e4a7439a7fd16919f6727f5827
- Ingested
- 23 Sep 2026, 08:26:31 UTC
- Source record
- Official CVE record