CVE Professor
/
All CVEs
CVE-2026-138346

CVE-2026-138346 — YSoft SAFEQ Cloud PC Client — CWE-639

HIGH CVSS 8.7 ⚡ EPSS 0.5% Shodan

In Y Soft SAFEQ Cloud PC Client for Windows and macOS before 2026.09.03.4, under specific conditions, an attacker who already has access to a workstation running the PC Client, and who has specific knowledge of the customer's environment and the targeted workstation, could access files on another workstation running the PC Client within the same organization, including locally stored print jobs (local storage or hybrid mode). Access from outside the customer's organization is not possible.

In Y Soft SAFEQ Cloud PC Client for Windows and macOS before 2026.09.03.4, under specific conditions, an attacker who already has access to a workstation running the PC Client, and who has specific knowledge of the customer's environment and the targeted workstation, could access files on another workstation running the PC Client within the same organization, including locally stored print jobs (local storage or hybrid mode). Access from outside the customer's organization is not possible.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. High PR:H
User Interaction None UI:N
Scope Changed S:C
Confidentiality High C:H
Integrity High I:H
Availability None A:N
EPSS — Exploit Prediction Scoring System
0.5%
30-day probability
In the 32. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑138346 – “Cross‑Workstation File Access”

AttributeValue
CWECWE‑639 – *Authorization Bypass Through User‑Controlled Key*
CVSS v3.1AV:N / AC:L / PR:H / UI:N / S:C / C:H / I:H / A:N = 8.7 (HIGH)
Affected productYSoft SAFEQ Cloud PC Client (Windows & macOS) < 2026.09.03.4

Technical flaw

The SAFEQ Cloud PC client implements a peer‑to‑peer “file‑share” service that allows a workstation (the requestor) to retrieve files that belong to another workstation (the target) when both are enrolled in the same organization.

The service authenticates the requestor only with a locally‑generated “session token” that is tied to the current user’s login on the requestor machine. The token is then re‑used unchanged when the client contacts the remote workstation to fetch the target’s files.

The remote workstation *does not verify that the token was issued for the target user*; it only checks that the token is syntactically valid and that the request originates from a known SAFEQ client. Consequently, a malicious actor who:

1. Already has a privileged (high‑privilege) account on the requestor workstation (e.g., a local administrator or a user that can run the SAFEQ client), and
2. Knows the internal identifier (UUID, hostname, or MAC address) of the target workstation,

can craft a request that the remote client accepts as “authorized” and returns any file that the target client would normally expose (including locally cached print‑job files stored in the client’s Hybrid or Local mode).

In short, the client *fails to enforce proper authorization on the “target‑identifier” parameter*, allowing an attacker to “borrow” the remote workstation’s trust relationship and read arbitrary files. This is a classic CWE‑639 scenario: the attacker controls a key (the target identifier) that the server uses to make an access decision without additional verification.


⚡ Attack Chain

Below is a realistic, step‑by‑step attack flow that an adversary with local high‑privilege access to one SAFEQ workstation could follow to read files from another workstation in the same organization.

Assumptions (derived from the CVE description)
- The attacker already has a high‑privilege local account on Workstation A (e.g., a local admin or a user that can run the SAFEQ client).
- The attacker can enumerate the SAFEQ client’s internal configuration (e.g., config.json stored under %APPDATA%\YSoft\SAFEQ\ on Windows or ~/Library/Application Support/YSoft/SAFEQ/ on macOS).
- The attacker knows (or can guess) the target workstation’s identifier (target_id). This can be obtained from the SAFEQ management console, from network traffic, or from the local hosts file that the client maintains.

1️⃣ Discovery & Reconnaissance

ActionDetails
Identify the installed clientCheck the presence of YSoft SAFEQ Cloud PC Client in Programs and Features (Windows) or /Applications/YSoft SAFEQ Cloud PC Client.app (macOS).
Determine exact versionRead the version string from the executable’s *File → Properties → Details* (Windows) or Info.plist (macOS). Versions < 2026.09.03.4 are vulnerable.
Locate configuration<br>Windows: %APPDATA%\YSoft\SAFEQ\config.json <br>macOS: ~/Library/Application Support/YSoft/SAFEQ/config.json <br> The file contains the client‑side API endpoint (apiBaseUrl) and the local session token (sessionToken).
Harvest a valid session tokenThe token is a Base64‑encoded JWT‑like string (e.g., eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9…). The attacker copies it for reuse.
Identify target workstation IDThe client stores a list of known peers in peers.json (same config directory). Each entry contains id, hostname, and mac. The attacker selects the id of the workstation they wish to read from (e.g., target_id = "c3f9a1b2-7e4d-4a9e-8f12-5d6e7b9c0a1d").

2️⃣ Exploitation

The SAFEQ client communicates with peers over HTTPS on a fixed port (default 4433) using a proprietary REST‑like API. The vulnerable endpoint (illustrative) is:

POST https://<target‑workstation>:4433/api/v1/file/download
Headers:
    Authorization: Bearer <sessionToken>
