Zurück zur Liste

Remote Code Execution (RCE) via String Literal Injection into math-codegen — CVE-2026-41507

GitHub · GitHub · CVE-2026-41507

ID
CVE-2026-41507
Datum
Aktualisiert
Activity
Quelle
GitHub
Vendor
GitHub
Risiko
critical
CVSS
9.8
EPSS
0.00045

Zusammenfassung

### Impact String literal content passed to `cg.parse()` is injected verbatim into a `new Function()` body without sanitization. This allows an attacker to execute arbitrary system commands when user-controlled input reaches the parser. Any application exposing a math evaluation endpoint where user input flows into `cg.parse()` is vulnerable to full RCE. ### Patches The vulnerability is addressed by using…

Produkt

npm: math-codegen

Was tun?

Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):

  • Priorisiere sofort Patches oder Mitigations (hohes akutes Risiko).
  • Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
  • Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
  • Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.

Offizielles Advisory

Mehr dazu