CVE-2026-94108: Php Xxe Fail Open Entity Loader Guard

XML is parsed after libxml_disable_entity_loader(true) was called with the '@' error-suppression operator and/or without checking its return value, so parsing still happens when external entity loading could not be disabled (fail-open guard). On PHP < 8.0 with libxml < 2.9.0 this enables XXE (CWE-611/CWE-918) in attacker-controlled XML metadata: local file d

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-94108-php-xxe-fail-open-entity-loader-guard --engine opengrep

Description

XML is parsed after libxml_disable_entity_loader(true) was called with the '@' error-suppression operator and/or without checking its return value, so parsing still happens when external entity loading could not be disabled (fail-open guard). On PHP < 8.0 with libxml < 2.9.0 this enables XXE (CWE-611/CWE-918) in attacker-controlled XML metadata: local file d