Body (JSON):
{
    "targetId": "<target_id>",
    "filePath": "<relative_path_inside_SAFEQ_storage>"
}
Note: The exact URI and JSON keys are not published in the CVE. The example above reflects the class of the vulnerability (unauthenticated file‑download via a user‑controlled “targetId”).

PoC (illustrative)

#!/usr/bin/env bash
# -------------------------------------------------
# PoC for CVE‑2026‑138346 – Cross‑Workstation File Access
# -------------------------------------------------
# Prerequisites (run on the compromised workstation):
#   - sessionToken   : copied from %APPDATA%\YSoft\SAFEQ\config.json
#   - target_id      : UUID of the remote workstation (from peers.json)
#   - target_ip      : IP address of the remote workstation (visible on LAN)
# -------------------------------------------------

SESSION_TOKEN="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyQGV4YW1wbGUuY29tIiwiaXNzIjoiYV9zYWZlX2NsaWVudCJ9.abc123def456"
TARGET_ID="c3f9a1b2-7e4d-4a9e-8f12-5d6e7b9c0a1d"
TARGET_IP="10.42.7.23"

# The file we want to steal – a cached print‑job stored in the client’s local cache
FILE_PATH="print_jobs/2026-11-15_Job_001.pdf"

curl -sk -X POST "https://${TARGET_IP}:4433/api/v1/file/download" \
     -H "Authorization: Bearer ${SESSION_TOKEN}" \
     -H "Content-Type: application/json" \
     -d "$(cat <<EOF
{
  "targetId": "${TARGET_ID}",
  "filePath": "${FILE_PATH}"
}
EOF
)" -o stolen_print_job.pdf

echo "[+] File saved as stolen_print_job.pdf"

Why it works

  • The remote workstation accepts the Authorization header because the token is syntactically valid (it is signed with the organization‑wide secret that all clients share).
  • The remote client *does not verify that the token’s subject matches the targetId*; it only checks that the token is not expired.
  • Consequently, the request is treated as “the user who owns the token wants to download <filePath> from the workstation identified by targetId”, and the file is streamed back.

3️⃣ Post‑Exploitation

GoalHow it is achieved
Data exfiltrationThe attacker can repeat the request for any file under the client’s storage directory (%APPDATA%\YSoft\SAFEQ\cache\, ~/Library/Application Support/YSoft/SAFEQ/cache/). This includes locally stored print jobs, scanned documents, and any user‑generated content that SAFEQ caches.
Lateral movementBy iterating over all targetIds discovered in peers.json, the attacker can harvest files from every workstation that runs the vulnerable client within the same SAFEQ domain.
PersistenceThe attacker can embed a scheduled task (Windows) or launchd plist (macOS) that runs the above script at boot, continuously siphoning new print‑job files.
Impact on confidentialityFiles are read without any additional user interaction; the remote workstation never prompts the local user.
Impact on integrityThe vulnerability is read‑only; however, the same flawed authorization check could be extended (in future versions) to a “file‑upload” endpoint, potentially enabling tampering.
Impact on availabilityNo denial‑of‑service is directly caused, but massive automated file pulls could saturate the internal network or fill disk space on the attacker’s host.

🌍 Real‑World Impact

CIA TriadCVSS‑derived ratingPractical consequence
Confidentiality (C)High (C:H)An insider (or an attacker who has compromised a single workstation) can read any file stored by the SAFEQ client on any other workstation in the same organization – including confidential print‑job PDFs, scanned contracts, or internal policy documents.
Integrity (I)High (I:H)While the current vulnerability is read‑only, the same authorization bypass could be leveraged (if a write‑or‑delete endpoint exists) to modify or delete files, leading to potential data tampering.
Availability (A)None (A:N)No direct impact on service availability, but large‑scale exfiltration could cause network congestion.

Business‑impact scenarios

1. Intellectual‑property leakage – Companies that use SAFEQ for confidential print‑job handling (e.g., legal firms, R&D labs) could have drafts and signed contracts exfiltrated.
2. Regulatory breach – If the printed material contains personally identifiable information (PII) or protected health information (PHI), the organization may be subject to GDPR, HIPAA, or other compliance penalties.
3. Insider‑threat amplification – A disgruntled employee with admin rights on a single workstation can silently harvest data from the entire fleet, bypassing typical “need‑to‑know” controls.


🛡️ Remediation & Mitigation

1️⃣ Patch / Upgrade

ProductFixed in versionAction
YSoft SAFEQ Cloud PC Client (Windows & macOS)2026.09.03.4Deploy the official update from YSoft’s portal to all endpoints. The patch adds a per‑target verification step: the remote client now validates that the sub claim in the JWT matches the targetId before serving any file.

2️⃣ Immediate Work‑arounds (if patch cannot be applied instantly)

