This is a critical Remote Code Execution (RCE) vulnerability caused by unsafe use of logging.config.dictConfig() with user-controlled input.
Kedro allows the logging configuration file path to be set via the KEDRO_LOGGING_CONFIG environment variable and loads it without validation. The logging configuration schema supports the special () key, which enables arbitrary callable instantiation. An attacker can exploit this to execute arbitrary system commands during application startup.
The vulnerability is fixed by introducing validation that rejects the unsafe () factory key in logging configurations before passing them to dictConfig().
Users should upgrade to this version as soon as possible.
If upgrading is not immediately possible:
KEDRO_LOGGING_CONFIG environment variable () key These mitigations reduce risk but do not fully eliminate it.
{
"cwe_ids": [
"CWE-94",
"CWE-502"
],
"github_reviewed": true,
"nvd_published_at": null,
"severity": "CRITICAL",
"github_reviewed_at": "2026-04-03T03:48:48Z"
}