Advisory

UBUNTU-CVE-2026-39977

Also known as: CVE-2026-39977

Summary

The record has no summary.

Details

flatpak-builder is a tool to build flatpaks from source. From 1.4.5 to before 1.4.8, the license-files manifest key takes an array of paths to user defined licence files relative to the source directory of the module. The paths from that array are resolved using g_file_resolve_relative_path() and validated to stay inside the source directory using two checks - g_file_get_relative_path() which does not resolve symlinks and g_file_query_file_type() with G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS which only applies to the final path component. The copy operation runs on host. This can be exploited by using a crafted manifest and/or source to read arbitrary files from the host and capture them into the build output. This vulnerability is fixed in 1.4.8.

Severity

Medium Basis: CVSS v3 score 6.3, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Dates

Published
2026-04-09 20:16 UTC
Modified
2026-05-20 16:25 UTC

Affected packages and fixes

flatpak-builder

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

flatpak-builder

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1.4.8-1 (ecosystem)

Fixed versions

1.4.8-1

Fix

  • Fixed version 1.4.8-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences