Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. saloonphp/saloon
  4. ›
  5. CVE-2026-33183

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

March 25, 2026 (updated March 30, 2026)

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 adds validation in the fixture layer (rejecting names with /, , .., or null bytes, and restricting to a safe character set) and defence-in-depth in the storage layer (ensuring the resolved path remains under the base directory before any read or write).

References

  • docs.saloon.dev/upgrade/upgrading-from-v3-to-v4
  • github.com/advisories/GHSA-f7xc-5852-fj99
  • github.com/saloonphp/saloon
  • github.com/saloonphp/saloon/security/advisories/GHSA-f7xc-5852-fj99
  • nvd.nist.gov/vuln/detail/CVE-2026-33183

Code Behaviors & Features

Detect and mitigate CVE-2026-33183 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.0.0

Fixed versions

  • 4.0.0

Solution

Upgrade to version 4.0.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-787: Out-of-bounds Write

Source file

packagist/saloonphp/saloon/CVE-2026-33183.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:09 +0000.