Machine namespace not changed after logout and reauth #268

Closed
opened 2025-12-29 01:25:34 +01:00 by adam · 2 comments
Owner

Originally created by @iSchluff on GitHub (Jun 1, 2022).

Bug description

The machine namespace/ip/nodekey won't change after logout+reauth. I think that is probably a security issue.

To Reproduce

Register a machine with tailscale up and user1, then logout and reregister with a different user2. The machine will be logged in with the namespace of user1.

Context info

  • Headscale commit be25bbce92
  • Tailscale 1.22.2
  • OS: Linux
  • Kernel: 5.15.19
Originally created by @iSchluff on GitHub (Jun 1, 2022). **Bug description** The machine namespace/ip/nodekey won't change after logout+reauth. I think that is probably a security issue. **To Reproduce** Register a machine with tailscale up and user1, then logout and reregister with a different user2. The machine will be logged in with the namespace of user1. **Context info** - Headscale commit be25bbce92fb1be3c233ad286971bd738923c352 - Tailscale 1.22.2 - OS: Linux - Kernel: 5.15.19
adam added the stalebug labels 2025-12-29 01:25:34 +01:00
adam closed this issue 2025-12-29 01:25:34 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 12, 2023):

This issue is stale because it has been open for 180 days with no activity.

@github-actions[bot] commented on GitHub (Oct 12, 2023): This issue is stale because it has been open for 180 days with no activity.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 26, 2023):

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions[bot] commented on GitHub (Oct 26, 2023): This issue was closed because it has been inactive for 14 days since being marked as stale.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#268