Summary
Atomic Server's setup invite can allow an unauthenticated requester to create an Agent with write access to the Drive on a fresh, unclaimed deployment. This may let an attacker read, modify, or delete resources and change permissions.
Affected context
The issue is described in Atomic Server versions 0.29.0 through 0.40.2. On a fresh, unclaimed deployment, the well-known /setup invite is provisioned with write access to the Drive root and one remaining use. The invite redirect handler does not bind redemption to the redeemer's identity, so an unauthenticated request can supply a public key when creating an Agent.
Exploit preconditions
- Attack surface: The Atomic Server setup invite endpoint must be reachable.
- Required access: No authentication is required when the setup invite is available on a fresh, unclaimed deployment.
- Trigger point: A request redeems the
/setupinvite. - Why exploitation is possible: The invite grants write access to the Drive root, while the redirect handler does not associate redemption with a verified redeemer identity.
Why this happens
The application provisions a powerful invite and handles its redemption without verifying or binding the redeemer's identity. This is an authentication enforcement failure mapped to CWE-306: Missing Authentication for Critical Function. As a result, an unauthenticated party may create an Agent that inherits broad write access.
Potential impact
- An attacker may read, modify, or delete Drive resources.
- An attacker could change permissions and expand access.
- An attacker may create or alter Agents.
- Application data and access controls could be compromised.
General mitigation guidance
Defensive patterns include requiring verified authentication and authorization before invite redemption or Agent creation, and binding invitations to an intended identity or narrowly scoped purpose. Setup access can be disabled by default after initialization, and invitations can be limited by resource, permission, and lifetime. Treat public keys and other requester-provided values as untrusted until verified, and run services with only the privileges needed for their role.
How teams detect issues like this
Review invite creation and redemption paths for unauthenticated access to privileged operations, especially where invite targets include a resource root or broad write permissions. Static analysis and code review can look for critical handlers that lack authentication and authorization checks, or that trust caller-supplied identities. Runtime monitoring can flag unexpected setup-invite redemptions, Agent creation, and permission changes; policy checks can require explicit authorization for these operations.

