CVE-2025-5874Public exploit

Authenticated sandbox escape via unrestricted getattr guard

Published Jun 9, 2025 · Updated Jul 16, 2025

Sandbox escape in Redash 10.0, 10.1.0, 25.0, and 25.1.0 allows remote authenticated users to execute Python outside restrictions. The Python runner's run_query function supplies unrestricted getattr as RestrictedPython's attribute guard, allowing crafted queries to traverse protected object attributes. The disputed condition requires an authorized query user and the nondefault Python data source; a successful escape gains the Redash worker's data and execution privileges.

CVSS severityUnavailable
Unscored
EPSS probability0.30%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Sandbox escape in Redash 10.0, 10.1.0, 25.0, and 25.1.0 allows remote authenticated users to execute Python outside restrictions. The Python runner's run_query function supplies unrestricted getattr as RestrictedPython's attribute guard, allowing crafted queries to traverse protected object attributes. The disputed condition requires an authorized query user and the nondefault Python data source; a successful escape gains the Redash worker's data and execution privileges.

The record

CVE
CVE-2025-5874
Published
Jun 9, 2025
Updated
Jul 16, 2025
Vendor
Redash
Product
Redash
Classifications
CWE-264, CWE-265, T1059.006
Attack vector
adjacent
Privileges
authenticated

Timeline

How it unfolded

  1. Jun 9, 2025CVE publishedPublication date reported by the CVE source.
  2. Jul 16, 2025Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=10.0
  2. Affected versionversion=10.1.0
  3. Affected versionversion=25.0
  4. Affected versionversion=25.1.0

What conditions does exploitation require?

Attack vectoradjacent
Required privilegesauthenticated

What is affected?

Redash · Redashversion=10.0; version=10.1.0; version=25.0; version=25.1.0

Published CVSS scores

2.1VulDBCVSS: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
4.6VulDBCVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
4.6VulDBCVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
4.0VulDBAV:A/AC:H/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectoradjacent
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitPublished

Weakness, pattern, technique

CWE-264Improper Access Controls
CWE-265Sandbox Issue
T1059.006Command and Scripting Interpreter: Python

Public exploit references

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo