CVE-2026-33183 Saloon has a Fixture Name Path Traversal Vulnerability

High 8.0 Published Updated

Attackers can read or write arbitrary files via path traversal in fixture names if input is user-controlled, affecting Saloon PHP library users.

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-33183?

CVE-2026-33183 is a high-severity path traversal 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, 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).

Weakness: CWE-22

Which versions are affected by CVE-2026-33183?

2 open source packages ship an affected version, including saloonphp/saloon. It affects 1 product.

PackageAffectedFixed in
saloonphp/saloon PackagistAll versions4.0.0
saloonphp/saloon PackagistAll versions4.0.0

Products include Saloon Saloon.

How do I fix CVE-2026-33183?

Upgrade saloonphp/saloon to 4.0.0 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-33183 being exploited?

There is no known exploitation of CVE-2026-33183 in the wild and no public exploit code.

Sources

Also known as GHSA-f7xc-5852-fj99.

Is CVE-2026-33183 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free