CVE-2026-33183 Details
Description
Saloon is a PHP library that gives users tools to build API integrations and SDKs. Prior to version 4.0.0, fixture names were used to build file paths under the configured fixture directory without validation. A name containing path segments (e.g. ../traversal or ../../etc/passwd) resulted in a path outside that directory. When the application read a fixture (e.g. for mocking) or wrote one (e.g. when recording responses), it could read or write files anywhere the process had access. If the fixture name was derived from user or attacker-controlled input (e.g. request parameters or config), this constituted a path traversal vulnerability and could lead to disclosure of sensitive files or overwriting of critical files. The fix in version 4.0.0 adds validation in the fixture layer (rejecting names with /, \, .., or null bytes, and restricting to a safe character set) and defense-in-depth in the storage layer (ensuring the resolved path remains under the base directory before any read or write).
A path traversal vulnerability has been identified in the Saloon PHP library, prior to version 4.0.0. The issue arises because fixture names were used to create file paths under the designated fixture directory without proper validation. Names containing path segments could traverse outside the intended directory. This flaw allowed the application to read or write files anywhere the process had access, potentially leading to the disclosure of sensitive information or overwriting critical files. The vulnerability was particularly concerning when fixture names were based on user or attacker-controlled input, such as request parameters or configuration.
Users are advised to upgrade to Saloon version 4.0.0 or later. For guidance on upgrading from version 3 to 4, please refer to the Saloon upgrade documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://docs.saloon.dev/upgrade/upgrading-from-v3-to-v4 | [email protected] | Release Notes |
| https://github.com/saloonphp/saloon/security/advisories/GHSA-f7xc-5852-fj99 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| saloon saloon | < 4.0.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 30, 2026 | Initial Analysis | [email protected] |
| Mar 26, 2026 | New CVE Received | [email protected] |