CVE-2026-33182 Saloon is vulnerable to SSRF and credential leakage via absolute URL in endpoint overriding base URL
Attackers can trigger SSRF and leak credentials by supplying absolute URLs in API endpoints, affecting developers using the Saloon PHP library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-33182?
CVE-2026-33182 is a medium-severity server-side request forgery vulnerability in saloonphp saloon, published on 26 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Saloon is a PHP library that gives users tools to build API integrations and SDKs. Prior to version 4.0.0, when building the request URL, Saloon combined the connector's base URL with the request endpoint. If the endpoint was a valid absolute URL, the code used that URL as-is and ignored the base URL. The request—and any authentication headers, cookies, or tokens attached by the connector—was then sent to the attacker-controlled host. If the endpoint could be influenced by user input or configuration (e.g. redirect_uri, callback URL), this allowed server-side request forgery (SSRF) and/or credential leakage to a third-party host. The fix in version 4.0.0 is to reject absolute URLs in the endpoint: URLHelper::join() throws InvalidArgumentException when the endpoint is a valid absolute URL, unless explicitly allowed, requiring callers to opt-in to the functionality on a per-connector or per-request basis.
Which versions are affected by CVE-2026-33182?
2 open source packages ship an affected version, including saloonphp/saloon. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
saloonphp/saloon Packagist | All versions | 4.0.0 |
saloonphp/saloon Packagist | All versions | 4.0.0 |
Products include Saloon Saloon.
How do I fix CVE-2026-33182?
Upgrade saloonphp/saloon to 4.0.0 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-33182 being exploited?
There is no known exploitation of CVE-2026-33182 in the wild and no public exploit code.
Other vulnerabilities in saloonphp saloon
Sources
Also known as GHSA-c83f-3xp6-hfcp.