{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-12505 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-12505 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 18 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-12505 and fix it if it is affected.\n\nWhat it is: CVE-2026-12505 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 18 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-12505 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-12505/ (Markdown: https://insights.sbomify.com/CVE-2026-12505/index.md)","id":"CVE-2026-12505","markdown":"https://insights.sbomify.com/CVE-2026-12505/index.md","name":"CVE-2026-12505","record":{"aliases":["ALSA-2026:39575","ALSA-2026:39576","AZL-91131","CLSA-2026-1784560784","CLSA-2026-1784818499","DEBIAN-CVE-2026-12505","ECHO-384f-89a4-ea70","GHSA-58j9-p7xf-pjx7","MGASA-2026-0291","OESA-2026-3028","OESA-2026-3032","RHSA-2026:32990","RHSA-2026:39575","RHSA-2026:39576","RLSA-2026:32990","RLSA-2026:39575","RLSA-2026:39576","SUSE-SU-2026:22888-1","SUSE-SU-2026:2699-1","SUSE-SU-2026:2700-1","UBUNTU-CVE-2026-12505","USN-8496-3"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux CIFS utilities","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges to root by exploiting a flaw in cifs.upcall that allows loading malicious NSS modules via crafted key requests.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-250","name":"Execution with Unnecessary Privileges"}],"description":"A flaw was found in the cifs-utils package where the cifs.upcall helper fails to securely drop its root privileges before looking up user information inside a user-controlled environment. A local, low privileged attacker can exploit this by using a crafted request_key payload to trick the root-owned helper into entering a custom environment (namespace) containing a malicious NSS module. This forces the system to load the attacker's controlled NSS Module and configuration, allowing them to execute arbitrary commands as the root user, elevating their privileges and fully compromising the system.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","SUSE:Linux Micro 6.1"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cifs-utils: local privilege escalation via forged cifs.spnego key description in cifs.upcall","id":"CVE-2026-12505","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2026"},"n_packages":53,"n_references":7,"next":{"headline":"AI Engine \u003c 3.5.5 - Subscriber+Chatbot Discussion Disclosure and Takeover via IDOR","id":"CVE-2026-12510"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["7.0-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/almalinux/cifs-utils","source":"ALSA-2026:39575"},{"ecosystem":"AlmaLinux:8","fixed":["7.0-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-devel","purl":"pkg:rpm/almalinux/cifs-utils-devel","source":"ALSA-2026:39575"},{"ecosystem":"AlmaLinux:8","fixed":["7.0-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"pam_cifscreds","purl":"pkg:rpm/almalinux/pam_cifscreds","source":"ALSA-2026:39575"},{"ecosystem":"AlmaLinux:9","fixed":["7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/almalinux/cifs-utils","source":"ALSA-2026:39576"},{"ecosystem":"AlmaLinux:9","fixed":["7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-devel","purl":"pkg:rpm/almalinux/cifs-utils-devel","source":"ALSA-2026:39576"},{"ecosystem":"AlmaLinux:9","fixed":["7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"pam_cifscreds","purl":"pkg:rpm/almalinux/pam_cifscreds","source":"ALSA-2026:39576"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:7.6-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/redhat/cifs-utils","source":"RHSA-2026:32990"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:7.6-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debuginfo","purl":"pkg:rpm/redhat/cifs-utils-debuginfo","source":"RHSA-2026:32990"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:7.6-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debugsource","purl":"pkg:rpm/redhat/cifs-utils-debugsource","source":"RHSA-2026:32990"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:7.6-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-devel","purl":"pkg:rpm/redhat/cifs-utils-devel","source":"RHSA-2026:32990"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:7.6-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"pam_cifscreds","purl":"pkg:rpm/redhat/pam_cifscreds","source":"RHSA-2026:32990"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:7.6-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"pam_cifscreds-debuginfo","purl":"pkg:rpm/redhat/pam_cifscreds-debuginfo","source":"RHSA-2026:32990"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:7.0-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/redhat/cifs-utils","source":"RHSA-2026:39575"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:7.0-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debuginfo","purl":"pkg:rpm/redhat/cifs-utils-debuginfo","source":"RHSA-2026:39575"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:7.0-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debugsource","purl":"pkg:rpm/redhat/cifs-utils-debugsource","source":"RHSA-2026:39575"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:7.0-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"pam_cifscreds","purl":"pkg:rpm/redhat/pam_cifscreds","source":"RHSA-2026:39575"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:7.0-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"pam_cifscreds-debuginfo","purl":"pkg:rpm/redhat/pam_cifscreds-debuginfo","source":"RHSA-2026:39575"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:7.0-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debuginfo","purl":"pkg:rpm/redhat/cifs-utils-debuginfo","source":"RHSA-2026:39575"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:7.0-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debugsource","purl":"pkg:rpm/redhat/cifs-utils-debugsource","source":"RHSA-2026:39575"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:7.0-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-devel","purl":"pkg:rpm/redhat/cifs-utils-devel","source":"RHSA-2026:39575"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:7.0-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"pam_cifscreds-debuginfo","purl":"pkg:rpm/redhat/pam_cifscreds-debuginfo","source":"RHSA-2026:39575"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debuginfo","purl":"pkg:rpm/redhat/cifs-utils-debuginfo","source":"RHSA-2026:39576"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debugsource","purl":"pkg:rpm/redhat/cifs-utils-debugsource","source":"RHSA-2026:39576"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"pam_cifscreds","purl":"pkg:rpm/redhat/pam_cifscreds","source":"RHSA-2026:39576"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"pam_cifscreds-debuginfo","purl":"pkg:rpm/redhat/pam_cifscreds-debuginfo","source":"RHSA-2026:39576"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/redhat/cifs-utils","source":"RHSA-2026:39576"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debuginfo","purl":"pkg:rpm/redhat/cifs-utils-debuginfo","source":"RHSA-2026:39576"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debugsource","purl":"pkg:rpm/redhat/cifs-utils-debugsource","source":"RHSA-2026:39576"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"pam_cifscreds-debuginfo","purl":"pkg:rpm/redhat/pam_cifscreds-debuginfo","source":"RHSA-2026:39576"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debuginfo","purl":"pkg:rpm/redhat/cifs-utils-debuginfo","source":"RHSA-2026:39576"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debugsource","purl":"pkg:rpm/redhat/cifs-utils-debugsource","source":"RHSA-2026:39576"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-devel","purl":"pkg:rpm/redhat/cifs-utils-devel","source":"RHSA-2026:39576"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"pam_cifscreds-debuginfo","purl":"pkg:rpm/redhat/pam_cifscreds-debuginfo","source":"RHSA-2026:39576"},{"ecosystem":"Rocky Linux:10","fixed":["0:7.6-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/rocky-linux/cifs-utils?distro=rocky-linux-10\u0026epoch=0","source":"RLSA-2026:32990"},{"ecosystem":"Rocky Linux:8","fixed":["0:7.0-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/rocky-linux/cifs-utils?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2026:39575"},{"ecosystem":"Rocky Linux:9","fixed":["0:7.6-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/rocky-linux/cifs-utils?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2026:39576"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["6.15-150400.3.21.1"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/suse/cifs-utils\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:2699-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["6.15-150400.3.21.1"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/suse/cifs-utils\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:2699-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["6.15-150400.3.21.1"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/suse/cifs-utils\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2026:2699-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["6.15-150400.3.21.1"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/suse/cifs-utils\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2026:2699-1"}],"prev":{"headline":"Loytec LINX firmware: Improper Authentication in PAM configuration","id":"CVE-2026-12504"},"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","Red Hat OpenShift Container Platform 4.22"],"published":"2026-06-18","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["Red Hat"]},"summary":"Local attackers can escalate privileges to root by exploiting a flaw in cifs.upcall that allows loading malicious NSS modules via crafted key requests.","url":"https://insights.sbomify.com/CVE-2026-12505/"}