{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-16313 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-16313 is a high-severity command injection vulnerability in Red Hat Enterprise Linux 10, published on 28 Jul 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-16313 and fix it if it is affected.\n\nWhat it is: CVE-2026-16313 is a high-severity command injection vulnerability in Red Hat Enterprise Linux 10, published on 28 Jul 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-16313 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-16313/ (Markdown: https://insights.sbomify.com/CVE-2026-16313/index.md)","id":"CVE-2026-16313","markdown":"https://insights.sbomify.com/CVE-2026-16313/index.md","name":"CVE-2026-16313","record":{"aliases":["ALSA-2026:50141","ALSA-2026:50142","ALSA-2026:56130","AZL-94311","CLSA-2026-1786698186","CLSA-2026-1788364105","DEBIAN-CVE-2026-16313","ECHO-5d3c-0210-c193","GHSA-wqmp-fw94-rpg4","OESA-2026-3244","RHSA-2026:50141","RHSA-2026:50142","RHSA-2026:56130","RHSA-2026:59397","RHSA-2026:59555","RHSA-2026:59567","RHSA-2026:59568","RHSA-2026:61260","RHSA-2026:61261","RHSA-2026:67157","RHSA-2026:69124","RLSA-2026:50141","RLSA-2026:50142","RLSA-2026:56130","UBUNTU-CVE-2026-16313","USN-8874-1"],"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 SCSI utilities","requires_auth":"none","summary":"Attackers can execute arbitrary commands as root by injecting properties into the udev database via crafted SCSI device names in sg_inq.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"description":"A flaw was found in sg3_utils. The sg_inq command, when invoked with the --export option, outputs device identification data without sanitizing control characters in SCSI name string fields. A newline character embedded in a device-supplied name string can inject arbitrary properties into the udev device database. This could allow an attacker who can present a crafted SCSI device to execute arbitrary commands as root when the device is disconnected.","ecosystems":["AlmaLinux:10","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::baseos","Red Hat:enterprise_linux:9::crb","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.8::baseos","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_e4s:9.4::baseos","Red Hat:rhel_els:7","Red Hat:rhel_eus:9.6::baseos","Red Hat:rhel_eus:9.6::crb","Red Hat:rhel_eus_long_life:8.4::baseos","Red Hat:rhel_eus_long_life:8.6::baseos","Red Hat:rhel_tus:8.8::baseos","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9"],"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":"Sg3_utils: sg3_utils: arbitrary command execution via udev property injection in sg_inq --export","id":"CVE-2026-16313","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":95,"n_references":22,"next":{"headline":"Authentication and authorization bypass via cryptographic timing side-channel attack in StationGuard","id":"CVE-2026-16315"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["1.48-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils","purl":"pkg:rpm/almalinux/sg3_utils","source":"ALSA-2026:50142"},{"ecosystem":"AlmaLinux:10","fixed":["1.48-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-devel","purl":"pkg:rpm/almalinux/sg3_utils-devel","source":"ALSA-2026:50142"},{"ecosystem":"AlmaLinux:10","fixed":["1.48-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-libs","purl":"pkg:rpm/almalinux/sg3_utils-libs","source":"ALSA-2026:50142"},{"ecosystem":"AlmaLinux:8","fixed":["1.44-6.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils","purl":"pkg:rpm/almalinux/sg3_utils","source":"ALSA-2026:56130"},{"ecosystem":"AlmaLinux:8","fixed":["1.44-6.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-devel","purl":"pkg:rpm/almalinux/sg3_utils-devel","source":"ALSA-2026:56130"},{"ecosystem":"AlmaLinux:8","fixed":["1.44-6.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-libs","purl":"pkg:rpm/almalinux/sg3_utils-libs","source":"ALSA-2026:56130"},{"ecosystem":"AlmaLinux:9","fixed":["1.47-10.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils","purl":"pkg:rpm/almalinux/sg3_utils","source":"ALSA-2026:50141"},{"ecosystem":"AlmaLinux:9","fixed":["1.47-10.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-devel","purl":"pkg:rpm/almalinux/sg3_utils-devel","source":"ALSA-2026:50141"},{"ecosystem":"AlmaLinux:9","fixed":["1.47-10.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-libs","purl":"pkg:rpm/almalinux/sg3_utils-libs","source":"ALSA-2026:50141"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.48-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils","purl":"pkg:rpm/redhat/sg3_utils","source":"RHSA-2026:50142"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.48-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-debuginfo","purl":"pkg:rpm/redhat/sg3_utils-debuginfo","source":"RHSA-2026:50142"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.48-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-debugsource","purl":"pkg:rpm/redhat/sg3_utils-debugsource","source":"RHSA-2026:50142"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.48-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-devel","purl":"pkg:rpm/redhat/sg3_utils-devel","source":"RHSA-2026:50142"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.48-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-libs","purl":"pkg:rpm/redhat/sg3_utils-libs","source":"RHSA-2026:50142"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.48-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-libs-debuginfo","purl":"pkg:rpm/redhat/sg3_utils-libs-debuginfo","source":"RHSA-2026:50142"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.44-6.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils","purl":"pkg:rpm/redhat/sg3_utils","source":"RHSA-2026:56130"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.44-6.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-debuginfo","purl":"pkg:rpm/redhat/sg3_utils-debuginfo","source":"RHSA-2026:56130"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.44-6.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-debugsource","purl":"pkg:rpm/redhat/sg3_utils-debugsource","source":"RHSA-2026:56130"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.44-6.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-libs","purl":"pkg:rpm/redhat/sg3_utils-libs","source":"RHSA-2026:56130"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.44-6.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-libs-debuginfo","purl":"pkg:rpm/redhat/sg3_utils-libs-debuginfo","source":"RHSA-2026:56130"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.44-6.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-debuginfo","purl":"pkg:rpm/redhat/sg3_utils-debuginfo","source":"RHSA-2026:56130"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.44-6.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-debugsource","purl":"pkg:rpm/redhat/sg3_utils-debugsource","source":"RHSA-2026:56130"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.44-6.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-devel","purl":"pkg:rpm/redhat/sg3_utils-devel","source":"RHSA-2026:56130"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.44-6.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-libs-debuginfo","purl":"pkg:rpm/redhat/sg3_utils-libs-debuginfo","source":"RHSA-2026:56130"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.47-10.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils","purl":"pkg:rpm/redhat/sg3_utils","source":"RHSA-2026:50141"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.47-10.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-debuginfo","purl":"pkg:rpm/redhat/sg3_utils-debuginfo","source":"RHSA-2026:50141"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.47-10.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-debugsource","purl":"pkg:rpm/redhat/sg3_utils-debugsource","source":"RHSA-2026:50141"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.47-10.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-libs","purl":"pkg:rpm/redhat/sg3_utils-libs","source":"RHSA-2026:50141"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.47-10.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-libs-debuginfo","purl":"pkg:rpm/redhat/sg3_utils-libs-debuginfo","source":"RHSA-2026:50141"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:1.47-10.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-debuginfo","purl":"pkg:rpm/redhat/sg3_utils-debuginfo","source":"RHSA-2026:50141"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:1.47-10.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-debugsource","purl":"pkg:rpm/redhat/sg3_utils-debugsource","source":"RHSA-2026:50141"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:1.47-10.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-devel","purl":"pkg:rpm/redhat/sg3_utils-devel","source":"RHSA-2026:50141"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:1.47-10.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-libs-debuginfo","purl":"pkg:rpm/redhat/sg3_utils-libs-debuginfo","source":"RHSA-2026:50141"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.48-7.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"sg3_utils","purl":"pkg:rpm/redhat/sg3_utils","source":"RHSA-2026:69124"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.48-7.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-debuginfo","purl":"pkg:rpm/redhat/sg3_utils-debuginfo","source":"RHSA-2026:69124"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.48-7.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-debugsource","purl":"pkg:rpm/redhat/sg3_utils-debugsource","source":"RHSA-2026:69124"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.48-7.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-devel","purl":"pkg:rpm/redhat/sg3_utils-devel","source":"RHSA-2026:69124"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.48-7.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-libs","purl":"pkg:rpm/redhat/sg3_utils-libs","source":"RHSA-2026:69124"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.48-7.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"sg3_utils-libs-debuginfo","purl":"pkg:rpm/redhat/sg3_utils-libs-debuginfo","source":"RHSA-2026:69124"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:1.44-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils","purl":"pkg:rpm/redhat/sg3_utils","source":"RHSA-2026:59555"}],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2026-16312"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 10.0 Extended Update Support","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7 Extended Lifecycle Support","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On","Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On","Red Hat Enterprise Linux 8.8 Telecommunications Update Service","Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.6 Extended Update Support","Red Hat OpenShift Container Platform 4.12","Red Hat OpenShift Container Platform 4.16","Red Hat OpenShift Container Platform 4.17","Red Hat OpenShift Container Platform 4.18","Red Hat OpenShift Container Platform 4.19","Red Hat OpenShift Container Platform 4.20","Red Hat OpenShift Container Platform 4.21","Red Hat OpenShift Container Platform 4.22"],"published":"2026-07-28","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":"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-08","vendors":["Red Hat"]},"summary":"Attackers can execute arbitrary commands as root by injecting properties into the udev database via crafted SCSI device names in sg_inq.","url":"https://insights.sbomify.com/CVE-2026-16313/"}