{"answers":{"affected":"3 open source packages ship an affected version, including gitlab.com/uniget-org/cli.","exploited":"There is no known exploitation of CVE-2026-45152 in the wild and no public exploit code.","fix":"Upgrade gitlab.com/uniget-org/cli to 0.27.1 or later.","what":"CVE-2026-45152 is a high-severity command injection vulnerability in uniget-org cli, published on 27 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-45152 and fix it if it is affected.\n\nWhat it is: CVE-2026-45152 is a high-severity command injection vulnerability in uniget-org cli, published on 27 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-45152 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- gitlab.com/uniget-org/cli (Go): affected all versions; fixed in 0.27.1\n- gitlab.com/uniget-org/cli (Go): affected all versions; fixed in 0.27.1\n- gitlab.com/uniget-org/cli (Go): affected all versions; fixed in 0.27.1\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-45152/ (Markdown: https://insights.sbomify.com/CVE-2026-45152/index.md)","id":"CVE-2026-45152","markdown":"https://insights.sbomify.com/CVE-2026-45152/index.md","name":"CVE-2026-45152","record":{"aliases":["GHSA-qqq4-5773-pmw5","GO-2026-5590"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Go CLI tool","requires_auth":"none","summary":"Attackers can execute arbitrary shell commands via malicious metadata in uniget, leading to code execution with user privileges.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"uniget is a universal installer and updater for (container) tools. Prior to 0.27.1, a command injection vulnerability exists in uniget due to unsafe execution of the check field from metadata files using /bin/bash -c. Because the check field is loaded directly from untrusted JSON metadata without validation or sanitization, an attacker can craft malicious metadata that executes arbitrary shell commands on the victim’s system when common uniget operations such as describe, install, update, or inspect are performed. This vulnerability can lead to arbitrary code execution with the privileges of the user running uniget. This vulnerability is fixed in 0.27.1.","ecosystems":["Go"],"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":"uniget: Command Injection in tool.Check Leading to Arbitrary Code Execution","id":"CVE-2026-45152","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Nextcloud: PIN bypass in PassCodeActivity via back button","id":"CVE-2026-45153"},"packages":[{"ecosystem":"Go","fixed":["0.27.1"],"introduced":["0"],"last_affected":[],"package":"gitlab.com/uniget-org/cli","purl":null,"source":"GHSA-qqq4-5773-pmw5"},{"ecosystem":"Go","fixed":["0.27.1"],"introduced":["0"],"last_affected":[],"package":"gitlab.com/uniget-org/cli","purl":"pkg:golang/gitlab.com/uniget-org/cli","source":"GHSA-qqq4-5773-pmw5"},{"ecosystem":"Go","fixed":["0.27.1"],"introduced":["0"],"last_affected":[],"package":"gitlab.com/uniget-org/cli","purl":"pkg:golang/gitlab.com/uniget-org/cli","source":"GO-2026-5590"}],"prev":{"headline":"NanoMQ: NULL Pointer Dereference","id":"CVE-2026-45151"},"products":["cli"],"published":"2026-05-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"total"},"state":"PUBLISHED","updated":"2026-05-28","vendors":["uniget-org"]},"summary":"Attackers can execute arbitrary shell commands via malicious metadata in uniget, leading to code execution with user privileges.","url":"https://insights.sbomify.com/CVE-2026-45152/"}