{"id":"XE-0664","kind":"bounty","visibility":"public","source":"web","source_repo":"","source_ref":"","source_url":"","reporter_id":242,"title":"[VM/High] No cryptographic proof of leaseHash/accessPubKey ownership — lease theft via key substitution","area":null,"claimed_tier":"high","assessed_tier":null,"verdict":"duplicate","duplicate_of":"XE-0015","tracked":false,"internal_ref":"","internal_url":"","status":"closed","closed_reason":"duplicate","github_state":"","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-11-05T10:25:47.127325+00:00","updated_at":"2026-11-05T21:59:25.898423+00:00","source_created_at":null,"told_at":"2026-11-05T21:59:27.137105+00:00","status_changed_at":"2026-11-05T21:59:27.110077+00:00","url":"https://bounty.xe.network/XE-0664","body":"## Summary\n`Provision` accepts `leaseHash` and `accessPubKey` as independent parameters. The `accessPubKey` is converted to SSH authorized_keys format for VM access, but there is no cryptographic proof the caller owns the corresponding private key. Anyone can provision a VM with someone else's leaseHash and their own SSH key.\n\n## Affected Code\n```go\n// qemu_manager.go:144-166, lima_manager.go:94-105\nfunc (m *QEMUManager) Provision(leaseHash string, resources Resources, accessPubKey ed25519.PublicKey) (*Info, error) {\n    // No signature verification on (leaseHash, accessPubKey) binding\n}\n```\n\n## Impact\nLease theft: attacker gains SSH access to a VM funded by/assigned to another party. Combined with XE-VM-001 (DevTargetManager shell bypass), enables full host compromise under another user's identity.\n\n## Severity\nHigh — cross-user lease hijacking.\n\n## Fix\nRequire the caller to sign the leaseHash (or a server-provided nonce) with the private key matching accessPubKey. Verify before provisioning.","patch_refs":[],"thread":[{"id":332,"source":"desk","source_ref":"reply:59","author":"Joseph Denne","team":true,"body":"Thanks. This is the same finding as https://bounty.xe.network/XE-0015, which was filed first; the programme pays the\nfirst verifiable submission, so this one closes as a duplicate. If you believe it is a different\nbug, reply with what differs and we will look again.","created_at":"2026-11-05T21:59:25.898423+00:00"}]}