# CVE-2026-41391: OpenClaw < 2026.3.31 - Environment Variable Bypass in Package Index URL Handling

- Severity: Medium 5.8 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-02T20:57:44.000Z
- Modified: 2026-11-11T21:10:00.200Z
- Also known as: GHSA-7ggg-pvrf-458v
- Weaknesses: CWE-184, CWE-807
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

OpenClaw before 2026.3.31 fails to properly sanitize PIP_INDEX_URL and UV_INDEX_URL environment variables in host execution contexts, allowing attackers to redirect Python package-index traffic. Attackers can exploit this bypass to intercept or manipulate package management operations by injecting malicious index URLs through unsanitized environment variables.

(As written by CVE List.)

## Affected

- OpenClaw OpenClaw: before 2026.3.31 (not affected: 2026.3.31)
- openclaw (npm): before 2026.3.31

## Every score

- VulnCheck: CVSS:4.0 5.8 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 5.3 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-7ggg-pvrf-458v> (vendor-advisory, web)
- <https://github.com/openclaw/openclaw/commit/7ae1bb0c7799fd0cbd2d4de7b0f5b8039837ab8d> (patch, web)
- <https://www.vulncheck.com/advisories/openclaw-environment-variable-bypass-in-package-index-url-handling> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41391> (advisory)
- <https://github.com/openclaw/openclaw> (package)
- <https://github.com/openclaw/openclaw/releases/tag/v2026.3.31> (web)

## Sources

- CVE List: [CVE-2026-41391](https://www.cve.org/CVERecord?id=CVE-2026-41391), CVE Terms of Use, modified 2026-04-29
- GitHub Advisory Database: [GHSA-7ggg-pvrf-458v](https://github.com/advisories/GHSA-7ggg-pvrf-458v), CC-BY-4.0, modified 2026-05-06
- NVD: [CVE-2026-41391](https://nvd.nist.gov/vuln/detail/CVE-2026-41391), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-41391 · Whole record: https://cve.day/CVE-2026-41391.json · Rebuilt by cve.day 2026-11-25T22:59:19.948Z
