SecurityContext

CVE-2026-41139: Math.js - Command Injection

  • Cve: CVE-2026-41139
  • Name: Math.js - Command Injection
  • Description: Math.js is an extensive math library for JavaScript and Node.js. From version 13.1.0 to before version 15.2.0, arbitrary JavaScript can be executed via the expression parser of mathjs. This issue has been patched in version 15.2.0.
  • Impact: Attackers can execute arbitrary JavaScript code remotely, potentially leading to full system compromise.
  • Remediation: Upgrade to version 15.2.0 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00577
  • Epss percentile: 0.48224
  • Assignee: [email protected]
  • Published at: 2026-05-07T06:16:04Z
  • Age in days: 201
  • Modified at: 2026-10-26T21:10:00Z
  • Patch available: yes
  • References total: 8
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-41139
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-915Improperly Controlled Modification of Dynamically-Determined Object Attributes
CWE-94Improper Control of Generation of Code

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/josdejong/mathjs/commit/0aee2f61866e35ffa0aef915221cdf6b026ffdd4Patch
https://github.com/josdejong/mathjs/commit/bcf0da46f0b8577ec03c9ecd7bff8b5c2543a611Patch
https://github.com/josdejong/mathjs/pull/3656Issue Tracking, Patch
https://github.com/josdejong/mathjs/security/advisories/GHSA-5v89-rwgr-qj6gPatch, Vendor Advisory
https://github.com/josdejong/mathjs/releases/tag/v15.2.0Release Notes
https://access.redhat.com/security/cve/CVE-2026-41139
https://bugzilla.redhat.com/show_bug.cgi?id=2467648
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41139.json

Products

ProductAffectedPlatform boundSourcesUrl
mathjs:mathjs>= 13.1.0, < 15.2.0nonvd/v1/products/mathjs/mathjs

Projects

RepositoryLink kindsIndexedUrl
josdejong/mathjscommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/josdejong/mathjs

Index

  • Repositories: 10
  • Repositories high signal: 7
  • Packages: 1

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts