CVE-2026-19022 OpenHands send_pull_request.py initialize_repo command injection

Medium 5.3 Published Updated

Attackers can execute arbitrary commands via the initialize_repo function in OpenHands, potentially compromising the development environment.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-19022?

CVE-2026-19022 is a medium-severity command injection vulnerability in OpenHands, published on 6 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2026-19022?

How do I fix CVE-2026-19022?

No fix has been published for CVE-2026-19022 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-19022 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-19022 exists.

Sources

Also known as GHSA-f5cw-432q-pfqr.

Is CVE-2026-19022 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free