Skip to main content

CVE-2026-33183

HIGH
Out-of-bounds Read (CWE-125)
2026-03-25 https://github.com/saloonphp/saloon
8.0
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft MockResponse fixture with path traversal payload
  2. Exploit
    Saloon builds unsanitized file path
  3. Execution
    Access files outside fixture directory
  4. Impact
    Read 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

composer saloonphp/saloon fix: 4.0.0

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

GitHub Advisory PRIMARY 8.0 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 25, 2026 - 22:00 nvd
HIGH 8.0

DescriptionGitHub 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 98% exploitable
Data Quality
4 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Affected Products (CPE)GitHub Advisory

pkg:composer/saloonphp_saloon

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy