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

CVE-2026-49858 API Platform Core: Cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate

설명

API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. In versions from 2.6.0 prior to 4.1.29, 4.2.26, and 4.3.12, a missing isCacheKeySafe gate in the JSON:API and HAL item normalizers causes a cross-user attribute leak. #[ApiProperty(security: ...)] is evaluated per request to decide whether a property is exposed. The componentsCache arrays in ApiPlatform\JsonApi\Serializer\ItemNormalizer and ApiPlatform\Hal\Serializer\ItemNormalizer are keyed on $context['cache_key'], which is set unconditionally before delegating to the parent normalizer. The component structure (attributes, relationships, links) computed for one request can therefore be reused for a subsequent request whose user has a different set of accessible properties. A user with lower privileges may end up seeing the structure of properties that the security predicate would otherwise have hidden for them. This issue has been fixed in versions 4.1.29, 4.2.26, and 4.3.12.

영향 받는 제품 제품 3개

  • api-platform

    core

    해결 버전 있음

    영향 받는 버전

    • 2.6.0 이상 4.1.29 미만
    • 4.2.0 이상 4.2.25 미만
    • 4.3.0 이상 4.3.8 미만

    해결 버전

    • 4.1.29 이상
    • 4.2.25 이상
    • 4.3.8 이상
  • api-platform

    api-platform/hal

    해결 버전 있음

    영향 받는 버전

    • 2.6.0 이상 4.1.29 미만
    • 4.2.0 이상 4.2.25 미만
    • 4.3.0 이상 4.3.8 미만

    해결 버전

    • 4.1.29 이상
    • 4.2.25 이상
    • 4.3.8 이상
  • api-platform

    api-platform/json-api

    해결 버전 있음

    영향 받는 버전

    • 2.6.0 이상 4.1.29 미만
    • 4.2.0 이상 4.2.25 미만
    • 4.3.0 이상 4.3.8 미만

    해결 버전

    • 4.1.29 이상
    • 4.2.25 이상
    • 4.3.8 이상

참고 자료 1건

‹ 목록

점검 지원 범위 문의

도입 문의