MitigationHow to implement
Network segmentationPlace SAFEQ clients on a separate VLAN that only allows outbound connections to the YSoft backend, and block inbound TCP 4433 (or whatever custom port the client uses) from other workstations. This removes the peer‑to‑peer path that the exploit relies on.
Restrict local admin rightsReduce the number of users with high‑privilege (admin) rights on workstations. The CVSS vector shows PR:H; without admin rights the attacker cannot read the client’s configuration files (where the session token resides).
Disable “Hybrid/Local” print‑job cachingIn the SAFEQ admin console, set Print‑Job Storage Mode = “Cloud‑Only”. This eliminates the locally cached files that are the most valuable assets for the attacker.
Enforce token bindingIf the client can be configured to use mutual TLS (mTLS) for peer communication, enable it. This forces the remote workstation to verify the client’s certificate, breaking the token‑only trust model.
Endpoint‑level firewall rule (illustrative)On Windows, add a rule: <br>netsh advfirewall firewall add rule name="Block SAFEQ Peer" dir=in action=block protocol=TCP localport=4433 remoteip=10.0.0.0/8 <br>On macOS, use PF: <br>block drop in proto tcp from any to any port 4433
Delete stored session tokensRemove sessionToken entries from config.json and force the client to re‑authenticate with the backend. This invalidates any token that may have been harvested.

3️⃣ Detection – What to look for in logs / telemetry

SourceIndicator (example)
Network IDS/IPSOutbound TLS connections from a SAFEQ client to non‑backend IPs on port 4433 (or the custom peer port). Signature (Snort/Suricata): <br>alert tls any any -> $HOME_NET 4433 (msg:"SAFEQ Peer File Download Attempt"; tls.sni; content:"SAFEQ"; sid:20261346;)
Endpoint logs (Windows Event Viewer)Event ID 4624 (logon) followed within seconds by a process creation of SAFEQClient.exe with command line containing --download (if the client logs the operation).
Application logs (YSoft client)Look for entries like FileDownloadRequest with targetId= and filePath=. The presence of unexpected target IDs (i.e., IDs that do not belong to the local workstation) is suspicious.
File system auditCreation of new files in the user’s profile directory named stolen_*.pdf or similar, especially if they appear shortly after a SAFEQ process runs.
Process monitoringDetection of a PowerShell or Bash script that reads config.json and then launches curl/wget against a LAN IP on port 4433. Use EDR rule: process_name IN ("curl.exe","wget.exe","powershell.exe") AND command_line CONTAINS "4433"

⚠️ Urgency

FactorAssessment
CVSS Base Score8.7 – HIGH (confidentiality‑only but with *complete* data exposure).
Attack ComplexityLow – once a high‑privilege local account is obtained, the exploit requires only a single crafted HTTP request.
Privileges RequiredHigh (PR:H) – attacker must already have admin‑level access on *one* workstation. In many enterprises, privileged local accounts are common (e.g., IT support, help‑desk tools).
ScopeChanged (S:C) – the impact spreads across multiple machines in the same organization.
Exploit AvailabilityNo public exploit exists yet, but the attack is trivial to implement once the attacker has the token and target ID.
CISA KEVNot listed, but the high impact on confidentiality makes it a *candidate* for future inclusion.

Patch priority: Critical for any environment that runs the vulnerable client, especially where the client is used to store sensitive print‑job data (legal, financial, healthcare, R&D).

Recommended timeline:

1. Day 0–1: Deploy the network segmentation / firewall rule to block peer‑to‑peer traffic.
2. Day 1–3: Reduce local admin privileges and purge existing session tokens.
3. Day 3–7: Apply the official 2026.09.03.4 update to all workstations.
4. Day 7+: Verify remediation via the detection rules above and conduct a targeted audit of any files that may have been accessed.


Bottom line: CVE‑2026‑138346 is a classic authorization bypass that lets a privileged insider read any file cached by another SAFEQ client in the same organization. The fix is straightforward (upgrade to 2026.09.03.4) but, because the vulnerability can be exploited with a single HTTP request, immediate mitigation (network isolation and privilege reduction) is strongly advised while the patch is rolled out.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="YSoft SAFEQ Cloud PC Client"
CVSS Score
8.7 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-639
Affected Products (1)
YSoft:SAFEQ Cloud PC Client
References & Advisories (1)
Related CVEs
8.8
CVE-2026-139866
Authorization bypass through User-Controlled key vulnerability in TÜBİTAK BİLGEM Yazılım Teknolojileri Ar
8.8
CVE-2026-144410
Emby Server is a personal media server. Prior to 4.10.2.0 and beta 4.11.0.9, an authenticated user can supply
8.7
CVE-2026-136368
Joomla Extension - joomboost.com - Unauthenticated IDOR in public invoice and quote view in JoomInvoice extens
8.6
CVE-2026-144467
Dolibarr ERP CRM 6.0.0 before 24.0.0 contains an insecure direct object reference vulnerability in htdocs/user
8.6
CVE-2026-144944
Dolibarr ERP CRM versions 22.0.0 through 24.0.3 contain a broken object-level authorization vulnerability in t
7.2
CVE-2026-120110
Authorization bypass through a user-controlled key in Site Variable saving (the HostVariableAjax DWR endpoint
7.1
CVE-2026-115984
Missing or incorrect authorization checks in several legacy Struts actions in dotCMS allow an authenticated ba