Approved changes feed: RSS · Atom

cpe:2.3:a:api-platform:core:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorApi Platform (5e5ee889-1cd6-5e77-b02e-2b0c37d603a1)
ProductCore (850e24d5-4bc5-5103-bbd2-58890709f1f3)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/api-platform/core purl2cpe 2026-06-01 10:14:58.987056

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-54164 vulnerable 2026-07-29 01:00:27.610477 API Platform Core: Missing IRI type check enables resource type confusion
MEDIUM (6.5)
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::getResourceFromIri(), the is_a type guard at IriConverter.php:86 is skipped. For untyped relation properties (legacy @var-only style), the wrong-typed object is silently assigned, corrupting invariants and potentially feeding downstream logic that assumes the declared type (CWE-843). For typed properties (modern PHP 8.x), the substitution is blocked by Symfony's PropertyAccessor with an InvalidTypeException. This issue has been fixed in versions 4.1.30, 4.2.26 and 4.3.12.
Published: 2026-07-01T19:14:28.770Z
Updated: 2026-07-02T15:50:25.125Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-49858 vulnerable 2026-07-29 00:57:45.722105 API Platform Core: Cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate
MEDIUM (5.9)
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.
Published: 2026-07-01T19:24:58.170Z
Updated: 2026-07-02T12:20:09.370Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-31485 vulnerable 2026-06-08 07:18:57.915048 GraphQL grant on a property might be cached with different objects
HIGH (7.5)
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.
Published: 2025-04-03T19:31:46.021Z
Updated: 2025-04-08T13:15:23.510Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-31481 vulnerable 2026-06-08 07:18:57.908275 GraphQL query operations security can be bypassed
HIGH (7.5)
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.
Published: 2025-04-03T19:20:22.916Z
Updated: 2025-04-08T13:14:36.379Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-23204 vulnerable 2026-06-08 07:10:55.331459 GraphQl securityAfterResolver not called
MEDIUM (4.4)
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.
Published: 2025-03-24T15:53:19.156Z
Updated: 2025-03-24T18:03:54.959Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-47639 vulnerable 2026-06-08 06:14:25.282044 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-25575 vulnerable 2026-06-08 05:56:09.281977 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-1000011 vulnerable 2026-06-08 05:12:21.345129 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.