CVE-2026-141319: SQLBot before 1.10.4 Hard-Coded AES Key Exposes Datasource Credentials
SQLBot before 1.10.4 contains a hard-coded cryptographic key vulnerability that allows attackers to decrypt stored datasource credentials using a static AES key in backend/apps/datasource/utils/utils.py. Attackers who obtain coredatasource configuration values from backups, exports, or other disclosures can decrypt the AES-128 ECB data to recover plaintext database hosts, usernames, and passwords.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.10.4
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must first obtain SQLBot core_datasource configuration values, such as through backups, exports, or another disclosure. They can then use the static AES key to decrypt the stored datasource data and recover database connection details.
What information may be exposed after decryption?
The affected encrypted datasource data can reveal plaintext database hosts, usernames, and passwords. The issue affects stored datasource credentials encrypted with the hard-coded AES-128 ECB key.
Which SQLBot versions are affected?
SQLBot versions before 1.10.4 are affected. Upgrading to version 1.10.4 addresses the identified hard-coded key issue.