Skip to main content

CVE-2026-33182

MEDIUM
Insufficiently Protected Credentials (CWE-522)
2026-03-25 https://github.com/saloonphp/saloon
6.6
CVSS 4.0 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V6 - Authentication Credential protection in transit/storage
Impact

While a CVSS score and vector were not provided in the advisory, the vulnerability presents a critical real-world risk signal due to several factors: First, the attack vector is network-based and requires only that user input influence the endpoint parameter—a common pattern in webhook handlers, redirect URI processing, and dynamic API configurations. Second, no special privileges are required; any authenticated request using Saloon can be weaponized if an attacker can control the endpoint parameter. Third, the technical impact is severe: credential leakage and server-side request forgery, both of which can lead to unauthorized access, data exfiltration, and lateral movement within internal networks. The vulnerability is not listed as actively exploited in KEV data, and no public proof-of-concept has been widely circulated, which slightly reduces immediate exploitation probability; however, the SSRF attack class is well-understood and easily weaponized once discovered. SSVC analysis would score this as requiring rapid remediation due to the automatable nature of exploitation and the high technical impact (token/credential leakage). The fix is available as a major version upgrade, indicating the maintainers prioritized correctness over backward compatibility—a strong signal that the issue warrants urgent patching.

Exploit ScenarioDerived

An attacker compromises or controls a third-party OAuth provider's callback parameter for a web application that uses Saloon to handle authentication. When the application receives a redirect_uri parameter set to https://attacker.example.com/steal-token, the vulnerable Saloon library ignores the legitimate API base URL and sends the authentication token (attached as a bearer token or cookie by the connector) directly to the attacker's server. The attacker captures the token and gains unauthorized access to the user's account. This attack requires only that the attacker can influence the endpoint/callback parameter, which is often possible through URL parameter injection, configuration tampering, or compromised integration settings.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 25, 2026

Saloon versions prior to v4 contain a Server-Side Request Forgery (SSRF) vulnerability in the resolveEndpoint method that allows attackers to redirect authenticated requests to arbitrary hosts. When user-controlled input is passed as an endpoint parameter containing an absolute URL (e.g., https://attacker.example.com), Saloon ignores the connector's base URL and sends the request directly to the attacker-controlled destination, potentially leaking authentication headers, cookies, and tokens. This vulnerability affects the Saloon PHP HTTP client library (composer package saloonphp/saloon) and requires immediate upgrade to v4 or later to remediate.

RemediationAI

Upgrade Saloon to version v4 or later immediately. The vendor has provided a comprehensive upgrade guide at https://docs.saloon.dev/upgrade/upgrading-from-v3-to-v4. After upgrading, review all code paths where endpoint parameters are derived from user input, configuration files, or external sources (such as callback URIs, redirect URLs, or webhook targets), and ensure that absolute URLs are either sanitized, validated against an allowlist, or explicitly opt into the new per-request/per-connector allowlist mechanism introduced in v4. As a temporary mitigation before patching is possible, restrict network egress from the application to only known, trusted API hosts using a firewall or HTTP proxy with URL filtering, and monitor outbound connections for suspicious redirects to unexpected domains.

Affected Packages

composer saloonphp/saloon fix: 4.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Saloon is a PHP HTTP client library that abstracts request building and connector management. The vulnerability exists in the URLHelper::join() method, which combines a connector's base URL with a request endpoint during request URL construction. The root cause is improper validation of endpoint URLs—the code failed to detect and reject absolute URLs in the endpoint parameter, instead treating them as valid override values. This is fundamentally a CWE-522 (Insufficiently Protected Credentials) issue compounded by improper input validation, as the library blindly forwards authentication context (headers, cookies, tokens) attached by the connector to any absolute URL provided in the endpoint, without validating that the URL belongs to the intended origin. The affected product is identified via CPE as pkg:composer/saloonphp/saloon, indicating all v3 and earlier releases are vulnerable.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 6.6 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 25, 2026 - 22:00 nvd
MEDIUM 6.6

DescriptionGitHub Advisory

Impact

Users providing user generated input into the resolveEndpoint method on requests.

Patches

Upgrade to Saloon v4+

Upgrade guide: https://docs.saloon.dev/upgrade/upgrading-from-v3-to-v4

Description

When building the request URL, Saloon combined the connector's base URL with the request endpoint. If the endpoint was a valid absolute URL (e.g. https://attacker.example.com/callback), 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 the next major version) 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.

Credits

Saloon thanks @HuajiHD for finding the issue and recommending solutions and @JonPurvis for applying the fix.

Executive ViewAI

Why It Matters

CVE-2026-33182 presents notable security risk rated CVSS 6.6. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
4 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Technical Impact
Partial

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +33
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Affected Products (CPE)GitHub Advisory

pkg:composer/saloonphp_saloon

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy