Skip to content

Commit 7429558

Browse files
1 parent 20adaf7 commit 7429558

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-9cqf-439c-j96r",
4+
"modified": "2026-04-03T03:48:48Z",
5+
"published": "2026-04-03T03:48:48Z",
6+
"aliases": [
7+
"CVE-2026-35171"
8+
],
9+
"summary": "Kedro has Arbitrary Code Execution via Malicious Logging Configuration",
10+
"details": "### Impact\n\nThis is a **critical Remote Code Execution (RCE)** vulnerability caused by unsafe use of `logging.config.dictConfig()` with user-controlled input.\n\nKedro 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.\n\n---\n\n### Patches\n\nThe vulnerability is fixed by introducing validation that rejects the unsafe `()` factory key in logging configurations before passing them to `dictConfig()`.\n\n#### Fixed in\n- Kedro 1.3.0\n\nUsers should upgrade to this version as soon as possible.\n\n---\n\n### Workarounds\n\nIf upgrading is not immediately possible:\n\n- Do not allow untrusted input to control the `KEDRO_LOGGING_CONFIG` environment variable \n- Restrict write access to logging configuration files \n- Avoid using externally supplied or dynamically generated logging configs \n- Manually validate logging YAML to ensure it does not contain the `()` key \n\nThese mitigations reduce risk but do not fully eliminate it.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "PyPI",
21+
"name": "kedro"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "1.3.0"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "WEB",
41+
"url": "https://github.com/kedro-org/kedro/security/advisories/GHSA-9cqf-439c-j96r"
42+
},
43+
{
44+
"type": "PACKAGE",
45+
"url": "https://github.com/kedro-org/kedro"
46+
}
47+
],
48+
"database_specific": {
49+
"cwe_ids": [
50+
"CWE-94",
51+
"CWE-502"
52+
],
53+
"severity": "CRITICAL",
54+
"github_reviewed": true,
55+
"github_reviewed_at": "2026-04-03T03:48:48Z",
56+
"nvd_published_at": null
57+
}
58+
}

0 commit comments

Comments
 (0)