Security mailing lists by PureSourceCode

CVE-2024-41956

HIGH 8.1CVSS 3.1

soft-serve vulnerable to arbitrary code execution by crafting git-lfs requests

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.

Published
1 Aug 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-78
Also known as
GHSA-m445-w3xr-vp2fGO-2024-3019
Sources
NVDJSONOSV GHSA-m445-w3xr-vp2fJSONOSV GO-2024-3019JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/charmbracelet/soft-serve < 0.7.5 0.7.5

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 1 Aug 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Aug 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.