CVE-2026-133707

high

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().

References

https://www.vulncheck.com/advisories/targets-r-package-before-1.12.1-code-execution-via-custom-storage-metadata

https://github.com/ropensci/targets/releases/tag/1.12.1

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_repository_cas.R

https://github.com/ropensci/targets/blob/1.12.0/R/class_store_format_custom.R

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-131549

Details

Source: Mitre, NVD

Published: 2026-11-20

Updated: 2026-11-20

CVSS v3

Base Score: 7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High

CVSS v4

Base Score: 8.5

Vector: 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

Severity: High