{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-58222 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-58222 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 30 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-58222 and fix it if it is affected.\n\nWhat it is: CVE-2026-58222 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 30 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-58222 in the wild and no public exploit code.\n\nAffected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-58222/ (Markdown: https://insights.sbomify.com/CVE-2026-58222/index.md)","id":"CVE-2026-58222","markdown":"https://insights.sbomify.com/CVE-2026-58222/index.md","name":"CVE-2026-58222","record":{"aliases":["AZL-94175","DEBIAN-CVE-2026-58222","ECHO-166a-43f5-1c18","GHSA-fcqv-6jgj-4xxc","UBUNTU-CVE-2026-58222"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Samba Active Directory","requires_auth":"low_privilege","summary":"Authenticated users can inject LDAP filters to bypass ACLs and disclose protected Active Directory attributes, potentially leading to privilege escalation.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-90","name":"Improper Neutralization of Special Elements used in an LDAP Query"}],"description":"A security flaw combining LDAP filter injection and improper authorization checks was found in Samba Active Directory Domain Controller (AD DC). When processing LDAP Compare requests, Samba fails to properly validate user-supplied attribute names and executes the resulting internal database search in a trusted context, bypassing normal Access Control List (ACL) enforcement. An authenticated low-privilege domain user can exploit these flaws to disclose confidential Active Directory attributes that would normally be inaccessible. The disclosed information may be leveraged to derive sensitive authentication material, potentially leading to privilege escalation and complete domain compromise. For example: In deployments configured with Group Managed Service Accounts (gMSAs), an attacker can extract the \"msKds-RootKeyData\" attribute and derive gMSA passwords offline, potentially leading to complete domain compromise if privileged gMSAs are present.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-10-13","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-13T07:30:52Z","kind":"github_poc","ref":"https://github.com/abdelaaziz0/KDSExtract","stars":0,"title":"Exploits CVE-2026-58222 to recover Samba KDS root keys and derive gMSA credentials from a low-privilege domain account."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Samba: samba ad ldap compare filter injection and trusted-request confusion disclose protected attributes","id":"CVE-2026-58222","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"Samba: ctdb fails to do integrity checking of received packets","id":"CVE-2026-58224"},"packages":[],"prev":{"headline":"Samba: dns signing dos via tkey name cache exhaustion","id":"CVE-2026-58218"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat OpenShift Container Platform 4"],"published":"2026-07-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-30","vendors":["Red Hat"]},"summary":"Authenticated users can inject LDAP filters to bypass ACLs and disclose protected Active Directory attributes, potentially leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-58222/"}