CVE-2026-132199

Description

A flaw was found in flac. When a size-changing metadata edit is performed on a FLAC file that is a symbolic link with a relative target, libFLAC renames the edited temporary file to the raw link-target string, which the operating system resolves against the process working directory instead of the directory containing the link. An attacker who can place a relative symlink and a co-located FLAC file in a location a victim will edit could use this to cause the victim's routine metadata edit to overwrite files relative to the victim's working directory, destroying the original content.

Statement

The flac versions shipped in Red Hat Enterprise Linux 8, 9 and 10 (1.3.2, 1.3.3 and 1.4.3 respectively) predate the introduction of the affected symlink-resolution code in flac 1.5.0. In these versions, a size-changing metadata edit on a symbolic link replaces the link itself with the edited file rather than writing through it, so the reported overwrite cannot occur. The flac command-line tools are additionally not part of a default Red Hat Enterprise Linux 10 installation (CRB repository).

Mitigation

no mitigations

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.6N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionRequiredN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactHighN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H

Red Hat CVSS v3 Score Explanation

Local attacker with an account plants a relative symlink + co-located FLAC (or delivers an archive); victim's routine size-changing metadata edit overwrites a victim-writable file relative to their CWD (e.g. ~/.ssh/authorized_keys -> login as victim). Integrity and availability high, no direct confidentiality impact; scope unchanged (victim-writable files only).

Understanding the Weakness (CWE)

Confidentiality,Integrity

Technical Impact: Read Files or Directories; Modify Files or Directories

A product that allows a symbolic link (symlink) as part of a path - whether in internal code or through user input - can allow an attacker to spoof the symbolic link and traverse the file system to unintended locations or access arbitrary files. An attacker could read, write, or /corrupt a file that they originally did not have permissions to access directly.

Frequently Asked Questions

Want to get errata notifications? Sign up here.