CVE-2026-4039 OpenClaw Skill Env applySkillConfigenvOverrides code injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary code via the applySkillConfigenvOverrides function in OpenClaw, requiring an upgrade to the latest version.

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

What is CVE-2026-4039?

CVE-2026-4039 is a medium-severity code injection vulnerability in Openclaw Openclaw, published on 12 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was determined in OpenClaw 2026.2.19-2. This vulnerability affects the function applySkillConfigenvOverrides of the component Skill Env Handler. Executing a manipulation can lead to code injection. It is possible to launch the attack remotely. Upgrading to version 2026.2.21-beta.1 is able to resolve this issue. This patch is called 8c9f35cdb51692b650ddf05b259ccdd75cc9a83c. It is recommended to upgrade the affected component.

Weakness: CWE-94, CWE-74

Which versions are affected by CVE-2026-4039?

2 open source packages ship an affected version, including openclaw. It affects 1 product.

PackageAffectedFixed in
openclaw npmAll versions2026.2.21
openclaw npmAll versions2026.2.21

Products include Openclaw Openclaw.

How do I fix CVE-2026-4039?

Upgrade openclaw to 2026.2.21 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-4039 being exploited?

There is no known exploitation of CVE-2026-4039 in the wild and no public exploit code.

All Openclaw Openclaw vulnerabilities

Sources

Also known as GHSA-82g8-464f-2mv7, MINI-hqv2-66gc-g926.

Is CVE-2026-4039 in your software?

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

Check your SBOMs for free