published 5 Sep 2022 · updated 21 Apr 2025
Command Injection on tinygltf
8.1HighCVSS 8.1EPSS 3%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. Fixed in 2.6.0.
The tinygltf library uses the C library function wordexp() to perform file path expansion on untrusted paths that are provided from the input file. This function allows for command injection by using backticks. An attacker could craft an untrusted path input that would result in a path expansion. We recommend upgrading to 2.6.0 or past commit 52ff00a38447f06a17eab1caa2cf0730a119c751
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| syoyo | <2.6.0 | 2.6.0 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket