Description
A vulnerability was determined in OpenHands up to 0.62.0. The affected element is the function initialize_repo of the file OpenHands/resolver/send_pull_request.py. This manipulation causes command injection. Remote exploitation of the attack is possible. The vendor deleted the original GitHub issue report. It appears that the affected path/file got removed in version 1.7.0.
Published: 2026-08-06
Score: 5.3 Medium
EPSS: 1.3% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A command injection flaw exists in the initialize_repo function in OpenHands/resolver/send_pull_request.py. Unsanitized input supplied to this function can lead to arbitrary shell command execution by a remote actor. The vulnerability can be exploited over the network and may allow an attacker to compromise confidentiality, integrity, or availability by running arbitrary code on the host where OpenHands runs.

Affected Systems

OpenHands OpenHands is affected up to the 0.62.0 release; the vulnerability was removed in version 1.7.0. The flaw is present in all earlier releases of the project that include the cited file. No additional vendor or product information is available.

Risk and Exploitability

The CVSS base score of 5.3 reflects a medium severity vulnerability. The EPSS score of 1% indicates a low but nonzero exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. The description indicates remote exploitation is possible, so the likely attack vector is transmitted by an attacker through an external API or web interface that triggers initialize_repo. Successful exploitation would allow the attacker to execute arbitrary commands, giving full control of the host.

Generated by OpenCVE AI on August 6, 2026 at 14:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenHands to version 1.7.0 or later where the vulnerable path was removed.
  • Restrict the privileges of the OpenHands service to prevent arbitrary shell execution if injection occurs.
  • Sanitize or validate all user inputs before using them in shell commands within initialize_repo to mitigate CWE‑77 and CWE‑74.

Generated by OpenCVE AI on August 6, 2026 at 14:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 06 Aug 2026 09:15:00 +0000

Type Values Removed Values Added
Description A vulnerability was determined in OpenHands up to 0.62.0. The affected element is the function initialize_repo of the file OpenHands/resolver/send_pull_request.py. This manipulation causes command injection. Remote exploitation of the attack is possible. The vendor deleted the original GitHub issue report. It appears that the affected path/file got removed in version 1.7.0.
Title OpenHands send_pull_request.py initialize_repo command injection
First Time appeared Openhands
Openhands openhands
Weaknesses CWE-74
CWE-77
CPEs cpe:2.3:a:openhands:openhands:*:*:*:*:*:*:*:*
Vendors & Products Openhands
Openhands openhands
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X'}


Subscriptions

Openhands Openhands
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-06T15:04:51.521Z

Reserved: 2026-08-05T22:01:21.353Z

Link: CVE-2026-19022

cve-icon Vulnrichment

Updated: 2026-08-06T15:04:17.642Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-06T14:45:03Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')