Bug 2573156 - CVE-2026-123177 dnf5: dnf5daemon-server: unauthenticated privileged cmdline package fetch/open via add_cmdline_packages [fedora-all]
Summary: CVE-2026-123177 dnf5: dnf5daemon-server: unauthenticated privileged cmdline p...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf5
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Marek Blaha
QA Contact:
URL:
Whiteboard: {"flaws": ["a2e0d844-9c94-4228-b08a-c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-13 15:24 UTC by Melissa Ing
Modified: 2026-11-16 00:51 UTC (History)
5 users (show)

Fixed In Version: dnf5-5.4.8.0-2.fc44 dnf5-5.4.8.0-2.fc45 dnf5-5.2.18.0-7.fc43
Clone Of:
Environment:
Last Closed: 2026-11-14 02:12:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Melissa Ing 2026-11-13 15:24:01 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 dnf5daemon-server. Multiple unauthenticated D-Bus methods (Rpm.list, Rpm.list_fd, and Rpm.install/upgrade/downgrade/reinstall followed by Goal.resolve) pass caller-controlled patterns into libdnf5 add_cmdline_packages(). URL patterns (file://, http(s)://, ftp://) are downloaded as root into the world-readable /var/cache/dnf5daemon-server directory before RPM validation and without a download size quota. Non-URL patterns ending in .rpm are opened directly as root from attacker-controlled paths (for example symlinks or FIFOs under an attacker-owned directory). A local unprivileged user can disclose arbitrary content the root daemon can open, obtain capability-gated /proc data such as real /proc/kallsyms addresses, fetch remote URLs as root into a world-readable cache, and exhaust disk space via unbounded downloads.

Comment 1 Fedora Update System 2026-11-13 16:05:20 UTC
FEDORA-2026-b9a53ff63c (dnf5-5.4.8.0-2.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-b9a53ff63c

Comment 2 Fedora Update System 2026-11-13 16:08:13 UTC
FEDORA-2026-e7379f9f3f (dnf5-5.4.8.0-2.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e7379f9f3f

Comment 3 Fedora Update System 2026-11-13 16:10:31 UTC
FEDORA-2026-5b05307c5f (dnf5-5.2.18.0-7.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-5b05307c5f

Comment 4 Fedora Update System 2026-11-14 02:12:42 UTC
FEDORA-2026-e7379f9f3f (dnf5-5.4.8.0-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2026-11-14 02:36:18 UTC
FEDORA-2026-b9a53ff63c (dnf5-5.4.8.0-2.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-11-15 02:30:24 UTC
FEDORA-2026-5b05307c5f has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-5b05307c5f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-5b05307c5f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-11-16 00:51:38 UTC
FEDORA-2026-5b05307c5f (dnf5-5.2.18.0-7.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


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