# CVE-2026-42052: beets: Beets is the media library management system

CVE-2026-42052 is fixed in beets on 1 platform, first by beets 1.4.6-2ubuntu0.1~esm1, released May 4, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-42052
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0030
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 4, 2026

## Description

Beets is the media library management system. Prior to version 2.10.0, the bundled web UI uses Underscore template interpolation mode &lt;%= ... %&gt; for untrusted metadata fields. In this runtime, &lt;%= ... %&gt; is raw insertion and HTML escaping is only performed by &lt;%- ... %&gt;. Rendered output is then inserted with .html(...), allowing attacker-controlled markup to become active DOM. This issue has been patched in version 2.10.0.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | beets Debian 12.15 (bookworm) | 1.6.0-4+deb12u1 | [DEBIAN-CVE-2026-42052](https://patchblox.com/security/data/fix/linux/debian-cve-2026-42052.md) | May 4, 2026 |
| Linux | beets Debian 13.5 (trixie) | 2.2.0-3+deb13u1 | [DEBIAN-CVE-2026-42052](https://patchblox.com/security/data/fix/linux/debian-cve-2026-42052.md) | May 4, 2026 |
| Linux | beets Debian 14 | 2.11.0-1 | [DEBIAN-CVE-2026-42052](https://patchblox.com/security/data/fix/linux/debian-cve-2026-42052.md) | May 4, 2026 |
| Linux | beets Ubuntu 18.04.6 LTS (bionic) | 1.4.6-2ubuntu0.1~esm1 | [beets 1.4.6-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-beets-1.4.6-2ubuntu0.1-esm1.md) | May 4, 2026 |
| Linux | beets Ubuntu 20.04 LTS (focal) | 1.4.9-4ubuntu0.1~esm1 | [beets 1.4.9-4ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-beets-1.4.9-4ubuntu0.1-esm1.md) | May 4, 2026 |
| Linux | beets Ubuntu 22.04.1 LTS (jammy) | 1.6.0-1ubuntu0.1~esm1 | [beets 1.6.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-beets-1.6.0-1ubuntu0.1-esm1.md) | May 4, 2026 |
| Linux | beets Ubuntu 24.04.5 LTS (noble) | 1.6.0-8ubuntu0.1~esm1 | [beets 1.6.0-8ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-beets-1.6.0-8ubuntu0.1-esm1.md) | May 4, 2026 |
| Linux | beets Ubuntu 26.04.1 LTS (resolute) | 2.5.1-4ubuntu0.1~esm1 | [beets 2.5.1-4ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-beets-2.5.1-4ubuntu0.1-esm1.md) | May 4, 2026 |
| Linux | beets opensuse-leap 16.0 | 2.2.0-bp160.2.1 | [OPENSUSE-SU-2026:21383-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21383-1.md) | Jul 20, 2026 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
