/

CVE-2026-111322

Severity:

CRITICAL RISK

(9.8)

Missing Authentication (CWE-306) in Archon Control API

CVE-2026-111322

Deferred

Vulnerability type

Category:

Missing Authentication

CWE:

CWE-306

Impact:

Unauthenticated Command Execution

Severity:

CRITICAL RISK

(9.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Archon exposes its control API without requiring authentication, allowing network-accessible attackers to interact with the AI coding agent. Because the agent runs with bypassPermissions, an attacker may cause commands to execute on the host under the Archon user's account.

Archon exposes its control API without requiring authentication, allowing network-accessible attackers to interact with the AI coding agent. Because the agent runs with bypassPermissions, an attacker may cause commands to execute on the host under the Archon user's account.

Affected context

The vulnerability affects Archon deployments in which the /api/* control API is reachable over the network and remains unauthenticated. The risk is increased when the service binds to 0.0.0.0 by default and the connected AI coding agent operates with permission checks bypassed.

The vulnerability affects Archon deployments in which the /api/* control API is reachable over the network and remains unauthenticated. The risk is increased when the service binds to 0.0.0.0 by default and the connected AI coding agent operates with permission checks bypassed.

Exploit preconditions

  • Attack surface: The Archon /api/* control API
  • Required access: Network connectivity to the exposed API; valid credentials are not required
  • Trigger point: Sending control messages to the AI coding agent through the API
  • Why exploitation is possible: The API does not enforce authentication, and the agent can execute commands with bypassed permission checks
  • Attack surface: The Archon /api/* control API
  • Required access: Network connectivity to the exposed API; valid credentials are not required
  • Trigger point: Sending control messages to the AI coding agent through the API
  • Why exploitation is possible: The API does not enforce authentication, and the agent can execute commands with bypassed permission checks

Why this happens

The underlying issue is a missing authentication control on a security-sensitive API. Requests to the /api/* control surface are accepted without verifying the caller's identity or authorization, mapping to CWE-306: Missing Authentication for Critical Function. Exposing this interface on a broad network binding compounds the issue by making the unauthenticated functionality reachable to more clients.

The underlying issue is a missing authentication control on a security-sensitive API. Requests to the /api/* control surface are accepted without verifying the caller's identity or authorization, mapping to CWE-306: Missing Authentication for Critical Function. Exposing this interface on a broad network binding compounds the issue by making the unauthenticated functionality reachable to more clients.

Potential impact

  • An unauthenticated attacker may execute commands as the Archon user
  • The host environment could be compromised
  • Local files, credentials, or project data may be accessed or modified
  • An attacker could tamper with AI-assisted development workflows
  • The system could be used as a foothold for further activity, depending on host permissions
  • An unauthenticated attacker may execute commands as the Archon user
  • The host environment could be compromised
  • Local files, credentials, or project data may be accessed or modified
  • An attacker could tamper with AI-assisted development workflows
  • The system could be used as a foothold for further activity, depending on host permissions

General mitigation guidance

Mitigation generally focuses on enforcing authentication and authorization before any control API request is processed.

Common defensive patterns include:

  • Require strong, service-appropriate authentication for every control endpoint
  • Apply endpoint-level authorization and deny access by default
  • Bind administrative interfaces to trusted local or private network interfaces rather than broad addresses
  • Place the API behind an authenticated gateway or network access control layer
  • Run the Archon agent with least-privilege permissions and avoid bypassed authorization modes where possible
  • Restrict outbound and lateral network access from the agent process
  • Treat all API-originated instructions as untrusted until policy checks are complete

Mitigation generally focuses on enforcing authentication and authorization before any control API request is processed.

Common defensive patterns include:

  • Require strong, service-appropriate authentication for every control endpoint
  • Apply endpoint-level authorization and deny access by default
  • Bind administrative interfaces to trusted local or private network interfaces rather than broad addresses
  • Place the API behind an authenticated gateway or network access control layer
  • Run the Archon agent with least-privilege permissions and avoid bypassed authorization modes where possible
  • Restrict outbound and lateral network access from the agent process
  • Treat all API-originated instructions as untrusted until policy checks are complete

How teams detect issues like this

Organizations can look for:

  • Static and configuration analysis identifying control APIs without authentication middleware
  • Code review signals showing route registration without identity and authorization checks
  • Network scans that identify administrative or control services bound to 0.0.0.0
  • Access logs containing requests to /api/* without authenticated principals
  • Policy enforcement requiring authentication, authorization, and restricted network exposure for control-plane interfaces
  • Automated security review tools that flag missing authentication on sensitive routes

Organizations can look for:

  • Static and configuration analysis identifying control APIs without authentication middleware
  • Code review signals showing route registration without identity and authorization checks
  • Network scans that identify administrative or control services bound to 0.0.0.0
  • Access logs containing requests to /api/* without authenticated principals
  • Policy enforcement requiring authentication, authorization, and restricted network exposure for control-plane interfaces
  • Automated security review tools that flag missing authentication on sensitive routes

Sources

SourceLink
github.comgithub.com/coleam00/Archon
github.comgithub.com/coleam00/Archon/blob/v0.11.1/packages/server/src/auth/config.ts#L25-L27
github.comgithub.com/coleam00/Archon/blob/v0.11.1/packages/server/src/index.ts#L909
github.comgithub.com/coleam00/Archon/blob/v0.11.1/packages/server/src/routes/api.ts#L1749-L1756
hackmd.iohackmd.io/@hieuPenguinnn/archon-os-api-missing-authentication-default
vulncheck.comvulncheck.com/advisories/archon-0.2.13-through-0.11.1-missing-authentication-via-api-control-api

Frequently asked

questions

Yes, when the control API is reachable over a network path. The attacker does not need valid credentials if the affected endpoint remains unauthenticated.

The primary prerequisite is network access to the exposed /api/* control API. Local access is not inherently required when the service is reachable remotely.

Require authentication and authorization for every control API operation, then restrict the interface to trusted networks or an authenticated gateway.

Apply deny-by-default access policies, review route middleware during code review, avoid broad administrative bindings, and run agents with the minimum permissions necessary.

Yes, when the control API is reachable over a network path. The attacker does not need valid credentials if the affected endpoint remains unauthenticated.

The primary prerequisite is network access to the exposed /api/* control API. Local access is not inherently required when the service is reachable remotely.

Require authentication and authorization for every control API operation, then restrict the interface to trusted networks or an authenticated gateway.

Apply deny-by-default access policies, review route middleware during code review, avoid broad administrative bindings, and run agents with the minimum permissions necessary.

Find out what's already
exploitable in your codebase.