1. Accueil
  2. Vulnérabilités
  3. CVE-2026-41507

CVE-2026-41507

math-codegen generates code from mathematical expressions. Prior to version 0.4.3, string literal content…

Publiée le 8 mai 2026 · modifiée le 26 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 51/100

Résumé

math-codegen generates code from mathematical expressions. Prior to version 0.4.3, 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. This issue has been patched in version 0.4.3.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Mauriciopoppe (1 ligne(s))
Mauriciopoppe
ProduitVersionsCorrigé dansSource
Math-codegen avant 0.4.3 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:security-advisories@github.com)
Faiblesse
CWE-94 · Injection de commandes / code

Comment sont obtenues et calculées ces données