{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0.0"
                  },
                  {
                    "last_affected": "2.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "f5a94e7f116fc5021168627e0056eae941f4e58a"
            },
            {
              "last_affected": "5abcfb6249cad3eb5d9c802953420c0a1a47c06a"
            }
          ],
          "repo": "https://github.com/terrastories/terrastories",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-73"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141322.json"
  },
  "details": "Terrastories 2.0.0 through 2.1.0 contains an arbitrary file read vulnerability in Dashboard::ImportsController#preview that passes the file parameter directly to CSV.open without authorization checks. Low-privileged authenticated users, including viewers, can supply a server filesystem path as a plain string to read the first line of any file readable by the Rails process.",
  "id": "CVE-2026-141322",
  "modified": "2026-12-01T16:45:49.783697460Z",
  "published": "2026-12-01T15:43:31.575Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141322.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Terrastories/terrastories"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Terrastories/terrastories/blob/f6f033a17bd4a4c600ffea8bc2e773d243f88f72/rails/app/controllers/dashboard/imports_controller.rb#L8-L16"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/Terrastories/terrastories/issues/1016"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-141322"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/terrastories-2.0.0-through-2.1.0-arbitrary-file-read-via-import-preview"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Terrastories 2.0.0 through 2.1.0 Arbitrary File Read via Import Preview"
}