CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-27206

High
Published: Translated: NVD NIST

Summary

Zumba Json Serializer to biblioteka do serializacji zmiennych PHP w formacie JSON. W wersjach 3.2.2 i poniżej, biblioteka pozwala na deserializację obiektów PHP z JSON przy użyciu specjalnego pola @type, co może prowadzić do instancjonowania dowolnych klas bez ograniczeń.

Risk Assessment

Przy przetwarzaniu nieufnych danych JSON, atakujący może instancjonować dowolne klasy dostępne w aplikacji, co może prowadzić do wstrzyknięcia obiektów PHP i potencjalnego zdalnego wykonania kodu (RCE). Ryzyko jest podobne do użycia natywnej funkcji PHP unserialize() bez ograniczenia allowed_classes.

Recommendation

Zaleca się aktualizację biblioteki Zumba Json Serializer do wersji powyżej 3.2.2 oraz unikanie przetwarzania nieufnych danych JSON w metodzie JsonSerializer::unserialize().

Related vulnerabilities

Original NVD description (English source)

Zumba Json Serializer is a library to serialize PHP variables in JSON format. In versions 3.2.2 and below, the library allows deserialization of PHP objects from JSON using a special @type field. The deserializer instantiates any class specified in the @type field without restriction. When processing untrusted JSON input, this behavior may allow an attacker to instantiate arbitrary classes available in the application. If a vulnerable application passes attacker-controlled JSON into JsonSerializer::unserialize() and contains classes with dangerous magic methods (such as __wakeup() or __destruct()), this may lead to PHP Object Injection and potentially Remote Code Execution (RCE), depending on available gadget chains in the application or its dependencies. This behavior is similar in risk profile to PHP's native unserialize() when used without the allowed_classes restriction. Applications are impacted only if untrusted or attacker-controlled JSON is passed into JsonSerializer::unseriali

Vulnerability data from NVD (NIST) · CISA KEV · EPSS