# CVE-2026-4039: OpenClaw Skill Env applySkillConfigenvOverrides code injection

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.69% (percentile 48, 2026-11-29)
- **CWE:** CWE-94, CWE-74
- **Aliases:** GHSA-82g8-464f-2mv7
- **Published:** 2026-02-27T21:36:17.000Z
- **Modified:** 2026-06-17T10:55:53.147Z

## Who should check

- Projects that depend on npm package openclaw (\< 2026.2.21)
- Anyone running OpenClaw 2026.2.19-2

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

## Affected and fixed versions

- npm `openclaw`: affected \< 2026.2.21; fixed 2026.2.21 (osv)
- OpenClaw: 2026.2.19-2 (cvelist)

## Mitigation

- Upgrade openclaw to 2026.2.21 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-4039. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-4039.md
Affected: openclaw < 2026.2.21
Fixed in: 2026.2.21

Steps:
1. Search this machine and project for openclaw (npm), OpenClaw: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-4039 being exploited?

There is no confirmed exploitation: CVE-2026-4039 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.69% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-4039?

Medium: CVSS 5.3 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-4039?

openclaw \< 2026.2.21.

### Is there a fix for CVE-2026-4039?

Yes. Fixed in 2026.2.21. Upgrade openclaw to 2026.2.21 or later.

### How do I check if I'm affected by CVE-2026-4039?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/openclaw/openclaw/security/advisories/GHSA-82g8-464f-2mv7>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-4039>
- patch: <https://github.com/openclaw/openclaw/commit/8c9f35cdb51692b650ddf05b259ccdd75cc9a83c>
- patch: <https://github.com/openclaw/openclaw/releases/tag/v2026.2.21-beta.1>
- article: <https://vuldb.com/?id.350651>
- other: <https://vuldb.com/?ctiid.350651>
- other: <https://vuldb.com/?submit.769580>
- other: <https://github.com/openclaw/openclaw/>
- other: <https://github.com/openclaw/openclaw>
- other: <https://github.com/openclaw/openclaw/releases/tag/v2026.2.21>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-4039>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-82g8-464f-2mv7> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-4039> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-4039>
