CVE•Published 2026-05-08•Modified 2026-05-12•1 article on news•5 live references•NVD data
CVE-2026-41507Mauriciopoppe · Math-codegen
Vulnerability data via NVD (ingested)
CVSS v3.1
9.8
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS percentile
—
Weaknesses (CWE)
Description
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.
Timeline
Published 2026-05-08
Modified 2026-05-12
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
Shodan · vuln tag0 hosts
vuln:CVE-2026-41507Hosts Shodan has explicitly fingerprinted as vulnerable.
Shodan · product
product:"Mauriciopoppe Math-codegen"All exposed Mauriciopoppe Math-codegen instances — cross-reference with the CVE's affected-version range.
Shodan · banner/body mention
http.html:"Math-codegen"HTTP body or banner mentions "Math-codegen" — catches deploys Shodan didn't identify as a product.
More intel sources (5)
Shodan report
vuln:CVE-2026-41507Country / ASN / product breakdown for the vuln query.
Censys
vulnerabilities.cve_id: CVE-2026-41507Censys host search filtered to this CVE id.
grep.app
CVE-2026-41507Public source-code mentions — fast PoC discovery.
GitHub code
CVE-2026-41507GitHub code search for direct mentions.
Google dork
"CVE-2026-41507" exploit -site:nvd.nist.govWrite-ups and news, NVD excluded.
Known PoCs on GitHub
No public proof-of-concept repositories found for CVE-2026-41507 on GitHub.