---
title: CVE-2026-42052
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2026-42052
---

# CVE-2026-42052

Publication date 4 May 2026

Last updated 10 September 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

Beets is the media library management system. Prior to version 2.10.0, the
bundled web UI uses Underscore template interpolation mode <%= ... %> for
untrusted metadata fields. In this runtime, <%= ... %> is raw insertion and
HTML escaping is only performed by <%- ... %>. 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| beets | 26.04 LTS resolute | Fixed 2.5.1-4ubuntu0.1~esm1  Ubuntu Pro |
| 25.10 questing | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Fixed 1.6.0-8ubuntu0.1~esm1  Ubuntu Pro |
| 22.04 LTS jammy | Fixed 1.6.0-1ubuntu0.1~esm1  Ubuntu Pro |
| 20.04 LTS focal | Fixed 1.4.9-4ubuntu0.1~esm1  Ubuntu Pro |
| 18.04 LTS bionic | Fixed 1.4.6-2ubuntu0.1~esm1  Ubuntu Pro |
| 16.04 LTS xenial | Fixed 1.3.8+dfsg-2ubuntu0.1~esm1 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Severity score breakdown

CVSS version:
CVSS v4.0

**Base score**

6.0 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Attack requirements | Present |
  | Privileges required | None |
  | User interaction | Passive |
  | Vulnerable system - Confidentiality impact | None |
  | Vulnerable system - Integrity impact | High |
  | Vulnerable system - Availability impact | None |
  | Subsequent system - Confidentiality impact | None |
  | Subsequent system - Integrity impact | None |
  | Subsequent system - Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.0 · Medium |
  | Base + Threat score | - |
  | Base + Environmental score | - |
  | Base + Threat + Environmental score | - |

**Vector:** CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42052)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-42052)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2026-42052)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2026-42052)

### Related Ubuntu Security Notices (USN)

+ [USN-8747-1](https://usn.ubuntu.com/USN-8747-1)
+ Beets vulnerability
+ 10 September 2026

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2026-42052>
* <https://github.com/beetbox/beets/security/advisories/GHSA-3gxm-wfjx-m847>
