Runtime option manipulation via inherited prototype properties
Published Dec 18, 2024 · Updated Aug 19, 2026
Prototype pollution in Bun after 0.0.12 and before 1.1.30 allows remote authenticated users to alter native API behavior via crafted objects. Native APIs such as Glob.scan consult inherited Object.prototype properties in option objects rather than restricting reads to properties owned by the supplied object. Exploitation requires attacker-controlled option objects to reach an affected API; polluted values can change filesystem traversal, including symlink following.
Summary
What happened
Prototype pollution in Bun after 0.0.12 and before 1.1.30 allows remote authenticated users to alter native API behavior via crafted objects. Native APIs such as Glob.scan consult inherited Object.prototype properties in option objects rather than restricting reads to properties owned by the supplied object. Exploitation requires attacker-controlled option objects to reach an affected API; polluted values can change filesystem traversal, including symlink following.
The record
- CVE
- CVE-2024-21548
- Published
- Dec 18, 2024
- Updated
- Aug 19, 2026
- Vendor
- Bun
- Product
- Bun
- Classifications
- CWE-1321
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 18, 2024CVE publishedPublication date reported by the CVE source.
- Aug 19, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.0.12 <1.1.30
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Glob.scan prototype-pollution proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo