GluonCV Arbitrary File Write via TarSlip
A vulnerability in the ImageClassificationDataset.from_csv() API of the dmlc/gluon-cv repository, version 0.10.0, allows for arbitrary file write. The function downloads and extracts tar.gz files from URLs without proper sanitization, making it susceptible to a TarSlip vulnerability. Attackers can exploit this by crafting malicious tar files that, when extracted, can overwrite files on the victim's system via path traversal or faked symlinks.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | gluoncv | <= 0.10.0 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-12216
- https://github.com/dmlc/gluon-cv
- https://github.com/dmlc/gluon-cv/blob/3862e2db33ab650eff7c7c5c5891e805207027b1/gluoncv/utils/filesystem.py#L223-L229
- https://huntr.com/bounties/46081fdc-2951-4deb-a2c9-2627007bdce0
- https://pypi.org/project/gluoncv
- https://github.com/advisories/GHSA-m724-hqmc-ggpx
- CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H- Weakness (CWE)
CWE-20, CWE-22, CWE-59- Platform
- Python (PyPI)
- Package
gluoncv- Disclosed
- 20.03.2025
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1406 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-m724-hqmc-ggpx - CC BY 4.0
Vulnerability history: gluoncv
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.