<!-- XE-0664 · [VM/High] No cryptographic proof of leaseHash/accessPubKey ownership — lease theft via key substitution · testnet -->
*Markdown view of <https://bounty.xe.network/XE-0664>. The page is the record; this is the same page for reading.*

XE-0664 · Bounty

# \[VM/High\] No cryptographic proof of leaseHash/accessPubKey ownership — lease theft via key substitution

Closed · duplicate
—claimed High
web
filed 2026-11-05 10:25 UTC
by Ashev Ardiansyah

Verdict
:   Duplicate

Tier
:   —

Claimed
:   High

Area
:   —

Duplicate of
:   [XE-0015](https://bounty.xe.network/XE-0015) fixing

Tracked
:   —

Updated
:   2026-11-05 21:59 UTC

Told
:   2026-11-05 21:59 UTC

### Patches

None linked.

### History

- [8676](https://bounty.xe.network/log/8676) 2026-11-05 21:59 UTC reply.sent
- [8675](https://bounty.xe.network/log/8675) 2026-11-05 21:59 UTC proposal.adopted
- [8674](https://bounty.xe.network/log/8674) 2026-11-05 21:59 UTC proposal.adopted
- [8673](https://bounty.xe.network/log/8673) 2026-11-05 21:59 UTC ticket.status new → closed
- [8672](https://bounty.xe.network/log/8672) 2026-11-05 21:59 UTC proposal.adopted
- [8671](https://bounty.xe.network/log/8671) 2026-11-05 21:59 UTC ticket.facts
- [8670](https://bounty.xe.network/log/8670) 2026-11-05 21:59 UTC proposal.adopted
- [8669](https://bounty.xe.network/log/8669) 2026-11-05 21:59 UTC ticket.facts
- [8277](https://bounty.xe.network/log/8277) 2026-11-05 16:03 UTC proposal.created
- [8276](https://bounty.xe.network/log/8276) 2026-11-05 16:03 UTC proposal.created
- [8275](https://bounty.xe.network/log/8275) 2026-11-05 16:03 UTC proposal.created
- [8274](https://bounty.xe.network/log/8274) 2026-11-05 16:03 UTC proposal.created

[Full history](https://bounty.xe.network/log?ref=XE-0664) · [JSON](https://bounty.xe.network/v1/tickets/XE-0664) · [markdown](https://bounty.xe.network/XE-0664.md)

### Report

## Summary

`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.

## Affected Code

```
// qemu_manager.go:144-166, lima_manager.go:94-105
func (m *QEMUManager) Provision(leaseHash string, resources Resources, accessPubKey ed25519.PublicKey) (*Info, error) {
    // No signature verification on (leaseHash, accessPubKey) binding
}
```

## Impact

Lease 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.

## Severity

High — cross-user lease hijacking.

## Fix

Require the caller to sign the leaseHash (or a server-provided nonce) with the private key matching accessPubKey. Verify before provisioning.

### Thread

**Joseph Denne**team2026-11-05 21:59 UTCdesk

Thanks. This is the same finding as https://bounty.xe.network/XE-0015, which was filed first; the programme pays the
first verifiable submission, so this one closes as a duplicate. If you believe it is a different
bug, reply with what differs and we will look again.
