# CVE-2021-25946: Prototype pollution in nconf-toml

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.30%, higher than 88% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-05-25T18:48:25.000Z
- Modified: 2026-06-17T03:42:39.433Z
- Also known as: GHSA-hx7j-43w2-7rj7
- Weaknesses: CWE-1321
- Assigned by: Mend

## Description

Prototype pollution vulnerability in `nconf-toml` versions 0.0.1 through 0.0.2 allows an attacker to cause a denial of service and may lead to remote code execution.

(As written by CVE List.)

## Affected

- nconf-toml: 0.0.1,0.0.2
- nconf-toml (npm): from 0.0.1 up to 0.0.2
- nconf-toml_project nconf-toml: from 0.0.1 up to 0.0.2

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25946> (exploit, third-party-advisory, web)
- <https://github.com/RobLoach/nconf-toml/blob/8ade08cd1cfb9691ab7cc5c3514cc05c5085918f/index.js#L8> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25946> (advisory)
- <https://github.com/RobLoach/nconf-toml> (package)

## Sources

- CVE List: [CVE-2021-25946](https://www.cve.org/CVERecord?id=CVE-2021-25946), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-hx7j-43w2-7rj7](https://github.com/advisories/GHSA-hx7j-43w2-7rj7), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-25946](https://nvd.nist.gov/vuln/detail/CVE-2021-25946), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25946 · Whole record: https://cve.day/CVE-2021-25946.json · Rebuilt by cve.day 2026-11-25T22:58:01.531Z
