CVE-2021-3830523andme Yamale
High 7.8
Follow: this CVE · 23andme · 23andme Yamale We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 85
- Auth required
- Yes
- Published
- Aug 9, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-434
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
23andMe Yamale before 3.0.8 allows remote attackers to execute arbitrary code via a crafted schema file. The schema parser uses eval as part of its processing, and tries to protect from malicious expressions by limiting the builtins that are passed to the eval. When processing the schema, each line is run through Python's eval function to make the validator available. A well-constructed string within the schema rules can execute system commands; thus, by exploiting the vulnerability, an attacker can run arbitrary code on the image that invokes Yamale.
What to do
- Apply the vendor's security update for Yamale.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | yamale |
< 3.0.8 |
3.0.8 |
pip install "yamale>=3.0.8" |
| PyPI | yamale |
< 3.0.8 |
3.0.8 |
pip install "yamale>=3.0.8" |
Per OSV / GitHub Advisories (GHSA-435p-f82x-mxwm, PYSEC-2021-119). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 23andme | yamale | < 3.0.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory