{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-11816: Path Traversal in keras-team/keras","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-11816","status":"final","version":"1","initial_release_date":"2026-06-11T13:31:52.492Z","current_release_date":"2026-06-11T15:41:29.515Z","revision_history":[{"date":"2026-06-11T13:31:52.492Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"Keras versions prior to 3.14.0 are vulnerable to a path traversal issue in the archive extraction utilities located in `keras/src/utils/file_utils.py`. The functions `filter_safe_tarinfos()` and `filter_safe_zipinfos()` validate archive member paths against the process current working directory (CWD) instead of the actual extraction destination. When the process runs with CWD set to `/`, which is common in Docker containers, CI/CD runners, and Jupyter environments, the validation boundary becomes the filesystem root, allowing traversal paths to bypass the security check. Additionally, the zip filter contains a bug that causes an `AttributeError` when a blocked entry is encountered, leading to incomplete extraction. Furthermore, Python 3.11 installations lack the `filter=\"data\"` safety net, leaving them entirely reliant on the flawed CWD-based filter. Exploitation of this vulnerability can result in arbitrary file writes outside the intended extraction directory, enabling attackers to overwrite configuration files, inject malicious code, or corrupt machine learning datasets and pipelines.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-11816 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-11816"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-11816"},{"category":"external","summary":"huntr.com","url":"https://huntr.com/bounties/a07e3983-7158-4419-af2b-38f1dea01a4f"},{"category":"external","summary":"github.com","url":"https://github.com/keras-team/keras/commit/2465b6657b02c8eed308759b7e800e295ae01888"}]},"product_tree":{"branches":[{"category":"vendor","name":"keras-team","branches":[{"category":"product_name","name":"keras-team/keras","branches":[{"category":"product_version_range","name":">=unspecified <3.14.0","product":{"name":"keras-team keras-team/keras >=unspecified <3.14.0","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:keras-team:keras-team\\/keras:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-11816","title":"Path Traversal in keras-team/keras","notes":[{"category":"description","text":"Keras versions prior to 3.14.0 are vulnerable to a path traversal issue in the archive extraction utilities located in `keras/src/utils/file_utils.py`. The functions `filter_safe_tarinfos()` and `filter_safe_zipinfos()` validate archive member paths against the process current working directory (CWD) instead of the actual extraction destination. When the process runs with CWD set to `/`, which is common in Docker containers, CI/CD runners, and Jupyter environments, the validation boundary becomes the filesystem root, allowing traversal paths to bypass the security check. Additionally, the zip filter contains a bug that causes an `AttributeError` when a blocked entry is encountered, leading to incomplete extraction. Furthermore, Python 3.11 installations lack the `filter=\"data\"` safety net, leaving them entirely reliant on the flawed CWD-based filter. Exploitation of this vulnerability can result in arbitrary file writes outside the intended extraction directory, enabling attackers to overwrite configuration files, inject malicious code, or corrupt machine learning datasets and pipelines.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","baseScore":8.1,"baseSeverity":"HIGH"},"products":["CSAFPID-1"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 3.14.0.","product_ids":["CSAFPID-1"]}]}]}