Bug 2497651

Summary: CVE-2026-14474 sssd: sssd: sudo LDAP provider searches entire directory tree for sudoRole objects by default, enabling privilege escalation [fedora-all]
Product: [Fedora] Fedora Reporter: Samuele Negrini <snegrini>
Component: sssdAssignee: Alexey Tikhonov <atikhono>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: abokovoy, atikhono, lslebodn, pbrezina, sbose, ssorce, sssd-maintainers
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["58986166-cf06-41ca-a3ec-716c8928d097"]}
Fixed In Version: sssd-2.13.1-3.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-07-10 13:06:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2496556    

Description Samuele Negrini 2026-07-07 09:09:33 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.

When ldap_sudo_search_base is not explicitly configured (the default), SSSD falls back to the domain's root DN and searches the entire LDAP directory tree for objects matching (objectClass=sudoRole) with SUBTREE scope. Any LDAP principal with write access to any subtree can create a sudoRole object granting arbitrary sudo privileges on every SSSD-enrolled host.

This affects sudo_provider = ldap and sudo_provider = ad (which delegates to sdap_sudo_init()). sudo_provider = ipa is NOT affected.

Comment 1 Alexey Tikhonov 2026-07-07 09:11:57 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/8897

Comment 2 Alexey Tikhonov 2026-07-08 07:52:45 UTC
Fixed upstream by https://github.com/SSSD/sssd/commit/ff8c1b19bcdbf79b733b052a7d926bd920b1205d

Comment 3 Fedora Update System 2026-07-09 17:58:58 UTC
FEDORA-2026-5acfb0243b (CVE-2026-12610 CVE-2026-14474 CVE-2026-14476) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-5acfb0243b

Comment 4 Fedora Update System 2026-07-09 18:55:28 UTC
FEDORA-2026-9ab663dcd4 (CVE-2026-12610 CVE-2026-14474 CVE-2026-14476) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-9ab663dcd4

Comment 5 Fedora Update System 2026-07-10 01:27:45 UTC
FEDORA-2026-5acfb0243b has been pushed to the Fedora 44 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-5acfb0243b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-5acfb0243b

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

Comment 6 Fedora Update System 2026-07-10 01:44:33 UTC
FEDORA-2026-9ab663dcd4 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-9ab663dcd4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-9ab663dcd4

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

Comment 7 Fedora Update System 2026-07-10 11:16:23 UTC
FEDORA-2026-8fad0036a5 (sssd-2.13.1-3.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-8fad0036a5

Comment 8 Fedora Update System 2026-07-10 13:06:44 UTC
FEDORA-2026-8fad0036a5 (sssd-2.13.1-3.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2026-07-11 01:12:08 UTC
FEDORA-2026-5acfb0243b (CVE-2026-12610 CVE-2026-14474 CVE-2026-14476) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2026-07-25 01:17:40 UTC
FEDORA-2026-9ab663dcd4 (CVE-2026-12610 CVE-2026-14474 CVE-2026-14476) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.