CVE-2020-8158: Prototype pollution vulnerability in the TypeORM package < 0.2.25 may allow attackers to add or modify Object
CVE-2020-8158 is a critical-severity flaw (CVSS 9.8) affecting typeorm. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Prototype pollution vulnerability in the TypeORM package < 0.2.25 may allow attackers to add or modify Object properties leading to further denial of service or SQL injection attacks.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-8158?
typeorm: upgrade to 0.2.25. Exact commands for each OS are on this page.
Is CVE-2020-8158 being exploited?
CVE-2020-8158 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-8158 affect?
CVE-2020-8158 affects typeorm. Severity is critical (CVSS 9.8). Prototype pollution vulnerability in the TypeORM package < 0.2.25 may allow attackers to add or modify Object properties leading to further denial of service or SQL injection attacks.
How urgent is CVE-2020-8158?
Priority 65/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2022-33171 CRITICAL 9.8 UPGRADE The findOne function in TypeORM before 0.3.0 can either be supplied with a string or a FindOneOptions object