BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-29221 in Erlang/Otp and 1 more product

High 7.0

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.

CVSS 3.17.0
EPSS0.6%
EPSS percentile42th
FixUnknown

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

VendorProductAffected 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-exploitedNot in the CISA KEV catalog
Public exploitNot 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 IDCVE-2021-29221
BreachSpider IDBS-2021-GLOBAL-079845-H
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2021-04-09
Last modified2026-06-17
Weakness (CWE)
SourceNVD

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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.