CVE-2021-25927Safe-flat Project Safe-flat
Critical 9.8 No auth needed
Follow: this CVE · Safe-flat Project · Safe-flat Project Safe-flat We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.3% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Apr 26, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Prototype pollution vulnerability in 'safe-flat' versions 2.0.0 through 2.0.1 allows an attacker to cause a denial of service and may lead to remote code execution.
What to do
- Apply the vendor's security update for Safe-flat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | safe-flat |
≥ 2.0.0 < 2.0.2 |
2.0.2 |
npm install safe-flat@2.0.2 |
Per OSV / GitHub Advisories (GHSA-33rv-m2gp-mm2r). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| safe-flat_project | safe-flat | ≥ 2.0.0 < 2.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- www.whitesourcesoftware.com Exploit Third Party Advisory