CVE-2026-33183

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).
Configurations

Configuration 1 (hide)

cpe:2.3:a:saloon:saloon:*:*:*:*:*:*:*:*

History

30 Mar 2026, 16:48

Type Values Removed Values Added
First Time Saloon
Saloon saloon
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1
CPE cpe:2.3:a:saloon:saloon:*:*:*:*:*:*:*:*
References () https://docs.saloon.dev/upgrade/upgrading-from-v3-to-v4 - () https://docs.saloon.dev/upgrade/upgrading-from-v3-to-v4 - Release Notes
References () https://github.com/saloonphp/saloon/security/advisories/GHSA-f7xc-5852-fj99 - () https://github.com/saloonphp/saloon/security/advisories/GHSA-f7xc-5852-fj99 - Vendor Advisory

Information

Published : 2026-03-26 01:16

Updated : 2026-03-30 16:48


NVD link : CVE-2026-33183

Mitre link : CVE-2026-33183

CVE.ORG link : CVE-2026-33183


JSON object : View

Products Affected

saloon

  • saloon
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')