{"id":"CVE-2026-116053","kind":"vulnerability","aliases":["CVE-2026-116053"],"related":[],"title":"mycli: whitelist check in source command allows OS command injection locally","description":"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.","summary":"mycli is a command-line MySQL client, and its source-command safety check in mycli/packages/special/source.py can be bypassed. A crafted input can lead to OS command injection that runs with the privileges of the user running mycli.","severity":"medium","cvss":5.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["developer-tools","local-cli","mycli","package","python"],"not_affected_if":["not-installed","unaffected-version"],"how_to_check":"- Run `mycli --version` and compare against the affected range up to `2.29.4` and `2.30.1`.\n- Check whether mycli is installed with `pip show mycli` or `which mycli`.","fix":null,"status":"open","published_at":"2026-10-25T14:16:50+00:00","first_seen_at":"2026-10-25T14:41:22+00:00","triaged_at":"2026-10-25T14:43:02+00:00","updated_at":"2026-10-25T14:43:02+00:00","category":"package","confidence":0.5,"triage":{"at":"2026-10-25T14:43:02Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"local","title":"mycli: whitelist check in source command allows OS command injection locally","impact":"high","summary":"mycli is a command-line MySQL client, and its source-command safety check in mycli/packages/special/source.py can be bypassed. A crafted input can lead to OS command injection that runs with the privileges of the user running mycli.","category":"package","nicknames":[],"who_cares":["mycli","python","developer-tools","local-cli"],"confidence":0.5,"needs_auth":"unknown","worst_case":"Attacker runs OS commands as the local mycli user","analyst_note":"Confirm the fixed version and the exact trigger input from the NVD entry or the upstream mycli advisory; sources do not name a patched release.","how_to_check":"- Run `mycli --version` and compare against the affected range up to `2.29.4` and `2.30.1`.\n- Check whether mycli is installed with `pip show mycli` or `which mycli`.","needs_analyst":true,"not_affected_if":["not-installed","unaffected-version"],"who_is_affected":"Only people who run mycli on a local machine with the affected versions are exposed, and the attack needs local access. Servers and applications that do not use mycli as an interactive client are not affected by this entry. Users who do not run these versions can skip it.","user_interaction":"yes","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.00058,"input_tokens":3359,"output_tokens":488,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-116053':14A,17A '-2026':13A,16A '/2.30.1':77C '2.29.4':76C 'allow':7A 'attack':112C,131C 'avail':122C 'bypass':46B 'check':3A,41B 'cli':23B 'client':34B 'command':6A,9A,31B,39B,54B,86C,104C 'command-lin':30B 'compon':95C 'contact':135C 'could':127C 'craft':48B 'cve':12A,15A 'dbcli':72C 'develop':19B 'developer-tool':18B 'disclosur':139C 'earli':136C 'element':80C 'execut':97C 'exploit':118C 'file':91C 'function':83C 'host':116C 'identifi':70C 'impact':79C 'inject':10A,55B,105C 'input':49B 'launch':110C 'lead':51B,101C 'line':32B 'local':11A,22B,115C 'local-c':21B 'made':121C 'manipul':99C 'myc':1A,24B,27B,65B,73C 'mycli/packages/special/source.py':43B,92C 'mysql':33B 'os':8A,53B,103C 'packag':25B 'possibl':108C 'privileg':60B 'public':125C 'python':26B 'respond':143C 'run':57B,64B 'safe':88C 'safeti':40B 'sourc':5A,38B,84C 'source-command':37B 'special':85C 'tool':20B 'use':129C 'user':63B 'vendor':133C 'way':146C 'weak':67C 'whitelist':2A,96C","nicknames":[],"mitigations":[],"who_affected":"Only people who run mycli on a local machine with the affected versions are exposed, and the attack needs local access. Servers and applications that do not use mycli as an interactive client are not affected by this entry. Users who do not run these versions can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-25T14:16:50+00:00","kev":null,"cvss_vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"cna@vuldb.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-116053","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116053","severity":null,"published_at":"2026-10-25T14:16:50+00:00","modified_at":"2026-10-25T14:16:50+00:00","first_seen_at":"2026-10-25T14:41:22+00:00","fetched_at":"2026-10-25T14:41:22+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}