CVE-2026-43893 exiftool-vendored: Argument injection via newline characters in tag names
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
exiftool-vendored provides cross-platform Node.js access to ExifTool. Prior to 35.19.0, exiftool-vendored starts ExifTool in -stay_open True -@ - mode, where arguments are read from stdin one per line. In affected versions, several caller-supplied strings were interpolated into ExifTool arguments without rejecting line delimiters. A newline or carriage return inside one of those strings could split a single intended argument into multiple ExifTool arguments, allowing argument injection. The fix also rejects NUL bytes as unsafe control characters. Applications that pass attacker-controlled strings to affected APIs may allow an attacker to make ExifTool read files accessible to the ExifTool process, or write output to attacker-chosen file system paths accessible to that process. No remote code execution has been demonstrated. This vulnerability is fixed in 35.19.0.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm exiftool-vendored(npm) | < 35.19.0; <= 35.18.0 | 35.19.0 | Fixed |
| photostructure exiftool-vendored.js | = < 35.19.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| photostructure exiftool-vendored.js | = < 35.19.0 | No fix listed |
| npm exiftool-vendored(npm) | <= 35.18.0 | No fix listed |
| npm exiftool-vendored(npm) | < 35.19.0 | 35.19.0 |
References
- https://github.com/photostructure/exiftool-vendored.js/security/advisories/GHSA-cw26-7653-2rp5 vendor-advisory
- exiftool.org
- exiftool.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product