Security mailing lists by PureSourceCode

CVE-2024-52803

CRITICAL 9.8CVSS 3.1

LLama Factory Remote OS Command Injection Vulnerability

LLama Factory enables fine-tuning of large language models. A critical remote OS command injection vulnerability has been identified in the LLama Factory training process. This vulnerability arises from improper handling of user input, allowing malicious actors to execute arbitrary OS commands on the host system. The issue is caused by insecure usage of the Popen function with shell=True, coupled with unsanitized user input. Immediate remediation is required to mitigate the risk. This vulnerability is fixed in 0.9.1.

Published
21 Nov 2024
Last modified
7 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-78CWE-79
Also known as
GHSA-hj3w-wrh4-44vpPYSEC-2026-1575
Sources
NVDJSONOSV GHSA-hj3w-wrh4-44vpJSONOSV PYSEC-2026-1575JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hiyouga llama-factory
cpe:2.3:a:hiyouga:llama-factory:*:*:*:*:*:*:*:*
< 0.9.1 0.9.1
OSV PyPI llamafactory < 0.9.1 0.9.1

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 21 Nov 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Nov 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.