Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local access to mycli session
-
DeliverySupply crafted input to \source command
-
ExploitBypass whitelist in source_special_command_is_safe
-
ExecutionInject OS command
-
ImpactExecute commands as the mycli user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires local access to the host and the ability to drive mycli's \source special command so that the source_special_command_is_safe whitelist safety check is bypassed (component: Whitelist); the attacker needs existing low-level privileges (PR:L) to operate the client. Limiting factors: the attack is local only (AV:L) - not remotely reachable over the network - and runs with the privileges of the invoking user, so impact is bounded to that user's context (VC:L/VI:L/VA:L). Affected builds are mycli 2.29.0-2.29.4 and 2.30.0-2.30.1 per EUVD; no fixed version is listed in the available sources, and no vendor mitigation was published (the vendor did not respond to the disclosure). |
| Impact | This is a low-to-moderate priority issue despite the OS command injection class (CWE-78). All signals point to constrained real-world risk: the CVSS 4.0 vector (AV:L/AC:L/PR:L/UI:N) requires local access plus existing privileges, and the vendor-assigned impact is uniformly Low (VC:L/VI:L/VA:L), yielding a base score of only 4.8. The vuln.today decision label is 'this_month' - not act_now or emergency - which is consistent with a non-urgent, non-actively-exploited flaw. The E:P (Proof-of-Concept) exploit maturity and the description's claim that an exploit is public indicate a PoC exists, but there is no CISA KEV listing and no EPSS score was provided, so there is no evidence of widespread or active exploitation. The affected software (mycli) is a local interactive MySQL client, meaning a 'local' attacker in this context is typically a user who already has shell/CLI access, which substantially limits the marginal benefit of the exploit. Note a data gap: EPSS is absent, so probabilistic exploitation likelihood cannot be compared against the PoC signal; and the sole source is VulDB (the vendor did not respond), so affected/fixed versions and the precise trigger are not vendor-confirmed. |
| Exploit ScenarioDerived | A local user (or a context where mycli processes attacker-influenced input) invokes the \source special command such that the source_special_command_is_safe whitelist check is bypassed, allowing an OS command to be injected and executed with the privileges of the mycli process. A public PoC reference is cited, but the trigger mechanism is not described in detail in the available sources. Because the attack vector is local and requires some privilege (PR:L), exploitation adds little beyond the access the attacker already has. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 25, 2026
OS command injection in dbcli mycli through 2.30.1 lets a local user who can drive the \source special command slip past the source_special_command_is_safe whitelist check and execute commands with that user's own privileges. Affected builds are mycli 2.29.0 through 2.29.4 and 2.30.0 through 2.30.1, and the disclosure states that exploit code has been made publicly available, with the CVSS 4.0 vector scoring E:P for a public proof-of-concept. Impact is bounded because the attack is local only (AV:L) and runs inside the invoking user's context (VC:L/VI:L/VA:L), making this a low-to-moderate priority issue despite the OS command injection class; no CISA KEV listing is present in the supplied data.
RemediationAI
No vendor-released patch was identified at the time of analysis: the disclosure states the vendor was contacted early and did not respond, and none of the supplied references (VulDB entry 426137, the VulDB CVE page, the CTI page, or submission 995818) name a fixed mycli version, so the affected 2.29.0-2.29.4 and 2.30.0-2.30.1 builds should be treated as unfixed until dbcli publishes a release. Until then, the practical compensating controls follow from the attack preconditions: because exploitation is local and requires an existing low-privilege account able to run the client (AV:L/PR:L), restrict execution of mycli to trusted users and service accounts and remove it from shared or multi-tenant hosts - the trade-off is reduced self-service database access for those users. Additionally, avoid invoking \source with paths or arguments that a lower-trusted party can influence, since the flaw resides in the source_special_command_is_safe whitelist and the sources do not describe any configuration flag that restores the check; the trade-off is that script-driven SQL loads must be reviewed or wrapped manually. Track the VulDB entries above and the dbcli project for a patched release and re-test \source handling once one appears.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
mycli is dbcli's Python-based command-line client for MySQL/MariaDB that offers special backslash-prefixed commands, including \source, which reads and executes SQL from a file. The vulnerable element is the function source_special_command_is_safe in mycli/packages/special/source.py, which is meant to act as a whitelist guard deciding whether a \source argument is safe before it is acted on; because the guard can be manipulated, attacker-influenced input reaches a shell context, the classic CWE-78 OS command injection root cause of untrusted data flowing into a command interpreter. The supplied evidence identifies the whitelist function and the resulting command injection but does not describe the precise argument or bypass sequence that triggers it. The CPE cpe:2.3:a:dbcli:mycli:*:*:*:*:*:*:*:* is an unversioned wildcard covering the product, while EUVD-2026-109471 enumerates the confirmed affected releases as 2.29.0, 2.29.1, 2.29.2, 2.29.3, 2.29.4, 2.30.0 and 2.30.1. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L, E:P) and the independent CVSS 3.1 assessment (AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) agree that the flaw requires existing low-level local privileges, needs no user interaction, and is confined to the invoking user's privileges with no scope change, which is why a command injection of this class scores only 4.8 rather than critical.
Know when Mycli gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Local interactive CLI tool so AV:L; operation requires an existing privileged user session so PR:L; injected commands run only as that user, bounding impact to C:L/I:L/A:L with no scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A weakness has been identified in dbcli mycli up to 2.29.4/2.30.1. The impacted element is the function source_special_command_is_safe of the file mycli/packages/special/source.py of the component Whitelist. Executing a manipulation can lead to os command injection. It is possible to launch the attack on the local host. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-109471
GHSA-hw4q-9p72-mrfx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB