CVE-2026-133707: targets R package before 1.12.1 Code Execution via Custom Storage Metadata

Published Nov 20, 2026
·
Updated

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 tarread(), tarload() or tarworkspace().

Affected Software

1 affected component
cran/targets<1.12.1

Event History

Nov 20, 2026
CVE Published
via MITRE·12:26 PM
Data Sourced
via MITRE·12:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users of targets versions before 1.12.1 are exposed if they read or load a crafted _targets data store. The affected operations are tar_read(), tar_load(), and tar_workspace().

2

What must an attacker provide to trigger code execution?

The attacker must supply or plant a crafted _targets data store containing malicious custom format functions or CAS repository functions in its metadata. The code executes when the victim invokes one of the affected targets functions.

3

Is user interaction required?

Yes. The victim must call tar_read(), tar_load(), or tar_workspace() against the crafted data store for the malicious metadata to be evaluated.

4

What should be avoided until the package is updated?

Do not use _targets data stores from untrusted or unverified sources with tar_read(), tar_load(), or tar_workspace(). Treat data store metadata as executable-risk input because custom functions can be evaluated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203