CVE-2026-133707
CVE-2026-133707 · targets R package before 1.12.1 Code Execution via Custom Storage Metadata
CVSS 8.5 · High · EPSS 0.2% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- targetsUpdate to 1.12.1
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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().
- Published
- Updated
Affected products and versions
targets
- Versions
- ≥ 0, < 1.12.1: Affected (semver)
Update to 1.12.1
Original sources
- https://github.com/ropensci/targets/issues/1602
- https://github.com/ropensci/targets/commit/a9681eb237500c7e9a0814cfde31bd05c53d934f
- https://github.com/ropensci/targets/blob/1.12.0/R/class_store_format_custom.R
- https://github.com/ropensci/targets/blob/1.12.0/R/class_store_repository_cas.R
- https://github.com/ropensci/targets/releases/tag/1.12.1
- https://www.vulncheck.com/advisories/targets-r-package-before-1.12.1-code-execution-via-custom-storage-metadata
- https://nvd.nist.gov/vuln/detail/CVE-2026-133707