code injection vulnerability exists in the huggingface/text-generation-inference repository
A code injection vulnerability exists in the huggingface/text-generation-inference repository, specifically within the autodocs.yml workflow file. 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. An attacker can exploit this by forking the repository, creating a branch with a malicious payload as the name, and then opening a pull request to the base repository. Successful exploitation could lead to arbitrary code execution within the context of the GitHub Actions runner. This issue affects versions up to and including v2.0.0 and was fixed in version 2.0.0.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | text-generation | < 2.0.0 | 2.0.0 |
Referencias
- https://nvd.nist.gov/vuln/detail/CVE-2024-3924
- https://github.com/huggingface/text-generation-inference/commit/88702d876383f7200eccf67e28ba00500dc804bb
- https://github.com/huggingface/text-generation-inference
- https://huntr.com/bounties/8af92fc2-0103-4d29-bb28-c3893154c422
- https://pypi.org/project/text-generation
- https://github.com/advisories/GHSA-qq99-p57r-g3v7
- Vector CVSS
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N- Debilidad (CWE)
CWE-94- Plataforma
- Python (PyPI)
- Paquete
text-generation- Publicada
- 02.06.2024
- Actualizado
- 11.10.2026 13:18
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-1966 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-qq99-p57r-g3v7 - CC BY 4.0
Historial de vulnerabilidades: text-generation
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 2
- Primera → última
- 06.2024 02.2026
- Sin corrección
- 0
- Explotada en ataques
- 0
Distribución por gravedad
- Alta 1
- Media 1
Divulgaciones por año
- 2024: 1
- 2025: 0
- 2026: 1
-
code injection vulnerability exists in the huggingface/text-generation-inference repository esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.