Bug 2506690 - CVE-2026-16743 accountsservice: accountsservice: arbitrary file read via SetIconFile for systemd-homed users [fedora-all]
Summary: CVE-2026-16743 accountsservice: accountsservice: arbitrary file read via SetI...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: accountsservice
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["24b4feb3-2dd3-4418-99ef-5...
Depends On:
Blocks: CVE-2026-16743
TreeView+ depends on / blocked
 
Reported: 2026-07-24 07:56 UTC by Ganesh
Modified: 2026-08-17 10:09 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-17 10:09:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ganesh 2026-07-24 07:56:25 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in accountsservice. The systemd-homed handler for the SetIconFile D-Bus method (user_change_icon_file_homed_authorized_cb) opens a caller-supplied path as root without the path validation and privilege drop used by the classic handler. A local user with a systemd-homed-managed account can cause accounts-daemon to read arbitrary files (for example /etc/shadow) and store their contents as the user avatar. This issue affects accountsservice versions with homed avatar support (approximately 25.34.76 through 26.13.3) and is fixed in 26.26.9 by reading avatar files as the calling user.

Comment 1 lpavan 2026-08-10 11:02:14 UTC
This CVE does not affect any current Fedora version.

The `user_change_icon_file_homed_authorized_cb` function was introduced in commit 697a432 ("homed: Support changing avatar"), first released in version 25.34.76. The fix landed in commit fb271c6 ("homed: Read avatar files as the caller") in version 26.26.9.

Fedora 43 and 44 ship version 23.13.9, which has no homed support in user.c at all. Fedora rawhide ships version 26.27.3, which already includes the fix.


Note You need to log in before you can comment on or make changes to this bug.