CVE-2024-3924
Python vulnerability analysis and mitigation

Overview

A code injection vulnerability (CVE-2024-3924) was discovered in the huggingface/text-generation-inference repository, specifically within the autodocs.yml workflow file. The vulnerability was disclosed on May 30, 2024, affecting versions up to and including v2.0.0. The issue stems from insecure handling of the github.head_ref user input in the GitHub Actions workflow (NVD).

Technical details

The vulnerability arises from the insecure handling of the github.head_ref user input, which is used to dynamically construct a command for installing a software package. The issue has been assigned a CVSS v3.0 base score of 4.4 (Medium) with the vector string CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

Successful exploitation of this vulnerability could lead to arbitrary code execution within the context of the GitHub Actions runner. This could potentially allow attackers to execute malicious code during the workflow execution process (NVD).

Exploitability

An attacker can exploit this vulnerability by forking the repository, creating a branch with a malicious payload as the name, and then opening a pull request to the base repository (NVD).

Mitigation and workarounds

The vulnerability has been fixed in version 2.0.0. Users are advised to upgrade to this version or later. The fix can be found in the repository commit (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-61539CRITICAL10
  • Python logoPython
  • xinference
NoYesAug 21, 2026
CVE-2026-49360HIGH7.8
  • Python logoPython
  • recce
NoYesAug 21, 2026
CVE-2026-68508HIGH7.8
  • Python logoPython
  • hydra-core
NoYesAug 21, 2026
CVE-2026-54457HIGH7.7
  • Python logoPython
  • tensorzero
NoYesAug 21, 2026
CVE-2026-43980MEDIUM6.3
  • Python logoPython
  • malla
NoNoAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management