CVE-2026-33718OpenHands is software for AI-driven development.
Updated under an hour ago ()
Does this affect you?
It affects openhands. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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/conversations/{conversation_id}/git/diff` API endpoint is passed unsanitized to a shell command, allowing authenticated attackers to execute arbitrary commands in the agent sandbox. The user is already allowed to instruct the agent to execute commands, but this bypasses the normal channels. Version 1.5.0 fixes the issue.
- CVSS
- 9.9 CRITICAL (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Weakness (CWE)
- CWE-78
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Not given
- NVD analysis
- Analyzed
- Record last updated
- Jun 17, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
openhands openhands openhands:openhands | before 1.5.0 | NVD |
References
- https://docs.python.org/3/library/shlex.html#shlex.quotetechnical-description
- https://docs.python.org/3/library/subprocess.html#security-considerationstechnical-description
- https://github.com/OpenHands/OpenHands/pull/13051issue-tracking, patch
- https://github.com/OpenHands/OpenHands/security/advisories/GHSA-7h8w-hj9j-8rjwexploit, mitigation, vendor-advisory
- https://owasp.org/www-community/attacks/Command_Injectiontechnical-description
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.