---
title: "toml security advisories"
description: "6 known security advisories for toml, with the versions they affect and the version that fixes each."
url: https://inlinr.com/packages/toml/security
lang: en
---

[Packages](https://inlinr.com/packages)

# toml

5.0.1 · 12 Oct 2026 MIT 41.8M / week [Repository](https://github.com/BinaryMuse/toml-node) [Homepage](https://github.com/BinaryMuse/toml-node#readme) [npm](https://www.npmjs.com/package/toml) [Atom feed](https://inlinr.com/packages/feed/toml)

Your version 

## Security advisories

From OSV, open ones first. Each release line gets its own fix: an older major is fixed by a patch on that major, not by moving to the newest one.

| Line | Newest | Where it stands                                                            |
| ---- | ------ | -------------------------------------------------------------------------- |
|      | 5.0.1  | Safe from 5.0.1                                                            |
|      | 4.3.0  | 4 open advisories, worst high                                              |
|      | 3.0.0  | 48 open advisories, worst high  · last release Jan 2019, no longer updated |

- High  
[toml-node: Prototype pollution: parsing a TOML document can write to Object.prototype](https://inlinr.com/advisories/GHSA-h895-cgqg-jf52)GHSA-h895-cgqg-jf52 · 22 Oct 2026  
fixed in 5.0.1
- High  
[toml-node: Quadratic-complexity DoS via many array-of-tables headers in toml.parse()](https://inlinr.com/advisories/GHSA-4qx8-w7c3-pj3p)GHSA-4qx8-w7c3-pj3p · 22 Oct 2026  
fixed in 5.0.1
- High  
[toml-node: Quadratic-complexity DoS via long dotted keys or table paths in toml.parse()](https://inlinr.com/advisories/GHSA-9j65-hcg3-gc64)GHSA-9j65-hcg3-gc64 · 22 Oct 2026  
fixed in 5.0.1
- High  
[toml-node: Uncontrolled resource consumption (CPU DoS) via unbounded-length integer literals in toml.parse()](https://inlinr.com/advisories/GHSA-9qmh-m7c6-f92p)GHSA-9qmh-m7c6-f92p · 22 Oct 2026  
fixed in 5.0.1
- High  
[toml-node: Uncontrolled Recursion](https://inlinr.com/advisories/GHSA-82x6-q7mm-w9cf)GHSA-82x6-q7mm-w9cf · 3 Sep 2026  
fixed in 4.2.0
- High  
[toml-node: Prototype Pollution Leads to \`Object.prototype\` Corruption via \`\_\_proto\_\_\` Key-Path Desynchronization](https://inlinr.com/advisories/GHSA-v5mp-jgw5-2x6j)GHSA-v5mp-jgw5-2x6j · 3 Sep 2026  
fixed in 4.1.2

### Quality and security signals

What [npm](https://www.npmjs.com/package/toml) and [deps.dev](https://deps.dev/npm/toml) say about the latest release. Signals, not a verdict.

Reading npm and deps.dev…

Reading releases, release notes and advisories…

Registry facts last checked 19 Nov 2026\. Releases and advisories last read 19 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
