Submit #580255: redash <25.1.0 Sandbox Issueinfo

Titleredash <25.1.0 Sandbox Issue
DescriptionRedash is a popular open-source platform for visualizing and querying data. It uses RestrictedPython as its sandbox environment to securely execute Python queries. In its documentation, redash claims their default 25 builtin functions are considered safe. However, redash insecurely restores access to the getattr builtin function which was supposed to be overwritten by the secure version of safer_getattr implemented in Restricted Python. This leads to sandbox escape without any extra module importation needed.
Source⚠️ https://gist.github.com/superboy-zjc/1f89d375e2408ed843dc2cf0bb1bb894
User
 Gavin Zhong (UID 84092)
Submission05/18/2025 18:13 (11 months ago)
Moderation06/08/2025 19:53 (21 days later)
StatusAccepted
VulDB entry311633 [Redash up to 10.1.0/25.1.0 getattr /query_runner/python.py run_query sandbox]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!