
Metabase CVE-2026-59827 Vulnerability Scanner
An authorized security assessment utility for validating the presence of CVE-2026-59827 in Metabase deployments during approved penetration testing engagements.
This tool is designed to demonstrate the existence of the vulnerability while minimizing impact by performing controlled proof-of-concept demonstrations rather than attempting destructive or persistent actions. Every action performed is logged to provide an audit trail suitable for professional security assessments.
Warning
This project is intended only for systems you own or have explicit written permission to test. Unauthorized use may violate applicable laws and organizational policies.
The tool currently supports the following safe demonstrations:
| Technique | Description | Impact |
|---|---|---|
version_disclosure | Demonstrates database version disclosure | Low |
database_type | Detects backend database type | Low |
user_enumeration | Demonstrates current database user disclosure | Medium |
schema_disclosure | Demonstrates limited schema disclosure | Medium |
sql_execution | Demonstrates arbitrary SQL execution capability using a harmless payload | Critical |
These demonstrations are intended to validate whether the vulnerability exists without intentionally modifying data.
Install dependencies:
pip install requests
or
pip install -r requirements.txt
Example requirements.txt
requests>=2.31.0
python3 CVE-2026-59827.py \
-t https://metabase.example.com
The tool will request authorization confirmation before continuing.
python3 CVE-2026-59827.py \
-t https://metabase.example.com \
--auth-token YOUR-AUTHORIZATION-TOKEN
python3 metabase_tester.py \
-t https://metabase.example.com \
--demo version_disclosure
Available demonstrations:
version_disclosure
database_type
user_enumeration
schema_disclosure
sql_execution
python3 CVE-2026-59827.py \
-t https://metabase.example.com
| Option | Description |
|---|---|
-t, --target | Target Metabase URL |
--auth-token | Authorization token supplied by the system owner |
--demo | Execute a specific demonstration |
python3 CVE-2026-59827.py \
-t https://metabase.internal \
--auth-token COMPANY-12345 \
--demo database_type
Every action performed is recorded for auditing purposes.
Each run generates a log file similar to:
pentest_log_3a7f21bc.json
Each log entry contains:
Example:
{
"timestamp": "2026-07-23T11:42:58",
"action": "Testing payload",
"details": {
"parameter": "query",
"payload": "' UNION SELECT version()--"
},
"test_id": "3a7f21bc"
}
After testing completes, the tool generates a summary containing:
.
├── metabase_tester.py
├── README.md
├── requirements.txt
└── pentest_log_<testid>.json
If testing confirms the presence of the vulnerability:
This software is provided for authorized security testing, security research, and educational purposes only.
The authors assume no liability for misuse or damage resulting from the use of this software.
By using this project, you acknowledge that:
Unauthorized use of this software is strictly prohibited.
This project is intended for educational and professional penetration testing purposes. Ensure compliance with your organization's policies and applicable laws before use.