p PatchFirst

PatchFirst · Latest vulnerabilities

api-platform/core vulnerabilities

Vulnerabilities published for api-platform/core in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 8

  1. CVE-2026-49858

    Medium · CVSS 5.9EPSS 0.32%Fix available

    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 on

    • Update to 4.1.29
    • Update to 4.2.25
    • Update to 4.3.8
    Published Updated
  2. CVE-2026-54164

    Medium · CVSS 6.5EPSS 0.34%Fix available

    API Platform Core: Missing IRI type check enables resource type confusion

    API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. In versions prior to 4.1.30, 4.2.26 and 4.3.12, the serializer's AbstractItemNormalizer does not validate the resource type returned when resolving relation IRIs, allowing type confusion where a resource of an unintended type can be silently assigned to a relation property. An attacker who can submit write requests (POST/PUT/PATCH) to an API Platform endpoint with writable relations can supply a relation IRI pointing to a resource of a different type than the relation's declared class. Because getResourceFromIri() does not pass an $operation to IriConverter::getR

    • Update to 4.1.30
    • Update to 4.2.26
    • Update to 4.3.12
    Published Updated
  3. CVE-2025-31485

    High · CVSS 7.5EPSS 0.63%Fix available

    GraphQL grant on a property might be cached with different objects

    API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. Prior to 4.0.22 and 3.4.17, a GraphQL grant on a property might be cached with different objects. The ApiPlatform\GraphQl\Serializer\ItemNormalizer::isCacheKeySafe() method is meant to prevent the caching but the parent::normalize method that is called afterwards still creates the cache key and causes the issue. This vulnerability is fixed in 4.0.22 and 3.4.17.

    • Update to 3.4.17
    • Update to 4.0.22
    • Update to 4.1.5
    Published Updated
  4. CVE-2025-31481

    High · CVSS 7.5EPSS 0.47%Fix available

    GraphQL query operations security can be bypassed

    API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. Using the Relay special node type you can bypass the configured security on an operation. This vulnerability is fixed in 4.0.22 and 3.4.17.

    • Update to 3.4.17
    • Update to 4.0.22
    • Update to 4.1.5
    Published Updated
  5. CVE-2023-47639

    Medium · CVSS 5.3EPSS 0.39%Fix available

    API Platform Core can leak exceptions message that may contain sensitive information

    API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. From 3.2.0 until 3.2.4, exception messages, that are not HTTP exceptions, are visible in the JSON error response. This vulnerability is fixed in 3.2.5.

    • Update to 3.2.5
    Published Updated
  6. CVE-2025-23204

    Medium · CVSS 4.4EPSS 0.3%Fix available

    GraphQl securityAfterResolver not called

    API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. Starting in version 3.3.8, a security check that gets called after GraphQl resolvers is always replaced by another one as there's no break in a clause. As this falls back to `security`, the impact is there only when there's only a security after resolver and none inside security. Version 3.3.15 contains a patch for the issue.

    • Update to 3.3.15
    Published Updated
  7. CVE-2023-25575

    High · CVSS 7.7EPSS 0.6%Fix available

    Secured properties in API Platform Core may be accessible within collections

    API Platform Core is the server component of API Platform: hypermedia and GraphQL APIs. Resource properties secured with the `security` option of the `ApiPlatform\Metadata\ApiProperty` attribute can be disclosed to unauthorized users. The problem affects most serialization formats, including raw JSON, which is enabled by default when installing API Platform. Custom serialization formats may also be impacted. Only collection endpoints are affected by the issue, item endpoints are not. The JSON-LD format is not affected by the issue. The result of the security rule is only executed for the first item of the collection. The result of the rule is

    • Update to 2.7.10
    • Update to 3.0.12
    • Update to 3.1.3
    Published Updated
  8. CVE-2019-1000011

    Medium · CVSS 6.5EPSS 1.02%Fix available

    CVE-2019-1000011

    API Platform version from 2.2.0 to 2.3.5 contains an Incorrect Access Control vulnerability in GraphQL delete mutations that can result in a user authorized to delete a resource can delete any resource. This attack appears to be exploitable via the user must be authorized. This vulnerability appears to have been fixed in 2.3.6.

    • Update to 2.2.10
    • Update to 2.3.6
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →