Update Before Anything Else

TeamSpeak’s advisory TS-SA-2026-001 covers three flaws in TS3 server 3.13.7 and earlier, fixed in 3.13.8 on May 27, 2026:

  • CVE-2026-4390, a use-after-free in the resend queue that can be triggered remotely.
  • CVE-2026-4391, a heap overflow in the ECC key parser.
  • CVE-2026-4392, an assertion in the connection handshake that crashes the server.

TeamSpeak said it knew of no active exploitation when it published the fix. ServerQuery’s version command shows which build you’re running.

Longer term, TS3 reaches end of life at the end of December 2027, after which security fixes can’t be assumed. TS6 server betas force the issue differently: each build’s free licence expires (beta14’s on February 1, 2027), so a TS6 server that isn’t updated stops starting.

Keep ServerQuery Off the Internet

ServerQuery is the admin interface that bots, web panels and scripts use. Whoever logs in as serveradmin controls every virtual server on the instance, so it shouldn’t be reachable from the internet.

TeamSpeak 3

TS3 can run query on TCP 10011 (raw, which sends everything including the password in plain text), 10022 (SSH), and WebQuery on 10080 and 10443. None of these needs to be forwarded or opened in the firewall. Better still, bind query to the loopback address and choose which protocols run, in ts3server.ini or as start parameters:

query_protocols=ssh
query_ip=127.0.0.1
query_ssh_ip=127.0.0.1,::1

Then reach it through an SSH tunnel from your own computer and point your query client at localhost:10022:

ssh -L 10022:127.0.0.1:10022 you@your-server

Drop raw from query_protocols unless a tool can’t work without it. If you use WebQuery, keep 10080 and 10443 local or behind an HTTPS reverse proxy; forum reports of WebQuery crashing servers stopped once port 10080 was blocked from outside. Monitoring tools that expect query on the public address need reconfiguring after this change.

TeamSpeak 6

The TS6 server ships with query switched off and has no raw (telnet) query at all. Enable only what you use, with TSSERVER_QUERY_SSH_ENABLED or TSSERVER_QUERY_HTTP_ENABLED, and set TSSERVER_QUERY_ADMIN_PASSWORD explicitly. Since beta13 the server also offers guest access to SSH query and WebQuery, governed by the Guest Server Query group; review that group before enabling query.

The Allowlist Is Not a Firewall

TS3’s query_ip_allowlist.txt looks like access control and isn’t. IP addresses in it are exempt from ServerQuery flood protection; they aren’t the only addresses allowed in. The file that blocks addresses from query is query_ip_denylist.txt. Both were renamed in the 3.13 line from query_ip_whitelist.txt and query_ip_blacklist.txt, and the old names are still accepted.

The allowlist’s real job is bots. A bot that sends commands quickly gets banned with error 524 (client is flooding); adding the bot’s IP address to the allowlist stops that. Add only addresses you control, because anything listed can hammer the query interface without limit.

Flood Protection and Security Level

Client anti-flood in TS3 works on points: each command a client sends adds points, a fixed number drain away every tick, and crossing the thresholds first blocks the client’s commands and then its IP address. The settings are virtualserver_antiflood_points_tick_reduce, virtualserver_antiflood_points_needed_command_block and virtualserver_antiflood_points_needed_ip_block. Published guides disagree on the defaults, so read the values from your own server before changing them. Give admin groups b_client_ignore_antiflood so they can’t be blocked mid-cleanup.

The identity security level is the other lever. virtualserver_needed_identity_security_level defaults to 8; a client whose identity is below the required level has to “improve” it, which costs CPU time on the member’s computer. Raising the level to around 10 slows down bots that generate fresh identities to dodge bans. Each extra level takes longer to compute than the last, and by the mid-40s the estimate runs to years, so advice to set 30 or higher locks out members on slower machines. TeamSpeak’s support article on security levels explains the mechanism.

Passwords and Privilege Keys

TS3 generates a random serveradmin password on first start. Store it in a password manager, not a text file in the server folder. To replace it, stop the server and start it once with serveradmin_password= and the new password. On TS6, set TSSERVER_QUERY_ADMIN_PASSWORD yourself.

Privilege keys are single-use, but an unused one works for whoever finds it first. List them in the TS3 client under Permissions → Privilege Keys and delete any that were never redeemed, especially keys for Server Admin. How groups and keys fit together is covered in groups and permissions.

DDoS and Your IP Address

Neither server has protection against volumetric UDP floods. Anti-flood limits commands per client; it does nothing about traffic that saturates the connection before it reaches the server. The practical defences are outside TeamSpeak: run the server with a host that filters DDoS traffic, and don’t host on a home connection whose address you’d rather not hand to every member.

Cloudflare’s proxy won’t hide a TeamSpeak server: proxied records carry only web traffic, so the record members connect through has to be DNS-only and points at the real address. The domain name guide covers that setup.

Don’t over-tighten outbound rules either. A TS3 server running on a licence has to reach TeamSpeak’s accounting servers over TCP 443, and shuts down when it can’t.

Back Up the Right Files

Stop the server before copying its database; a copy taken mid-write can be unusable.

TeamSpeak 3

  • ts3server.sqlitedb, or a dump of the MariaDB database if you use one
  • The files/ folder (channel files, icons, avatars)
  • ts3server.ini and ts3db_mariaDB.ini
  • licensekey.dat and serverkey.dat
  • query_ip_allowlist.txt, query_ip_denylist.txt and .ts3server_license_accepted

TeamSpeak 6

  • tsserver.sqlitedb
  • serverkey.dat
  • Your configuration file (tsserver.yaml, or tsserver.ini on setups that use one)
  • The uploaded files folder

With Docker, all of it lives in the volume mounted at /var/tsserver: stop the container, then archive the volume’s contents.

Next: Giving the server a domain name with DNS records →