Replace eval() with safe alternatives to prevent RCE in tool parsers
fix: replace eval() with safe alternatives to prevent RCE in tool parsers (#4786)
Replace eval() with safe alternatives to prevent RCE in tool parsers1b3d22-fix-replace-eval-with-safe-alternatives-to-cve-2026-61539fixreplace eval safe alternatives prevent rce
Committed by Ricardo-M-L
commit message
fix: replace eval() with safe alternatives to prevent RCE in tool parsers (#4786)Editor assessment
This commit patches CVE-2026-61539. `fix: replace eval() with safe alternatives to prevent RCE in tool parsers (#4786)` is a strong subject: it names the dangerous primitive, the replacement intent and the concrete impact, so the purpose is legible without the diff. Then the message stops - no body, no scope, and no note on which safe alternative was chosen or whether users of the tool parsers will notice a behavior change. Because removing eval can alter accepted expression syntax, a sentence on compatibility or on the reachable entry points would have made this publishable at a higher level. Clear and correct, but thin enough to cap out as acceptable.