CVE-2026-24891 openITCOCKPIT has Unsafe PHP Deserialization in Gearman Worker Allowing Conditional Object Injection
Attackers can execute arbitrary code via unsafe PHP deserialization in the Gearman worker if network access is unrestricted.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-24891?
CVE-2026-24891 is a high-severity unsafe deserialization vulnerability in openITCOCKPIT, published on 20 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
openITCOCKPIT is an open source monitoring tool built for different monitoring engines like Nagios, Naemon and Prometheus. Versions 5.3.1 and below contain an unsafe deserialization sink in the Gearman worker implementation. The worker function registered as oitc_gearman calls PHP's unserialize() on job payloads without enforcing class restrictions or validating data origin. While the intended deployment assumes only trusted internal components enqueue Gearman jobs, this trust boundary is not enforced in application code. In environments where the Gearman service or worker is exposed to untrusted systems, an attacker may submit crafted serialized payloads to trigger PHP Object Injection in the worker process. This vulnerability is exploitable when Gearman listens on non-local interfaces, network access to TCP/4730 is unrestricted, or untrusted systems can enqueue jobs. Default, correctly hardened deployments may not be immediately exploitable, but the unsafe sink remains present in code regardless of deployment configuration. Enforcing this trust boundary in code would significantly reduce risk and prevent exploitation in misconfigured environments. This issue has been fixed in version 5.4.0.
Weakness: CWE-502
Which versions are affected by CVE-2026-24891?
It affects 1 product.
Products include It-Novum Openitcockpit.
How do I fix CVE-2026-24891?
No fix has been published for CVE-2026-24891 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2026-24891 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-24891 exists.
Other vulnerabilities in openITCOCKPIT
- CVE-2020-10789 Command injection in n/a
- CVE-2019-15490 Code injection in n/a
- CVE-2019-15494 Server-side request forgery in n/a
- CVE-2020-10788 Hardcoded credentials in n/a
- CVE-2026-24893 openITCOCKPIT has Authenticated Command Injection Leading to Remote Code Execution via Host Address Macro Expansion
Sources
Also known as GHSA-x4mq-8gfg-frc4.