{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-28627 exists.","fix":"No fix has been published for CVE-2023-28627 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-28627 is a high-severity command injection vulnerability in pymedusa Medusa, published on 27 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-28627 and fix it if it is affected.\n\nWhat it is: CVE-2023-28627 is a high-severity command injection vulnerability in pymedusa Medusa, published on 27 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-28627 exists.\n\nAffected product: pymedusa Medusa. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2023-28627/ (Markdown: https://insights.sbomify.com/CVE-2023-28627/index.md)","id":"CVE-2023-28627","markdown":"https://insights.sbomify.com/CVE-2023-28627/index.md","name":"CVE-2023-28627","record":{"aliases":["GHSA-6589-x6f5-cgg9"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"TV Show Library Manager","requires_auth":"none","summary":"An attacker with web interface access can inject arbitrary OS commands via the git path setting, leading to remote code execution.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"medusa","vendor":"pymedusa"}],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"pymedusa is an automatic video library manager for TV Shows. In versions prior 1.0.12 an attacker with access to the web interface can update the git executable path in /config/general/ \u003e advanced settings with arbitrary OS commands. An attacker may exploit this vulnerability to take execute arbitrary OS commands as the user running the pymedusa program. Users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"OS Command Injection via GIT_PATH in pymedusa","id":"CVE-2023-28627","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"`authority-regex` returns the wrong authority in lambdaisland/uri","id":"CVE-2023-28628"},"packages":[],"prev":{"headline":"Quadratic runtime when parsing Markdown in comrak","id":"CVE-2023-28626"},"products":["Medusa"],"published":"2023-03-27","related":[{"cvss_score":5.3,"headline":"Blind SSRF in `/home/testdiscord` endpoint","id":"CVE-2023-50258","kev_date_added":null,"published":"2023-12-22"},{"cvss_score":5.3,"headline":"Blind SSRF in /home/testslack endpoint","id":"CVE-2023-50259","kev_date_added":null,"published":"2023-12-22"}],"sources":[{"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-19","vendors":["pymedusa"]},"summary":"An attacker with web interface access can inject arbitrary OS commands via the git path setting, leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2023-28627/"}