kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-12481 Deserialization of Untrusted Data in keras-team/keras

설명

A vulnerability in keras-team/keras version 3.14.0 allows for arbitrary code execution due to improper handling of deserialization in the `Lambda` layer. Specifically, the `_raise_for_lambda_deserialization()` function fails to enforce the safe-mode guard when `safe_mode` is set to `None`, which is the default value when `from_config()` is called outside of a `SafeModeScope` context. This logic error conflates `None` (unset/default-deny) with `False` (explicitly disabled), bypassing the guard and allowing attacker-controlled `marshal` bytecode to be deserialized. Affected call sites include `keras.layers.deserialize(config)`, `keras.models.clone_model(model)`, and any direct invocation of `Lambda.from_config(config)` without an enclosing `SafeModeScope(True)`. This vulnerability can be exploited to achieve arbitrary OS-level code execution in the context of the server or user process.

영향 받는 제품 제품 1개

  • keras-team

    keras-team/keras

    영향 받는 버전

    • 버전 정보 확인 필요

    해결 버전

    해결된 버전 정보가 없습니다.

패키지 기준 해결 버전 패키지 1개

  • PyPI · keras

    해결 버전 있음

    영향 받는 버전 · 해결 버전

    • 영향 3.12.3 미만 · 해결 3.12.3 이상
    • 영향 3.13.0 이상 3.15.0 미만 · 해결 3.15.0 이상

출처: GitHub Advisory Database · CC-BY 4.0

참고 자료 1건

‹ 목록

점검 지원 범위 문의

도입 문의