rConfig Core Unauthenticated RCE via Redis / Laravel Horizon Queue Poisoning (CVE-2026-124079)
Published: 2026-11-25 • Researcher: googlesky (PoC repository); credited discovery: komi Sergio Hognaglo (manasse)
- Severity
- Critical
- CVE
- CVE-2026-124079
- Category
- web
- Affected product
- rConfig Core and rConfig Pro (Laravel-based network device configuration management)
- Affected versions
- rConfig Core 8.0.0 before 8.2.19; rConfig Pro before 8.4.1. Fixed in Core 8.2.19 (commit 40bd1204, 2026-10-27) and Pro 8.4.1; Core 8.2.18 (commit 98ecb921) only blocks the TaskDownloadRun gadget
- Disclosed
- 2026-11-25
- Patch status
- Patched
Tags
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-124079
- https://github.com/googlesky/CVE-2026-124079
- https://github.com/rconfig/rconfig/releases/tag/core-8.2.19
- https://github.com/rconfig/rconfig/releases/tag/core-8.2.18
- https://www.rconfig.com/security-advisories
- https://www.vulncheck.com/advisories/rconfig-core-before-and-rconfig-pro-before-rce-via-unauthenticated-redis-queue-poisoning
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-11-19 |
| Author / Researcher | googlesky (PoC repository); credited discovery: komi Sergio Hognaglo (manasse) |
| CVE / Advisory | CVE-2026-124079 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.8 (CVSS v3.x, per NVD/worklist; full vector not supplied) |
| Status | Weaponized |
| Tags | RCE, unauthenticated, deserialization, CWE-502, PHP, Laravel, Redis, Horizon, queue-poisoning, rConfig |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | rConfig Core and rConfig Pro (Laravel-based network device configuration management) |
| Versions Affected | rConfig Core 8.0.0 before 8.2.19; rConfig Pro before 8.4.1. Fixed in Core 8.2.19 (commit 40bd1204, 2026-10-27) and Pro 8.4.1; Core 8.2.18 (commit 98ecb921) only blocks the TaskDownloadRun gadget |
| Language / Platform | PHP 8.4 (Laravel 12/13, Laravel Horizon), Redis 7, MariaDB 11, Linux containers; PoC in Python 3 (standard library only) |
| Authentication Required | No when the queue Redis is network-reachable; Partial otherwise (an authenticated device target pointing at the server loopback address) |
| Network Access Required | Yes (TCP 6379 to the queue Redis, or HTTP to the application) |
Summary
rConfig Core 8.0.0 before 8.2.19 and rConfig Pro before 8.4.1 expose a Redis instance that backs the Laravel Horizon job queue without authentication and that is reachable from the network, while the Horizon worker unserializes queued job payloads with no class restriction (CWE-502). An unauthenticated attacker can push a crafted serialized TaskDownloadRun job onto a Horizon-consumed list; that job concatenates attacker-controlled task data into an Artisan call, and the bundled laravel/tinker package converts it into arbitrary PHP and OS command execution as the queue worker. The public PoC implements the full chain, drops a marker file plus a persistent web shell under the web-served storage directory, and proves command execution through a Redis callback. The result is remote code execution with access to database credentials, stored device credentials, and API tokens.
Vulnerability Details
Root Cause
The deployment shipped by upstream exposes the Redis instance backing Laravel Horizon without a password and on a published port (the upstream .env.example ships REDIS_PASSWORD=null together with EXPOSED_REDIS_PORT=7000), and rConfig’s Redis connection sets no key prefix. Anyone able to reach Redis can LPUSH an envelope onto queues:ManualDownloadQueue (the prefix is added by Laravel’s RedisQueue::getQueue()). The Horizon worker pops the envelope and Illuminate\Queue\CallQueuedHandler@call calls unserialize($data['command']) with no allowed_classes restriction, so the attacker chooses both the class and every property of the instantiated object. On 8.2.17 and earlier, the gadget class App\Jobs\TaskDownloadRun has a protected $task property and its handle() runs Artisan::call($this->task['task_command'] . ' ' . $this->task['id']); because task_command is attacker-controlled and laravel/tinker is bundled, tinker --execute=<php> yields arbitrary PHP and therefore OS commands. Core 8.2.18 added an allowlist constant for accepted task commands, which blocks this gadget but leaves the unrestricted deserialization primitive live; 8.2.19 is the real fix (generated Redis password, Redis moved inside the application container and bound to loopback, plus health checks).
Attack Vector
Direct network access to the queue Redis (default TCP 6379): the exploit sends PING, confirms no requirepass, then LPUSH queues:ManualDownloadQueue <json envelope> where the envelope’s data.command is serialize(App\Jobs\TaskDownloadRun) with an attacker-supplied task_command. The same primitive works against any other Horizon-consumed list (queues:TaskDownloadQueue, queues:TaskSnippetQueue), since only the worker matters, not the list name. No HTTP session or application credential is needed. Where Redis is not directly reachable, NVD notes that authenticated attackers can deliver the payload through the application by configuring a device target that points at the rConfig server’s loopback address.
Impact
Remote code execution as the Horizon queue worker user (www-data, observed as uid=1000(www-data) in the upstream evidence). The payload writes a marker file and a live PHP web shell into the web-served storage/app/public directory (reachable at /storage/... through artisan storage:link), sets a Redis key containing the output of id; hostname; uname -sr as a blind-RCE callback, and can read database credentials, stored device credentials, and API tokens. The worker process typically has file-system access to the whole Laravel application, including .env.
Environment / Lab Setup
OS: Linux x86_64 with Podman >= 4 (containers only, dedicated network cve124079lab)
Target: rConfig Core core-8.2.17 / core-8.2.18 / core-8.2.19 built from the upstream
Dockerfiles (PHP 8.4 Apache), MariaDB 11, redis:7-alpine with
--protected-mode no and no password
Attacker: Python 3.12 in python:3.12-alpine (standard library only)
Tools: podman, make, curl, redis-cli
Resources: ~2 GB free RAM, ~4 GB disk, outbound network for the first image buildSetup Steps
| |
make prepare | up | poc | capture | down | all are equivalent convenience targets. The lab exposes three variants: rconfig-vuln17 (core-8.2.17, exploitable), rconfig-allow18 (core-8.2.18, gadget blocked but primitive live) and rconfig-fixed19 (core-8.2.19, hardened). lab/prepare-src.sh clones https://github.com/rconfig/rconfig.git into rconfig/ on first run, so the first prepare needs outbound network access.
Proof of Concept
Step-by-Step Reproduction
Prepare and boot the lab — build the three rConfig variants, MariaDB and the two queue Redis instances, then wait until the Horizon supervisors register.
Shell script1 2bash run-lab.sh prepare bash run-lab.sh upClassify the queue Redis — confirm the queue Redis accepts commands without authentication (exit code 1 means vulnerable).
Shell script1 2 3 4 5make check-vuln17 # equivalent from the PoC image on the lab network: # podman run --rm --network cve124079lab cve-2026-124079-poc:local \ # check --redis rconfig-redis17:6379 # against a live host: python3 poc/poc.py check --redis 10.0.0.5:6379Run the full chain — push the serialized
App\Jobs\TaskDownloadRunjob onto the Horizon queue and wait for the worker.Shell script1 2 3make exploit-vuln17 # equivalent against a live target: # python3 poc/poc.py exploit --redis 10.0.0.5:6379 --app http://10.0.0.5Verify the three independent effects — the Redis callback key, the marker file served over HTTP, and the dropped web shell.
Shell script1 2 3redis-cli -h <redis-host> GET cve:2026:124079:pwned curl http://<app-host>/storage/pwned_marker.txt curl "http://<app-host>/storage/rce_cve_2026_124079.php?c=id;hostname"Confirm the differential — 8.2.18 drains the queue but rejects the gadget (exit code 3), while its primitive still reaches an unpatched job class; 8.2.19 refuses the Redis connection (exit code 2).
Shell script1 2 3 4make exploit-allow18 podman run --rm --network cve124079lab cve-2026-124079-poc:local \ probe --redis rconfig-redis18:6379 --device-id POC-PROBE-9999 make exploit-fixed19
Exploit Code
See
exploit/exploit.py(standalone full-chain entrypoint) andpoc/poc.py(check / exploit / probe modes, Python standard library only). The upstream English write-up is inupstream-README.md.
The serialized gadget that is placed in the queue envelope’s data.command field:
| |
Two implementation details matter: the class name is 24 bytes long, and Symfony’s StringInput (used by Artisan::call($string)) runs the option value through stripcslashes(), so every backslash in the PHP payload must be doubled.
Expected Output
| |
Screenshots / Evidence
evidence/vuln17-marker.txt— marker file dropped on the vulnerable host, withid; hostname; uname -sroutput.evidence/vuln17-redis-key.txt— blind-RCE callback value stored in the Redis keycve:2026:124079:pwned.evidence/vuln17-worker-log.txt— Horizon worker log showingApp\Jobs\TaskDownloadRun ... RUNNING / DONE.evidence/allow18-allowlist-rejection.txt— 8.2.18 victim log rejecting the craftedtask_command.
Additional artefacts in the upstream repository (not copied): fixed19-redis-hardening.txt, vuln17-webshell.php.txt, allow18-primitive-probe.txt.
Detection & Indicators of Compromise
- Unauthenticated PING/PONG and CONFIG GET from hosts that are not the application worker.
- LPUSH / LLEN / DEL against keys under queues:* (ManualDownloadQueue, TaskDownloadQueue,
TaskSnippetQueue), especially from an unexpected source address.
- Key cve:2026:124079:pwned, or download-now-<device-id> keys, appearing after a queue push.
- Horizon or laravel.log entries for App\Jobs\TaskDownloadRun that the application did not
dispatch; on 8.2.18 the warning:
"TaskDownloadRun rejected an unexpected task command."
- Horizon worker log lines TaskDownloadRun RUNNING/DONE lasting only tens of milliseconds.
- Artisan tinker / --execute activity inside the queue worker process.
- Files written into storage/app/public: pwned_marker.txt, rce_cve_2026_124079.php;
/tmp/poc_redis_err.txt; unexpected requests to /storage/<random>.php in the Apache log.SIEM / IDS rule (example):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Upgrade rConfig Core to 8.2.19 (commit 40bd1204) or later, or rConfig Pro to 8.4.1 or later; rebuild the application containers and restart the Horizon workers. |
| Workaround | Require a Redis password (requirepass) and bind Redis to loopback or an internal-only network, and deny TCP 6379 from untrusted networks. Do not treat the 8.2.18 task-command allowlist as a fix: the unrestricted deserialization primitive remains. |
| Config Hardening | Do not publish EXPOSED_REDIS_PORT; keep Redis on a private container network; run the queue worker with the least privilege and no writable web-served directory; remove any web shell and rotate database, device and API credentials after suspected exploitation; monitor Redis commands and the storage/public directory for unexpected PHP files. |
References
Notes
Auto-ingested from https://github.com/googlesky/CVE-2026-124079 on 2026-11-25. License: MIT (Copyright (c) 2026 googlesky); the LICENSE file is included, and the Python entrypoints carry an authorized-research header.
Review verdict: ingested as a real, weaponized full-chain PoC, not a detector. The repository contains actual exploit code that builds the serialized TaskDownloadRun job, pushes it onto the Horizon queue, verifies RCE through a Redis callback, and drops a marker plus a web shell; its check mode is a classification helper, not the primary purpose. It also ships a reproducible A/B/C differential lab (8.2.17 vulnerable, 8.2.18 gadget blocked with the primitive still live, 8.2.19 hardened), which is why the entry is filed as Weaponized.
Limitations and accuracy notes: the chain requires the queue Redis to be network-reachable and unauthenticated, and the queue name must be known (default ManualDownloadQueue, overridable with --queue). The tinker gadget additionally needs a writable PsySH config directory (the lab sets XDG_CONFIG_HOME=/tmp; the stock image runs the worker as www-data with HOME=/var/www, which aborts the payload while the job is still reported as done). File paths (/var/www/html/rconfig/storage/app/public) are hard-coded in the PoC and must be adjusted for other installations. The upstream README’s line stating that the standalone exploit exits 1 on confirmed exploitation is inconsistent with the code and with its own exit-code table: the code returns 0 on exploit success, 2 when Redis is unreachable, 3 when the queue is poisoned but the gadget is blocked, and 4 when the job stays queued; check returns 1 for vulnerable and 0 otherwise. The exploit was not executed during ingestion. Worklist metadata: published 2026-11-09, EPSS 0.00925, not listed in CISA KEV at ingestion time. Run only against systems you own or have written authorization to test.
| |