Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

laminas/laminas-mvc
3.9.x @ 60e3208
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
Zend\Mvc\Service\DiStrictAbstractServiceFactory: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Remote Code Execution: Attackers could trigger arbitrary class instantiation during routing if class existences and interface compliance (such as Dispatchable) are not verified prior to service locator lookup. This allows untrusted input to invoke unexpected constructors or service factories.
Auth Bypass: Improper inheritance from parent DI factories allowed the resolution of non-whitelisted arbitrary services. This bypasses the intended strict isolation boundaries of the Dependency Injection container.