Vulnerability · Published Jun 9, 2025 · Assigned by VulDB
CVE-2025-5874Redash getattr python.py run_query sandbox
Medium 4.6
In plain English
A medium-severity security flaw in Redash. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities).
Official description
A vulnerability was found in Redash up to 10.1.0/25.1.0. It has been rated as problematic. This issue affects the function run_query of the file /query_runner/python.py of the component getattr Handler. The manipulation leads to sandbox issue. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The vendor explains, that "[t]he Python data source is disabled by default and is clearly marked in our documentation as discouraged due to its security implications. Users who choose to enable it are doing so at their own risk, with full awareness that it bypasses standard safeguards."
Affected products (as reported)
Weakness: CWE-265, CWE-264 · Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-311633 | Redash getattr python.py run_query sandbox vdb-entry, technical-description
- VDB-311633 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #580255 | redash <25.1.0 Sandbox Issue third-party-advisory
- https://gist.github.com/superboy-zjc/1f89d375e2408ed843dc2cf0bb1bb894 related
- https://gist.github.com/superboy-zjc/1f89d375e2408ed843dc2cf0bb1bb894#proof-of-concept exploit