GHSA-qxg2-6f48-x335MediumCVSS 4.3
Terrastories 2.0.0 through 2.1.0 contains an arbitrary file read vulnerability in Dashboard:...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-141322
- https://github.com/Terrastories/terrastories/issues/1016
- https://github.com/Terrastories/terrastories/blob/f6f033a17bd4a4c600ffea8bc2e773d243f88f72/rails/app/controllers/dashboard/imports_controller.rb#L8-L16
- https://www.vulncheck.com/advisories/terrastories-2.0.0-through-2.1.0-arbitrary-file-read-via-import-preview
- https://github.com/advisories/GHSA-qxg2-6f48-x335