{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.12.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "a9681eb237500c7e9a0814cfde31bd05c53d934f"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "1.12.1",
                "range": [
                  {
                    "fixed": "6862e81e1e42b592f89d1103d2c76a0295ae5a1e"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6862e81e1e42b592f89d1103d2c76a0295ae5a1e"
            },
            {
              "fixed": "a9681eb237500c7e9a0814cfde31bd05c53d934f"
            }
          ],
          "repo": "https://github.com/ropensci/targets",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-95"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133707.json"
  },
  "details": "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().",
  "id": "CVE-2026-133707",
  "modified": "2026-11-20T14:45:48.013272999Z",
  "published": "2026-11-20T12:26:44.298Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133707.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ropensci/targets"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/ropensci/targets/blob/1.12.0/R/class_store_format_custom.R"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/ropensci/targets/blob/1.12.0/R/class_store_repository_cas.R"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ropensci/targets/commit/a9681eb237500c7e9a0814cfde31bd05c53d934f"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ropensci/targets/issues/1602"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ropensci/targets/releases/tag/1.12.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-133707"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/targets-r-package-before-1.12.1-code-execution-via-custom-storage-metadata"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "targets R package before 1.12.1 Code Execution via Custom Storage Metadata"
}