CheckCore 취약점 점검 · 조치

CVE-2026-133276 Validation bypass of Pydantic V1 dataclasses allowing extra data

설명

When extra data is allowed (extra=Extra.allow), providing a __pydantic_initialised__ key when validating a Pydantic V1 dataclass makes it considered as already validated, resulting in field values not being validated. The __init__() method of Pydantic V1 dataclasses stores all the provided keyword arguments in the instance __dict__ before validation, so a __pydantic_initialised__ keyword argument overrides the internal flag used to skip validation of already validated instances. As a result, data returned by validation doesn't match the declared type. Affected are applications validating untrusted data into Pydantic V1 dataclasses allowing extra data. The issue was fixed in Pydantic 1.10.27. Users relying on the pydantic.v1 namespace in Pydantic V2 should upgrade to 2.14.2 or later.

영향 받는 제품 제품 1개

  • pydantic

    pydantic

    해결 버전 있음

    영향 받는 버전

    • 1.10.0 이상 1.10.27 미만

    해결 버전

    • 1.10.27 이상

참고 자료 1건

‹ 목록

운영 중인 서버의 점검 지원 범위가 궁금하면

도입 문의