CVE-2026-141322: Terrastories 2.0.0 through 2.1.0 Arbitrary File Read via Import Preview
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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any authenticated low-privileged user, including a viewer, can exploit it. The attacker must be able to submit an import preview request and provide a filesystem path as the file parameter.
What data can an attacker obtain?
The issue can expose the first line of any server-side file that is readable by the Rails process. Files that the Rails process cannot read are not exposed through this behavior.
Are unauthenticated users affected?
The provided information identifies exploitation by authenticated low-privileged users. It does not indicate that unauthenticated access can trigger the vulnerable import preview endpoint.
How can I determine whether an instance is affected?
Terrastories versions 2.0.0 through 2.1.0 are identified as affected. Review whether authenticated viewer-level accounts can reach the import preview functionality and whether its file parameter is passed as a filesystem path.