{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.13.0"
                  },
                  {
                    "fixed": "12.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "original_tag": "v12.1.0",
                "range": [
                  {
                    "fixed": "c65322a42d17353718c6e32a7741e593d4738fb7"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "844d4e7f336e02d5cd1881b7964625abe7ea8d43"
            },
            {
              "fixed": "c65322a42d17353718c6e32a7741e593d4738fb7"
            }
          ],
          "repo": "https://github.com/directus/directus",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "AISLE",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142071.json"
  },
  "details": "Directus 10.13.0 before 12.1.0 contains an incomplete fix for CVE-2026-35412 where the TUS resumable upload endpoint checks item-level access for the id upload metadata key but not for the adjacent replace_id key, which the upload completion handlers use to rewrite the referenced file through internal services that run without accountability, and does not normalize or uniqueness-check a client-supplied filename_disk. Authenticated users with create and update permissions on directus_files can name another user's file id in replace_id to overwrite that file's stored contents and metadata on instances with TUS_ENABLED set.",
  "id": "CVE-2026-142071",
  "modified": "2026-12-02T17:45:31.396997025Z",
  "published": "2026-12-02T11:47:45.894Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142071.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/directus/directus"
    },
    {
      "type": "FIX",
      "url": "https://github.com/directus/directus/pull/27803"
    },
    {
      "type": "WEB",
      "url": "https://github.com/directus/directus/releases/tag/v12.1.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/directus/directus/security/advisories/GHSA-qqmv-5p3g-px89"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/directus/directus/security/advisories/GHSA-xjxq-pj7h-g676"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142071"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com"
    }
  ],
  "related": [
    "GHSA-qqmv-5p3g-px89",
    "GHSA-xjxq-pj7h-g676"
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Directus 10.13.0 before 12.1.0 Cross-User File Overwrite via TUS Upload replace_id Metadata"
}