CVE-2021-41088
published high CVSS 3.1 · 8.0Remote code execution via the web UI backend of Elvish
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| elves | — | elvish< 0.14.0 | Affected | Not stated | GitHub_M |
Description
Elvish is a programming language and interactive shell, combined into one package. In versions prior to 0.14.0 Elvish's web UI backend (started by `elvish -web`) hosts an endpoint that allows executing the code sent from the web UI. The backend does not check the origin of requests correctly. As a result, if the user has the web UI backend open and visits a compromised or malicious website, the website can send arbitrary code to the endpoint in localhost. All Elvish releases from 0.14.0 onward no longer include the the web UI, although it is still possible for the user to build a version from source that includes the web UI. The issue can be patched for previous versions by removing the web UI (found in web, pkg/web or pkg/prog/web, depending on the exact version).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.0 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| elves | elvish | < 0.14.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-668 CWE-668: Exposure of Resource to Wrong Sphere
References
2Provider assertions
2GitHub_M · cna
Remote code execution via the web UI backend of Elvish
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b326b239da1b9fd5877f825e5b2d558c1a6ca698b51338922d5ca0c3345e4644
- Ingested
- 23 Sep 2026, 07:56:07 UTC
- Source record
- Official CVE record