CVE-2026-136953: Nexus Repository 3 - Web Cache Poisoning via Host Header Injection
Sonatype Nexus Repository 3 builds some absolute URLs in REST API and repository browse responses from HTTP host headers supplied by the client.
When a shared caching proxy in front of Nexus Repository stores such a response, other users can receive URLs that point to a host chosen by an attacker.
No account is needed to send the request.
Version 3.99.0 marks these responses as not cacheable.
To stop host headers from being used in generated URLs, an administrator must also set a Base URL and turn on its Force setting.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Nexus Repository 3to a version that resolves this vulnerability.Fixed in 3.99.0 - Configuration
Set a Base URL in the administrator settings.
Nexus Repository 3 Base URL = configured - Configuration
Turn on the Base URL Force setting so client-supplied host headers are not used in generated URLs.
Nexus Repository 3 Force = enabled
Event History
Frequently Asked Questions
Which deployments are exposed to cache poisoning?
Deployments with a shared caching proxy in front of Nexus Repository can expose other users to attacker-chosen URLs if the proxy stores affected REST API or repository browse responses. An account is not required to submit the triggering request.
What configuration is needed in addition to upgrading?
Version 3.99.0 marks the affected responses as not cacheable. To prevent client-supplied Host headers from being used when generating URLs, administrators must set a Base URL and enable its Force setting.
What can be done if upgrading is not immediately possible?
Set a Base URL and enable its Force setting to stop generated URLs from using client-provided Host headers. The described cache-poisoning scenario also depends on a shared caching proxy storing the affected responses.