CVE-2026-74841: Apache OFBiz: Denial of Service via unauthenticated userTenantId in multitenant mode
In multitenant deployments, ContextFilter and LoginWorker built a per-tenant delegator name from a request-supplied userTenantId parameter and requested a delegator for it before confirming the tenant existed. DelegatorFactory's internal cache retains every delegator name it is asked to resolve, including ones that fail to resolve, so an unauthenticated attacker could submit a stream of arbitrary tenant IDs to grow this cache without bound, driving unnecessary memory and database load.
Affected Software
Event History
Frequently Asked Questions
Does an attacker need credentials or a valid tenant ID to trigger the issue?
No. The affected request path accepts a userTenantId supplied by an unauthenticated requester, and delegator resolution occurs before the tenant's existence is confirmed. Failed tenant lookups are also retained in the internal cache.
Which deployments are exposed?
The issue is described for multitenant deployments. The affected behavior involves ContextFilter and LoginWorker constructing per-tenant delegator names from the request-supplied userTenantId parameter.
What resource pressure can exploitation create?
A stream of arbitrary tenant IDs can cause unbounded growth of DelegatorFactory's delegator-name cache. This can drive unnecessary memory consumption and database load, potentially resulting in denial of service.