CVE-2026-133707
targets R package before 1.12.1 Code Execution via Custom Storage Metadata
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 20, 2026
- Updated
- Nov 20, 2026
- Reserved
- Nov 20, 2026
Description
The targets R package before 1.12.1 contains a code execution vulnerability that allows attackers to run arbitrary R code by planting format functions in the data store metadata file. Attackers can supply a crafted _targets data store whose custom format or CAS repository functions are passed to eval(parse()), executing code when victims call tar_read(), tar_load() or tar_workspace().
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.5 High | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Affected Products
| Product | Versions |
|---|---|
targetsropensci |
|
References
- https://github.com/ropensci/targets/issues/1602issue-tracking
- https://github.com/ropensci/targets/commit/a9681eb237500c7e9a0814cfde31bd05c53d934fpatch
- https://github.com/ropensci/targets/blob/1.12.0/R/class_store_format_custom.Rtechnical-description
- https://github.com/ropensci/targets/blob/1.12.0/R/class_store_repository_cas.Rtechnical-description
- targets 1.12.1 Release Notesrelease-notes
- VulnCheck Advisory: targets R package before 1.12.1 Code Execution via Custom Storage Metadatathird-party-advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.