Summary
Yuxi has insufficient isolation between execution-capable sandboxes and trusted application services, allowing a low-privileged authenticated user with command access to their own sandbox to reach other tenants' sandbox APIs. Depending on reachable services and credential configuration, this may expose files or secrets, permit sandbox operations, or enable further compromise without a container escape.
Yuxi has insufficient isolation between execution-capable sandboxes and trusted application services, allowing a low-privileged authenticated user with command access to their own sandbox to reach other tenants' sandbox APIs. Depending on reachable services and credential configuration, this may expose files or secrets, permit sandbox operations, or enable further compromise without a container escape.
Affected context
The issue affects Yuxi deployments where execution-capable Docker sandboxes can reach other tenants' sandbox APIs, the unauthenticated provisioner, or shared internal services. The risk depends on the deployment's network boundaries, service authentication, and whether shipped default credentials remain in use. A PostgreSQL container may also be at risk of command execution if an exposed account has superuser privileges.
The issue affects Yuxi deployments where execution-capable Docker sandboxes can reach other tenants' sandbox APIs, the unauthenticated provisioner, or shared internal services. The risk depends on the deployment's network boundaries, service authentication, and whether shipped default credentials remain in use. A PostgreSQL container may also be at risk of command execution if an exposed account has superuser privileges.
Exploit preconditions
- Attack surface: Network paths from an execution-capable sandbox to sandbox APIs, the provisioner, or shared internal services
- Required access: A low-privileged authenticated account able to execute commands in its own sandbox
- Trigger point: Requests or connections made from that sandbox to reachable APIs or services
- Why exploitation is possible: Sandbox-to-service isolation and authorization are insufficient; the provisioner is unauthenticated, and shared services or unchanged default credentials may provide additional access
- Attack surface: Network paths from an execution-capable sandbox to sandbox APIs, the provisioner, or shared internal services
- Required access: A low-privileged authenticated account able to execute commands in its own sandbox
- Trigger point: Requests or connections made from that sandbox to reachable APIs or services
- Why exploitation is possible: Sandbox-to-service isolation and authorization are insufficient; the provisioner is unauthenticated, and shared services or unchanged default credentials may provide additional access
Why this happens
The underlying issue is inadequate enforcement of security boundaries between tenant-controlled sandbox execution and trusted application services. This maps primarily to CWE-284: Improper Access Control: reachable APIs and services do not consistently prevent a sandbox user from accessing or changing resources outside their authorization scope. Unchanged default credentials and overly privileged service accounts can increase the impact, relating to CWE-522: Insufficiently Protected Credentials.
The underlying issue is inadequate enforcement of security boundaries between tenant-controlled sandbox execution and trusted application services. This maps primarily to CWE-284: Improper Access Control: reachable APIs and services do not consistently prevent a sandbox user from accessing or changing resources outside their authorization scope. Unchanged default credentials and overly privileged service accounts can increase the impact, relating to CWE-522: Insufficiently Protected Credentials.
Potential impact
- An attacker could access or modify files and secrets belonging to other tenants.
- An attacker may execute commands in other active sandboxes or enumerate, create, or delete sandboxes.
- Reachable shared services could allow disclosure or modification of cross-tenant data.
- If default credentials remain active and a PostgreSQL account has superuser privileges, an attacker could obtain command execution in the PostgreSQL container.
- Deleting sandboxes could cause service disruption or denial of service.
- An attacker could access or modify files and secrets belonging to other tenants.
- An attacker may execute commands in other active sandboxes or enumerate, create, or delete sandboxes.
- Reachable shared services could allow disclosure or modification of cross-tenant data.
- If default credentials remain active and a PostgreSQL account has superuser privileges, an attacker could obtain command execution in the PostgreSQL container.
- Deleting sandboxes could cause service disruption or denial of service.
General mitigation guidance
Mitigation patterns focus on enforcing tenant boundaries and reducing trust between sandbox workloads and application services:
- Apply authorization checks to every sandbox API operation, including enumeration and lifecycle actions.
- Require authentication for provisioning interfaces and restrict access to authorized callers.
- Isolate sandbox networks from internal services by default, allowing only explicitly required connections.
- Use unique, rotated credentials rather than shipped defaults, and apply least privilege to database and other service accounts.
- Restrict sandbox filesystem and process access, and run sandbox workloads with minimal privileges.
- Treat persisted credentials as requiring separate rotation when they may have remained at documented or shipped defaults.
Mitigation patterns focus on enforcing tenant boundaries and reducing trust between sandbox workloads and application services:
- Apply authorization checks to every sandbox API operation, including enumeration and lifecycle actions.
- Require authentication for provisioning interfaces and restrict access to authorized callers.
- Isolate sandbox networks from internal services by default, allowing only explicitly required connections.
- Use unique, rotated credentials rather than shipped defaults, and apply least privilege to database and other service accounts.
- Restrict sandbox filesystem and process access, and run sandbox workloads with minimal privileges.
- Treat persisted credentials as requiring separate rotation when they may have remained at documented or shipped defaults.
How teams detect issues like this
- Review network and container policies for paths from sandbox workloads to internal APIs, databases, and provisioning services.
- Audit sandbox API authorization checks for tenant scoping across file access, command execution, enumeration, creation, and deletion.
- Search configuration and deployment policies for unauthenticated provisioning endpoints, shared credentials, or unchanged defaults.
- Enforce policies that require authenticated service-to-service communication, tenant-aware authorization, and least-privilege service accounts.
- Use security testing or automated code review to identify sandbox-to-service trust paths and missing access controls.
- Review network and container policies for paths from sandbox workloads to internal APIs, databases, and provisioning services.
- Audit sandbox API authorization checks for tenant scoping across file access, command execution, enumeration, creation, and deletion.
- Search configuration and deployment policies for unauthenticated provisioning endpoints, shared credentials, or unchanged defaults.
- Enforce policies that require authenticated service-to-service communication, tenant-aware authorization, and least-privilege service accounts.
- Use security testing or automated code review to identify sandbox-to-service trust paths and missing access controls.

