CVE-2026-19022: Command Injection in OpenHands
CVE-2026-19022 is a command injection vulnerability in OpenHands affecting versions up to 0.62.0. The flaw exists in the initialize_repo function within the OpenHands/resolver/send_pull_request.py file. Remote exploitation is possible. The vulnerable code path was removed in version 1.7.0. The vulnerability has a medium severity rating with a CVSS score of 5.3.
AI Analysis
Technical Summary
This vulnerability involves command injection in the initialize_repo function of OpenHands up to version 0.62.0. An attacker could remotely exploit this flaw due to improper handling of input in the specified function, allowing arbitrary command execution. The affected file and function were removed in version 1.7.0, effectively eliminating the vulnerability in later releases. No official remediation level or patch link is provided, and the original GitHub issue report was deleted by the vendor.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary commands on the affected system remotely, potentially leading to partial compromise or unauthorized actions. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required, no user interaction, and low impact on confidentiality, integrity, and availability, resulting in a medium severity rating.
Mitigation Recommendations
The vulnerability was effectively mitigated by removing the affected code path in OpenHands version 1.7.0. Users should upgrade to version 1.7.0 or later to eliminate this vulnerability. Since no official patch or advisory is provided, upgrading to the fixed version is the recommended remediation.
CVE-2026-19022: Command Injection in OpenHands
Description
CVE-2026-19022 is a command injection vulnerability in OpenHands affecting versions up to 0.62.0. The flaw exists in the initialize_repo function within the OpenHands/resolver/send_pull_request.py file. Remote exploitation is possible. The vulnerable code path was removed in version 1.7.0. The vulnerability has a medium severity rating with a CVSS score of 5.3.
CVSS v4.0
Score 5.3medium
Affected software
pkg:github/openhands/OpenHandscpe:2.3:a:openhands:openhands:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves command injection in the initialize_repo function of OpenHands up to version 0.62.0. An attacker could remotely exploit this flaw due to improper handling of input in the specified function, allowing arbitrary command execution. The affected file and function were removed in version 1.7.0, effectively eliminating the vulnerability in later releases. No official remediation level or patch link is provided, and the original GitHub issue report was deleted by the vendor.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary commands on the affected system remotely, potentially leading to partial compromise or unauthorized actions. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required, no user interaction, and low impact on confidentiality, integrity, and availability, resulting in a medium severity rating.
Mitigation Recommendations
The vulnerability was effectively mitigated by removing the affected code path in OpenHands version 1.7.0. Users should upgrade to version 1.7.0 or later to eliminate this vulnerability. Since no official patch or advisory is provided, upgrading to the fixed version is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-08-05T22:01:21.353Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a744fddbf8831d5397a3f3f
Added to database: 08/06/2026, 09:11:57 UTC
Last enriched: 08/06/2026, 09:31:38 UTC
Last updated: 08/06/2026, 09:42:52 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.