{"answers":{"affected":"1 open source package ship an affected version, including mysql-shell. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-46871 in the wild and no public exploit code.","fix":"Upgrade mysql-shell to 2026.5.0 or later.","what":"CVE-2026-46871 is a medium-severity missing authorization vulnerability in Oracle Corporation MySQL Shell, published on 16 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-46871 and fix it if it is affected.\n\nWhat it is: CVE-2026-46871 is a medium-severity missing authorization vulnerability in Oracle Corporation MySQL Shell, published on 16 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-46871 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mysql-shell (Bitnami): affected from 2026.2.0; fixed in 2026.5.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-46871/ (Markdown: https://insights.sbomify.com/CVE-2026-46871/index.md)","id":"CVE-2026-46871","markdown":"https://insights.sbomify.com/CVE-2026-46871/index.md","name":"CVE-2026-46871","record":{"aliases":["BIT-mysql-shell-2026-46871","GHSA-wmrj-pjxx-fh6x"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"MySQL Shell VS Code","requires_auth":"low_privilege","summary":"A low-privileged attacker can exploit a missing authorization flaw in MySQL Shell for VS Code to gain unauthorized access to critical data.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"oracle","cpe":[{"product":"mysql_shell","vendor":"oracle"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"description":"Vulnerability in the MySQL Shell product of Oracle MySQL (component: Shell for VS Code).   The supported version that is affected is 2026.2.0+9.6.1. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Shell.  Successful attacks of this vulnerability can result in  unauthorized access to critical data or complete access to all MySQL Shell accessible data. CVSS 3.1 Base Score 6.5 (Confidentiality impacts).  CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Missing authorization in MySQL Shell","id":"CVE-2026-46871","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":1,"n_references":1,"next":{"headline":"Missing authorization in Oracle Enterprise Manager Base Platform","id":"CVE-2026-46872"},"packages":[{"ecosystem":"Bitnami","fixed":["2026.5.0"],"introduced":["2026.2.0"],"last_affected":[],"package":"mysql-shell","purl":"pkg:bitnami/mysql-shell","source":"BIT-mysql-shell-2026-46871"}],"prev":{"headline":"Auth bypass in MySQL Shell","id":"CVE-2026-46870"},"products":["MySQL Shell"],"published":"2026-06-16","related":[{"cvss_score":9.9,"headline":"Code injection in MySQL Shell","id":"CVE-2026-46850","kev_date_added":null,"published":"2026-06-16"},{"cvss_score":8.5,"headline":"Auth bypass in MySQL Shell","id":"CVE-2026-46870","kev_date_added":null,"published":"2026-06-16"},{"cvss_score":6.5,"headline":"Cross-site request forgery in MySQL Shell","id":"CVE-2026-46869","kev_date_added":null,"published":"2026-06-16"},{"cvss_score":4.2,"headline":"Missing authorization in MySQL Server","id":"CVE-2022-21555","kev_date_added":null,"published":"2022-07-19"},{"cvss_score":2.5,"headline":"Denial of service in MySQL Server","id":"CVE-2022-21535","kev_date_added":null,"published":"2022-07-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-17","vendors":["Oracle Corporation"]},"summary":"A low-privileged attacker can exploit a missing authorization flaw in MySQL Shell for VS Code to gain unauthorized access to critical data.","url":"https://insights.sbomify.com/CVE-2026-46871/"}