# CVE-2023-28101: Flatpak metadata with ANSI control codes can cause misleading terminal output

- Severity: Medium 5.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-01)
- Published: 2023-03-16T15:55:53.576Z
- Modified: 2026-06-17T05:46:52.397Z
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. In versions prior to 1.10.8, 1.12.8, 1.14.4, and 1.15.4, if an attacker publishes a Flatpak app with elevated permissions, they can hide those permissions from users of the `flatpak(1)` command-line interface by setting other permissions to crafted values that contain non-printable control characters such as `ESC`. A fix is available in versions 1.10.8, 1.12.8, 1.14.4, and 1.15.4. As a workaround, use a GUI like GNOME Software rather than the command-line interface, or only install apps whose maintainers you trust.

(As written by CVE List.)

## Affected

- flatpak flatpak: < 1.10.8; >= 1.12.0, < 1.12.8; >= 1.14.0, < 1.14.4; >= 1.15.0, < 1.15.4; before 1.10.8; from 1.12.0 before 1.12.8; from 1.14.0 before 1.14.4; from 1.15.0 before 1.15.4

## Every score

- GitHub_M: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/flatpak/flatpak/security/advisories/GHSA-h43h-fwqx-mpp8> (patch, vendor-advisory)
- <https://github.com/flatpak/flatpak/commit/409e34187de2b2b2c4ef34c79f417be698830f6c> (patch)
- <https://github.com/flatpak/flatpak/commit/6cac99dafe6003c8a4bd5666341c217876536869> (patch)
- <https://github.com/flatpak/flatpak/commit/7fe63f2e8f1fd2dafc31d45154cf0b191ebec66c> (patch)
- <https://security.gentoo.org/glsa/202312-12>

## Sources

- CVE List: [CVE-2023-28101](https://www.cve.org/CVERecord?id=CVE-2023-28101), CVE Terms of Use, modified 2025-02-25
- NVD: [CVE-2023-28101](https://nvd.nist.gov/vuln/detail/CVE-2023-28101), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-28101 · Whole record: https://cve.day/CVE-2023-28101.json · Rebuilt by cve.day 2026-11-25T22:58:22.484Z
