CVE-2026-81662: Flowintel Alert Settings Configuration Allows Remote Code Execution via Arbitrary Configuration Keys
Affected versions of Flowintel improperly trust configuration keys supplied to the alerts settings update endpoint. While configuration values were normalized to Python literals, the corresponding keys were used directly when constructing and replacing lines in conf/configmodule.py.
The vulnerable code used requester-controlled keys in both the regular expression and the generated assignment:
f'{key} = {pyval}'
and appended an assignment if the key was not already present. The modified Python configuration module was subsequently reloaded using importlib.reload(). This creates a code-generation boundary in which specially crafted configuration keys can alter the Python source structure and result in execution of attacker-controlled Python statements.
Version impacted >=3.3.0
Affected Software
Event History
Frequently Asked Questions
Which versions should be considered affected?
Flowintel Alert Settings Configuration versions 3.3.0 and later are impacted.
What attacker-controlled input reaches the unsafe code path?
Configuration keys supplied to the alerts settings update endpoint are used directly in both a regular expression and generated Python assignment statements. The configuration values are normalized to Python literals, but the keys are not safely constrained before being written to conf/config_module.py.
When does the injected configuration take effect?
The modified conf/config_module.py file is subsequently reloaded with importlib.reload(). A crafted key can therefore alter the Python source structure and cause attacker-controlled Python statements to execute during that reload.