doctrine/doctrine-module zero-valued authentication credentials vulnerabilityGHSA-9wv8-3h8h-x2wc
MEDIUMFix: doctrine/DoctrineModule@78018efGHSA-9wv8-3h8h-x2wc is a medium-severity (CVSS 6.5) vulnerability in doctrine/doctrine-module. A fix is available for doctrine/doctrine-module — see the affected versions and patch details below.
Real-World Exposure
doctrine/doctrine-moduleReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
it is possible (under certain circumstances) to obtain a valid Zend\Authentication identity even without knowing the user's credentials by using a numerically valued credential in DoctrineModule\Authentication\Adapter\ObjectRepository.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | doctrine/doctrine-module | all versions | 0.7.2composer require doctrine/doctrine-module:^0.7.2 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for doctrine/doctrine-module, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update doctrine/doctrine-module to 0.7.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-9wv8-3h8h-x2wc is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-9wv8-3h8h-x2wc in your dependencies?
Find it across Packagist, including transitive dependencies.