LSA-2026-001: TLS server identity not verified
Liquidsoap’s OpenSSL transport does not check that a server’s certificate matches its name, so an attacker who controls the network path between Liquidsoap and your streaming server can pose as that server and capture your source password and stream.
- Published: 5 December 2026
- Affected: Liquidsoap 2.4.6 and earlier, and 2.5.0 release candidates,
when connecting with
http.transport.ssl() - Fixed in: Liquidsoap 2.4.7
-
Severity: High (CVSS 3.1: 7.4,
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N) - TOC
What to do
-
Check whether your scripts use the OpenSSL transport:
grep -rn "http.transport.ssl" /path/to/your/scriptsWith Liquidsoap 2.0.x or 2.1.x, also search for
protocol="https". If nothing matches, you are not affected. - Update to Liquidsoap 2.4.7, or to your distribution’s update: see where to get the fix.
- Change your source passwords if you have been streaming over networks you do not trust.
If you cannot update right away, see until you can update.
What is the problem?
When Liquidsoap connects to a server over HTTPS using its OpenSSL transport
(http.transport.ssl()), it checks that the server’s certificate was issued
by a trusted authority, but not that it was issued for the server it is
connecting to. Any valid certificate is accepted for any server, including a
free certificate for a domain the attacker owns.
Someone able to intercept or redirect your connection can therefore pose as your streaming server. The connection is still encrypted, but to the attacker. They receive what Liquidsoap sends:
- the source password of your mount point, which lets them take over your stream on the real server,
- your audio stream and its metadata.
This is a high bar for an attacker. The flaw cannot be exploited on its own, from anywhere on the internet: the attacker must first make your connection reach their machine instead of your server. That means fooling your DNS so that your server’s name resolves to their address, or controlling a network your traffic goes through. Without that, Liquidsoap connects to your real server and nothing happens.
Liquidsoap 2.0.x and 2.1.x are worse: they do not check the certificate at all, so even a self-signed certificate is accepted.
Are you affected?
You are affected if all of the following apply:
-
You run Liquidsoap 2.4.6 or earlier, or a 2.5.0 release candidate. To check:
liquidsoap --version - Your scripts connect to a server over HTTPS through the OpenSSL
transport:
output.icecast(transport=http.transport.ssl(), ...),icy.update_metadata(transport=http.transport.ssl(), ...),- with Liquidsoap 2.0.x or 2.1.x:
output.icecast(protocol="https", ...).
To check, search your scripts for
http.transport.ssl(and, with 2.0.x or 2.1.x, forprotocol="https"). - The connection crosses a network you do not fully control, for instance:
- streaming to an Icecast or Shoutcast server hosted elsewhere, over the internet,
- streaming from a laptop or a remote studio on a shared or public network,
- a setup where the server’s hostname is resolved through a DNS server you do not operate.
The attacker needs to be in a position to redirect your traffic: a rogue Wi-Fi access point, a compromised router, DNS spoofing, or a hosting or internet provider’s network. Nobody can exploit this remotely without that position.
You are not affected by this issue if you use:
http.transport.tls(), the transport based onocaml-tls: it checks the server’s identity,- plain HTTP, which is not encrypted at all and should only be used on networks you trust,
- Liquidsoap as a server (
input.harbor,output.harbor,harbor.http.*), even withhttp.transport.ssl(): only outgoing connections are affected.
Until you can update
If your Liquidsoap was built with ocaml-tls, switch to its transport. To
check, look for tls : yes in:
liquidsoap --build-config | grep -E "^ *- (ssl|tls) "
Our packages and Docker images include it; most distribution packages do not. Then replace:
output.icecast(transport=http.transport.ssl(), ...)
with:
output.icecast(transport=http.transport.tls(), ...)
Otherwise, only stream over HTTPS through a network you trust, for instance a VPN or an SSH tunnel to your server.
Where to get the fix
Liquidsoap releases
| Where | Version | Link |
|---|---|---|
| GitHub release | 2.4.7 | v2.4.7 |
| Debian, Ubuntu, Alpine, RPM | 2.4.7 | Release assets |
| Docker | 2.4.7 | savonet/liquidsoap:v2.4.7 |
| Windows | 2.4.7 | v2.4.7 |
| opam | 2.4.7 | opam install liquidsoap.2.4.7, or pin it until it is published |
| Homebrew | 2.4.7 | brew upgrade liquidsoap, once the formula update is merged |
Until 2.4.7 is published in the opam repository, opam users can pin the release:
opam pin add -n liquidsoap-lang git+https://github.com/savonet/liquidsoap.git#v2.4.7
opam pin add liquidsoap git+https://github.com/savonet/liquidsoap.git#v2.4.7
Once it is published, remove the pins with opam unpin liquidsoap
liquidsoap-lang.
If you are testing a 2.5.0 release candidate, switch to the latest 2.5.x rolling release, which includes the fix.
Distributions
Distributions ship older versions, patched by their maintainers. Update your system packages once the update below is available.
| Distribution | Release | Package updated | Status |
|---|---|---|---|
| Debian | 12 bookworm | ocaml-cry |
Patch sent: Debian #1156468 |
| Debian | 13 trixie | liquidsoap |
Patch sent: Debian #1156467 |
| Debian | testing, sid | liquidsoap |
Patch sent: Debian #1156467 |
| Ubuntu | 22.04 LTS | ocaml-cry |
Patch sent: LP #2190920 |
| Ubuntu | 24.04 LTS | liquidsoap |
Patch sent: LP #2190919 |
| Ubuntu | 26.04 LTS | liquidsoap |
Patch sent: LP #2190919 |
| Ubuntu | 26.10 | liquidsoap |
Patch sent: LP #2190919 |
| Raspberry Pi OS | follows Debian | as Debian | As Debian |
| NixOS | 26.05, 26.11 | liquidsoap |
Update submitted: nixpkgs #598057 |
| Homebrew | macOS, Linux | liquidsoap |
Update submitted: homebrew-core #329981 |
Credits
Reported by Nigel Smart in a private message on our Discord. Thank you!
Changes to this page
- 5 December 2026: first published.
