Skip to main content

targets R package EUVDEUVD-2026-131549

| CVE-2026-133707 HIGH
Eval Injection (CWE-95)
2026-11-20 VulnCheck GHSA-gxqv-c3wm-v5fp
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted _targets data store to victim
  2. Delivery
    Victim calls tar_read()/tar_load()/tar_workspace()
  3. Exploit
    Planted format/CAS functions passed to eval(parse())
  4. Execution
    Arbitrary R code executes as victim
  5. Impact
    Full 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

targets 0 <1.12.1

Affected Packages

euvd targets fix: 1.12.1

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

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

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

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
niche R pipeline package used mainly in data-science/research workflows
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy