CVE-2021-29221 in Erlang/Otp and 1 more product
A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. By adding files to an existing installation's directory, a local attacker could hijack accounts of other users running Erlang programs or possibly coerce a service running with "erlsrv.exe" to execute arbitrary code as L...
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, high complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Erlang | Erlang/Otp | < 23.2.3 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Microsoft Windows
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. By adding files to an existing installation's directory, a local attacker could hijack accounts of other users running Erlang programs or possibly coerce a service running with "erlsrv.exe" to execute arbitrary code as Local System. This can occur only under specific conditions on Windows with unsafe filesystem permissions.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-29221 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-079845-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2021-04-09 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-426: CWE-426
Related attack patterns (CAPEC)
CAPEC-38 Leveraging/Manipulating Configuration File Search Paths via CWE-426
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A local privilege escalation vulnerability exists in Erlang/OTP prior to version 23.2.3, allowing a local attacker to hijack user accounts or execute arbitrary code as Local System under specific conditions on Windows.
The vulnerability can be exploited by adding malicious files to an existing Erlang/OTP installation directory, which could be leveraged to hijack user accounts or execute arbitrary code if the service is running with elevated privileges.
Questions
What is CVE-2021-29221?
A local privilege escalation vulnerability exists in Erlang/OTP prior to version 23.2.3, allowing a local attacker to hijack user accounts or execute arbitrary code as Local System under specific conditions on Windows.
What is the CVSS score for CVE-2021-29221?
CVE-2021-29221 has CVSS 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.6%.
Is CVE-2021-29221 actively exploited?
No confirmed active exploitation of CVE-2021-29221 as of 2026-09-25.
How do I remediate CVE-2021-29221?
Priority: HIGH.
What systems are affected by CVE-2021-29221?
CVE-2021-29221 affects Erlang Erlang/Otp.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Erlang","product":"Erlang/Otp","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.