CWE-627: Dynamic Variable Evaluation, published in 2025
Filter
In a language where the user can influence the name of a variable at runtime, if the variable names are not controlled, an attacker can read or write to arbitrary variables, or access arbitrary functions.
What the weakness is: CWE-627 at MITRE. All weaknesses
Ask an AI about CWE-627
Show the prompt
Explain CWE-627: Dynamic Variable Evaluation and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/627.html and https://cve.bz/cve/cwe/627?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 9.8CVE-2024-8953composioEPSS 1.3%
In composiohq/composio version 0.4.3, the mathematical_calculator endpoint uses the unsafe eval() function to perform mathematical operations. This can lead to arbitrary code execution if untrusted input is passed to the eval() function.