CVE-2026-133707
targets R package before 1.12.1 Code Execution via Custom Storage Metadata
High · 8.5Fix available
- CVSS
- 8.5
- EPSS
- 0.22% (p8)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-28
- Product
- ropensci targets
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
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().
Fixed in
1.12.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | targets | >=0, <1.12.1 | 1.12.1 |
Sources
- NVD · first seen 11d ago · NVD terms of use
- OSV · first seen 11d ago · CC-BY 4.0
- CVE List · first seen 11d ago · CVE Terms of Use
References
- https://github.com/ropensci/targets/issues/1602 issue-tracking
- https://github.com/ropensci/targets/commit/a9681eb237500c7e9a0814cfde31bd05c53d934f patch
- https://github.com/ropensci/targets/blob/1.12.0/R/class_store_format_custom.R technical-description
- https://github.com/ropensci/targets/blob/1.12.0/R/class_store_repository_cas.R technical-description
- https://github.com/ropensci/targets/releases/tag/1.12.1 release-notes
- https://www.vulncheck.com/advisories/targets-r-package-before-1.12.1-code-execution-via-custom-storage-metadata third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133707.json advisory
- https://github.com/ropensci/targets package
- https://nvd.nist.gov/vuln/detail/CVE-2026-133707 advisory