RCE in Openhands
CVE-2026-33718
OpenHands is software for AI-driven development. Starting in version 1.5.0, a Command Injection vulnerability exists in the `get_git_diff()` method at `openhands/runtime/utils/git_handler.py:134`. The `path` parameter from the `/api/conver…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.003 (48.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L.
Affected products
- Openhands — versions < 1.5.0
Weakness classification (CWE)
References
- https://github.com/OpenHands/OpenHands/security/advisories/GHSA-7h8w-hj9j-8rjw (x_refsource_CONFIRM)
- https://github.com/OpenHands/OpenHands/pull/13051 (x_refsource_MISC)
- https://docs.python.org/3/library/shlex.html#shlex.quote (x_refsource_MISC)
- https://docs.python.org/3/library/subprocess.html#security-considerations (x_refsource_MISC)
- https://owasp.org/www-community/attacks/Command_Injection (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-33718?
- CVE-2026-33718 is a high-severity vulnerability in Openhands, classified under OS Command Injection. CVSS score: 7.6/10. Published 2026-03-27.
- How severe is CVE-2026-33718?
- High severity. CVSS v3 base score is 7.6 out of 10.