PoC Monitor
← All CVEs
CVE-2026-33718published 27 Mar 2026 00:12 UTCData: JSON · API

OpenHands

OpenHands is Vulnerable to Command Injection through its Git Diff Handler

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.9critical · scored by NVD · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

OpenHands OpenHands
  • < 1.5.0

Fixed in 1.5.0

Mitigation

Upgrade OpenHands to 1.5.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published27 Mar 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

1 suspicious or fake

Suspicious or fake 1
RepositoryCreatedStarsAssessment
HORKimhab/CVE-2026-33718 29 Jul 2026 +124 d 0 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.