Skip to main content
VulnerabilityPublished Updated

CVE-2024-36581: badger-database · Code Injection

Affects badger-databaseSource CVE Database V5

0

Not known to be exploited · CVSS 7.6 High.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
7.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Jun 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
npmabw/badger-databasepkg:npm/abw/badger-databaseOther threatsAffected
  • =1.2.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Given the absence of official patches, organizations should immediately audit their use of the abw badger-database library and identify all affected instances. Temporary mitigations include isolating or sandboxing applications using this library to limit potential damage from exploitation. Implement strict input validation and sanitization to reduce the risk of prototype pollution vectors reaching the vulnerable code. Employ runtime application self-protection (RASP) or Web Application Firewalls (WAFs) with custom rules to detect and block suspicious payloads targeting prototype pollution. Monitor logs and network traffic for unusual activity indicative of exploitation attempts. Engage with the library maintainers to track patch releases and apply updates promptly once available. Consider replacing or refactoring the use of the vulnerable library with alternative, secure database solutions if feasible. Conduct thorough security testing, including fuzzing and static analysis, to detect similar vulnerabilities in dependent code. Educate development teams about prototype pollution risks and secure coding practices to prevent future issues.

Description

A Prototype Pollution issue in abw badger-database 1.2.1 allows an attacker to execute arbitrary code via dist/badger-database.esm.

References

Community reviews

Loading reviews…