CVE-2026-33183
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft MockResponse fixture with path traversal payload
-
ExploitSaloon builds unsanitized file path
-
ExecutionAccess files outside fixture directory
-
ImpactRead or write arbitrary files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires Saloon PHP library versions prior to v4.0 with MockResponse fixtures enabled. Attacker must control fixture names passed to the mocking system (typically via application input handling fixture identifiers). No authentication required; exploitation depends on application exposing fixture name control to untrusted sources. |
| Impact | This vulnerability presents significant real-world risk despite the absence of published CVSS and EPSS scores. The attack vector is network-based if fixture names are derived from user input, the attack complexity is low (simple path traversal syntax), and no authentication or special privileges are required—making exploitation trivial. The technical impact is severe: an attacker can disclose sensitive files (private keys, database credentials, configuration secrets) or overwrite critical application files to achieve remote code execution or denial of service. The presence of a credited security researcher (HuajiHD) and applied fix suggests the vulnerability was discovered through legitimate security research rather than in-the-wild exploitation, but the ease of exploitation and high impact warrant immediate patching. Organizations using Saloon v3 or earlier with any user-controlled fixture naming should treat this as critical, especially if fixtures are used in production mocking layers or CI/CD pipelines. |
| Exploit ScenarioDerived | An attacker could exploit this vulnerability in a web application that records HTTP responses for testing by manipulating a request parameter that becomes a fixture name—for example, submitting a fixture name like ../../../../etc/passwd or ../../../.env to cause the application to read the system password file or environment configuration containing database credentials. Alternatively, if the application allows specifying fixture names via API configuration, an attacker could write a malicious fixture file to ../../../var/www/html/shell.php to achieve remote code execution. The attack requires only network access to the affected endpoint and no special authentication, making it easily automatable and exploitable at scale. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 25, 2026
Saloon versions prior to v4 contain a path traversal vulnerability in fixture name handling that allows attackers to read or write files outside the configured fixture directory. Users with MockResponse fixtures derived from untrusted input (such as request parameters or configuration values) are affected, as attackers can use path traversal sequences like ../ or absolute paths to access arbitrary files on the system with the privileges of the running process. The vulnerability has been patched in Saloon v4 with input validation and defense-in-depth path verification.
RemediationAI
Upgrade Saloon to version 4.0 or later immediately, which includes input validation rejecting fixture names containing /, \, .., or null bytes, plus defense-in-depth path normalization ensuring resolved paths remain under the base directory. Follow the official upgrade guide at https://docs.saloon.dev/upgrade/upgrading-from-v3-to-v4. As a temporary workaround for environments unable to upgrade immediately, restrict fixture name inputs to a strict allowlist (alphanumeric and hyphen/underscore only), avoid deriving fixture names from untrusted sources, and limit file system permissions of the application process to the minimum required directories. In CI/CD or testing environments, run Saloon processes with minimal filesystem privileges and in isolated containers to limit the blast radius of potential exploitation.
Affected Packages
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 (CPE: pkg:composer/saloonphp_saloon) that provides fixture and mocking capabilities for testing. The vulnerability exists in the fixture layer where fixture names are directly used to construct file paths under a base fixture directory without proper validation. The root cause is classified under CWE-125 (Out-of-bounds Read) but more specifically manifests as a path traversal flaw (CWE-22 equivalent behavior). When fixture names containing path traversal sequences (../, ..\ backslashes, or absolute paths) are processed, they bypass directory containment checks, allowing the file operations (read during mocking or write during response recording) to target files anywhere on the filesystem. The vulnerability is particularly dangerous when fixture names derive from attacker-controlled sources such as HTTP request parameters, query strings, or externally-provided configuration.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
Impact
Users with MockResponse fixtures that use path traversal.
Patches
Upgrade to Saloon v4+
Upgrade guide: https://docs.saloon.dev/upgrade/upgrading-from-v3-to-v4
Description
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).
Credits
Saloon thanks @HuajiHD for finding the issue and recommending solutions and @JonPurvis for applying the fix.
Executive ViewAI
CVE-2026-33183 presents notable security risk, a out-of-bounds read vulnerability rated CVSS 8.0. Successful exploitation could significantly impact the confidentiality, integrity, or availability of affected systems. Organizations should apply vendor updates when available and consider compensating controls in the interim.
Apply vendor patch. If immediate patching is not feasible: (1) Implement network-level access controls to limit exposure; (2) Enable enhanced monitoring and alerting; (3) Apply principle of least privilege.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB