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 Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 6.6 | N/A | N/A |
| Attack Vector | Local | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | Low | N/A | N/A |
| User Interaction | Required | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | None | N/A | N/A |
| Integrity Impact | High | N/A | N/A |
| Availability Impact | High | N/A | N/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
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.