User-Controlled Template Paths
User input directly controls which template, partial, or action gets rendered without validation.
Path traversal vulnerability in Ruby on Rails applications where user input controls the render target (action/template/partial/file) without validation or allowlisting, enabling traversal to unintended views or files and potentially bypassing access controls or leaking sensitive data.
Configuration changes required - see explanation below.
Configuration changes required - see explanation below.
User input directly controls which template, partial, or action gets rendered without validation.
Sourcery automatically identifies path traversal via user-controlled template path in rails render and many other security issues in your codebase.