The toml-node library version prior to 5.0.1 contains a prototype pollution vulnerability due to ambiguous key path encoding and insufficient ownership checks during TOML parsing. This allows a specially crafted TOML document to write properties onto Object.prototype, affecting all objects in the process. The vulnerability arises from a combination of ambiguous path rendering, guard clearing by table-array headers, and unchecked descent into objects such as Date instances. This can lead to widespread pollution of object prototypes, potentially enabling privilege escalation or denial of service.