RUSTSEC-2025-0156 `tree-sitter-pkl` was removed from crates.io for malicious code
A malicious Rust crate exfiltrated environment data, requiring developers to remove the compromised dependency from their projects.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is RUSTSEC-2025-0156?
RUSTSEC-2025-0156 is a vulnerability in tree-sitter-pkl, published on 10 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
tree-sitter-pkl was part of a campaign that attempted to exfiltrate
environmental data from the host.
The malicious crate had 1 version published in March 2025, and had no evidence of actual usage. This crate had no dependencies on crates.io.
Which versions are affected by RUSTSEC-2025-0156?
1 open source package ship an affected version, including tree-sitter-pkl.
| Package | Affected | Fixed in |
|---|---|---|
tree-sitter-pkl crates.io | From 0.0.0-0 | None |
How do I fix RUSTSEC-2025-0156?
No fix has been published for RUSTSEC-2025-0156 yet. Limit exposure of the affected software until one is available.
Is RUSTSEC-2025-0156 being exploited?
There is no known exploitation of RUSTSEC-2025-0156 in the wild and no public exploit code.