Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted _targets data store to victim
-
DeliveryVictim calls tar_read()/tar_load()/tar_workspace()
-
ExploitPlanted format/CAS functions passed to eval(parse())
-
ExecutionArbitrary R code executes as victim
-
ImpactFull host compromise under user privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to obtain an attacker-controlled _targets data store (the metadata file _targets/meta/meta or a saved workspace under _targets/workspaces/) that defines custom tar_format() or tar_repository_cas() functions, and then to read it from OUTSIDE a running pipeline via tar_read(), tar_load() or tar_workspace() in a vulnerable version (before 1.12.1). Limiting factors: it is local (AV:L) and needs user interaction (the victim must actively read an untrusted store); the pipeline itself (tar_make) and R CMD check are not attack paths because running a pipeline is treated as trusting it. After the 1.12.1 fix, exploitation is further limited because these functions prompt for trust in interactive sessions and error out in non-interactive ones unless the TAR_ASK environment variable is explicitly set to 'false'. |
| Impact | This is a genuine but conditional risk rather than a drop-everything emergency. The signals are internally consistent: the CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H) describes a local, low-complexity flaw that nonetheless requires victim interaction (UI:P) and yields full confidentiality, integrity and availability impact on the victim's host via arbitrary R code execution (CWE-95, eval(parse())). The vuln.today priority is 'this_week', not act_now/emergency. No EPSS score, no CISA KEV listing, and no confirmed working exploit code were supplied, so there is no evidence of active exploitation; the references are a vendor advisory (VulnCheck), the GitHub issue (#1602), the patch commit, affected source files, and the 1.12.1 release - advisory and patch material, not a published exploit. The practical risk hinges entirely on social-engineering a victim into reading an attacker-supplied _targets data store, which bounds real-world exploitation to targeted scenarios (sharing of pipeline artifacts, collaborative or CI contexts) rather than mass remote attack. Net: a real high-severity issue worth patching this week for R users who ingest external data stores, but not a wormable internet-facing RCE. |
| Exploit ScenarioDerived | An attacker crafts a malicious _targets data store whose metadata embeds custom tar_format() or tar_repository_cas() functions, then shares it (e.g., via a repo, dataset, or collaborative project). When the victim calls tar_read(), tar_load() or tar_workspace() against that store outside a running pipeline, the planted functions are passed to eval(parse()) and the attacker's R code executes with the victim's privileges. No confirmed working exploit code was supplied; the trigger mechanism is documented by the vendor and in the patch, but exploitation still requires the victim to obtain and read the hostile store. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Code execution in the targets R package before 1.12.1 allows a victim who reads an attacker-supplied _targets data store from outside a pipeline to run arbitrary R code through custom tar_format() or tar_repository_cas() functions stored in metadata and passed to eval(parse()). The flaw is local and requires user interaction because the victim must obtain the store and explicitly call tar_read(), tar_load(), or tar_workspace(); running the pipeline itself and R CMD check are not attack paths. No public exploit identified at time of analysis, and the vendor-released patch is version 1.12.1, which adds a trust prompt or non-interactive error unless TAR_ASK is set to 'false'.
RemediationAI
Upgrade ropensci targets to 1.12.1 or later; vendor-released patch: 1.12.1 (https://github.com/ropensci/targets/releases/tag/1.12.1, fix commit https://github.com/ropensci/targets/commit/a9681eb237500c7e9a0814cfde31bd05c53d934f, tracked in issue https://github.com/ropensci/targets/issues/1602). In 1.12.1, tar_read(), tar_load(), and tar_workspace() ask whether you trust the data store in interactive sessions and throw an error in non-interactive sessions unless TAR_ASK is set to 'false'; set TAR_ASK='false' only for stores and projects you trust, such as trusted CI, because it suppresses the new safety check. For an untrusted store, do not read it with a vulnerable version; if possible, delete or move the store and rebuild the pipeline from your own _targets.R so any custom functions come from your own code. See the VulnCheck advisory https://www.vulncheck.com/advisories/targets-r-package-before-1.12.1-code-execution-via-custom-storage-metadata.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The targets package is an R pipeline toolkit that persists target metadata under _targets/meta/meta and saved workspaces under _targets/workspaces/. tar_format() and tar_repository_cas() can save custom format or CAS repository functions as text in those artifacts, and affected versions pass that stored code to eval(parse()) when targets are read, the root cause class being CWE-95 (Eval Injection). The CPE cpe:2.3:a:ropensci:targets:*:*:*:*:*:*:*:* identifies the affected package family, and versions before 1.12.1 are vulnerable. The supplied CVSS 4.0 vector is AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N with a score of 8.5, while the independent assessment is CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H; both describe local, user-interaction-dependent code execution with high confidentiality, integrity, and availability impact. The fix commit a9681eb237500c7e9a0814cfde31bd05c53d934f implements trust checks around custom storage code for tar_read(), tar_load(), and tar_workspace(), while tar_make() and R CMD check are deliberately exempt because running a pipeline is treated as trusting it.
Know when Targets gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Code runs only when a victim reads an attacker-supplied local data store, so AV:L and UI:R; no prior auth is needed (PR:N), and code executes with full C/I/A impact in the victim's own scope (S:U).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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().
Executive ViewAI
A high-severity vulnerability in the targets R package (versions before 1.12.1) allows arbitrary code execution when a user reads a malicious data store from an untrusted source via functions like tar_read() or tar_load(). This puts data scientists and analysts who collaborate on R projects at risk, potentially leading to system compromise and data breaches. Leadership should prioritize patching to protect R-based workflows and sensitive data.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-131549
GHSA-gxqv-c3wm-v5fp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB