Controlled SSRF through URL in the WireMock
Description
WireMock is a tool for mocking HTTP services. WireMock can be configured to only permit proxying (and therefore recording) to certain addresses. This is achieved via a list of allowed address rules and a list of denied address rules, where the allowed list is evaluated first.
Until WireMock Webhooks Extension 3.0.0-beta-15, the filtering of target addresses from the proxy mode DID NOT work for Webhooks, so the users were potentially vulnerable regardless of the limitProxyTargets settings. Via the WireMock webhooks configuration, POST requests from a webhook might be forwarded to an arbitrary service reachable from WireMock’s instance. For example, If someone is running the WireMock docker Container inside a private cluster, they can trigger internal POST requests against unsecured APIs or even against secure ones by passing a token, discovered using another exploit, via authentication headers. This issue has been addressed in versions 2.35.1 and 3.0.3 of wiremock. Wiremock studio has been discontinued and will not see a fix. Users unable to upgrade should use external firewall rules to define the list of permitted destinations.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
WireMock's proxy target filtering was bypassed in the Webhooks extension (before 3.0.0-beta-15), allowing POST requests to arbitrary services reachable from the WireMock instance.
Root
Cause
WireMock allows administrators to restrict which target addresses the proxy mode can forward requests to through a list of allowed and denied rules [1]. However, in the WireMock Webhooks Extension prior to version 3.0.0-beta-15, this filtering did not apply to webhook-triggered requests [2]. This means that even if an administrator had configured limitProxyTargets to restrict proxying, a webhook configuration could still forward POST requests to any address reachable by the WireMock instance [2].
Attack
Vector
A threat actor could exploit this vulnerability by crafting a webhook that targets an arbitrary internal or external service [2]. The attack requires the ability to configure a webhook on the WireMock instance—this could be achieved through administrative access or by leveraging another vulnerability that allows modification of stubs or settings [2]. For example, if WireMock is running within a private cluster (e.g., a Docker container in a Kubernetes environment), an attacker could use a webhook to trigger POST requests against unsecured internal APIs or even secured endpoints by supplying an authentication token obtained from another exploit [2].
Impact
Successful exploitation enables the attacker to perform unauthorized HTTP POST requests to any service that the WireMock instance can reach [2]. This can lead to lateral movement, data exfiltration, or disruption of internal services, depending on the network topology and the sensitivity of the targeted endpoints [2]. The vulnerability is particularly critical in environments where WireMock is deployed with network access to internal, non-public services.
Mitigation
The issue has been patched in WireMock versions 2.35.1 and 3.0.3 [2]. Users who are unable to upgrade should implement external firewall rules to restrict outbound traffic from the WireMock instance to only permitted destinations [2]. Note that WireMock Studio, a discontinued product, will not receive a fix [2].
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.wiremock:wiremock-webhooks-extensionMaven | >= 3.0.0, < 3.0.3 | 3.0.3 |
org.wiremock:wiremock-webhooks-extensionMaven | >= 2.0.0, < 2.35.1 | 2.35.1 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
7- github.com/advisories/GHSA-hq8w-9w8w-pmx7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-41327ghsaADVISORY
- github.com/wiremock/wiremock/releases/tag/2.35.1ghsaWEB
- github.com/wiremock/wiremock/releases/tag/3.0.0-beta-15ghsax_refsource_MISCWEB
- github.com/wiremock/wiremock/releases/tag/3.0.3ghsaWEB
- github.com/wiremock/wiremock/security/advisories/GHSA-hq8w-9w8w-pmx7ghsax_refsource_CONFIRMWEB
- wiremock.org/docs/configuration/ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.