{"answers":{"affected":"It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4480 exists.","fix":"Apply the vendor's patch.","what":"CVE-2026-4480 is a critical command injection vulnerability in Redhat Enterprise Linux, published on 26 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-4480 and fix it if it is affected.\n\nWhat it is: CVE-2026-4480 is a critical command injection vulnerability in Redhat Enterprise Linux, published on 26 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4480 exists.\n\nAffected product: Redhat Enterprise Linux. 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-4480/ (Markdown: https://insights.sbomify.com/CVE-2026-4480/index.md)","id":"CVE-2026-4480","markdown":"https://insights.sbomify.com/CVE-2026-4480/index.md","name":"CVE-2026-4480","record":{"aliases":["ALPINE-CVE-2026-4480","AZL-88880","CLSA-2026-1780478501","CLSA-2026-1780503645","CLSA-2026-1780510989","CLSA-2026-1780662239","CLSA-2026-1780662711","CLSA-2026-1780672424","CLSA-2026-1780947657","CLSA-2026-1782145639","DEBIAN-CVE-2026-4480","ECHO-a229-4b9e-b030","GHSA-hwwh-4hhw-h9jf","UBUNTU-CVE-2026-4480"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Samba printing subsystem","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on Samba servers by sending crafted print job descriptions containing unescaped shell characters.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"enterprise_linux","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"},{"product":"samba","vendor":"samba"}],"cvss":{"score":9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"A flaw was found in the Samba printing subsystem. Samba passes the client-controlled job description string to the command configured with the \"print command\" setting via the \"%J\"\nsubstitution character without escaping shell meta characters. A remote attacker could exploit this vulnerability by sending a specially crafted print job description that contains unescaped shell characters. This could lead to remote code execution on the affected system.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-06-05","github_poc":8,"max_poc_stars":23,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-06-05T11:05:55Z","kind":"github_poc","ref":"https://github.com/TheCyberGeek/CVE-2026-4480-PoC","stars":23,"title":null},{"date":"2026-06-07T23:20:01Z","kind":"github_poc","ref":"https://github.com/0xredash/CVE-2026-4480","stars":2,"title":"CVE-2026-4480"},{"date":"2026-06-08T16:56:28Z","kind":"github_poc","ref":"https://github.com/saitoken241/CVE-2026-4480-POC","stars":2,"title":"smb spooler to RCE"},{"date":"2026-10-03T15:23:16Z","kind":"github_poc","ref":"https://github.com/AlanNewberry/CVE-2026-4480-samba-print-command-injection-rce","stars":2,"title":"Exploit para CVE-2026-4480: inyeccion de comandos en la variable %J del print command de Samba para RCE sin autenticacion via spoolss."},{"date":"2026-06-07T10:53:18Z","kind":"github_poc","ref":"https://github.com/robinxiang/CVE-2026-4480","stars":1,"title":"Exploit CVE-2026-4480"},{"date":"2026-06-16T09:49:25Z","kind":"github_poc","ref":"https://github.com/Vusal777/CVE-2026-4480-exploit-poc","stars":0,"title":"This is an exploit poc for CVE-2026-4480"},{"date":"2026-06-20T15:59:56Z","kind":"github_poc","ref":"https://github.com/ClearLotus-git/CVE-2026-4480-PoC","stars":0,"title":null},{"date":"2026-10-02T16:12:53Z","kind":"github_poc","ref":"https://github.com/timgad794/Abducted-HTB-Writeup","stars":0,"title":"🔴 HackTheBox Abducted (Medium) — CVE-2026-4480 (Samba %J) → rclone reveal → SMB-Symlink → systemd Drop-in → Root"}],"tier":"weaponised"},"has_fix":true,"headline":"Samba: samba: remote code execution in printing subsystem via unescaped job description","id":"CVE-2026-4480","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux","redhat:openshift_container_platform","samba:samba"],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":14,"next":{"headline":"Insight Agent Private Key Information Disclosure via Inherited File Permissions","id":"CVE-2026-4482"},"packages":[],"prev":{"headline":"Cross-site scripting in WholeSale Products Dynamic Pricing Management WooCommerce","id":"CVE-2026-4479"},"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"],"published":"2026-05-26","related":[{"cvss_score":9.8,"headline":"Red Hat JBoss RichFaces Framework Expression Language Injection","id":"CVE-2018-14667","kev_date_added":"2023-09-28","published":"2018-11-06"},{"cvss_score":9.8,"headline":"Missing fixes for CVE-2021-40438 and CVE-2021-26691 in the versions of httpd, as shipped in Red Hat Enterprise Linux 8.5.0, causes a securit","id":"CVE-2021-20325","kev_date_added":null,"published":"2022-02-18"},{"cvss_score":9.8,"headline":"Memory corruption in libwebp","id":"CVE-2018-25011","kev_date_added":null,"published":"2021-05-21"},{"cvss_score":9.8,"headline":"Other in libwebp","id":"CVE-2018-25014","kev_date_added":null,"published":"2021-05-21"},{"cvss_score":9.8,"headline":"Supply chain in redhat-upgrade-tool","id":"CVE-2014-3585","kev_date_added":null,"published":"2019-11-22"},{"cvss_score":9.3,"headline":"Squid: request/response smuggling in http/1.1 and icap","id":"CVE-2023-46846","kev_date_added":null,"published":"2023-11-03"},{"cvss_score":9.1,"headline":"Memory corruption in libwebp","id":"CVE-2018-25009","kev_date_added":null,"published":"2021-05-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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-09-01","vendors":["Red Hat"]},"summary":"Remote attackers can execute arbitrary code on Samba servers by sending crafted print job descriptions containing unescaped shell characters.","url":"https://insights.sbomify.com/CVE-2026-4480/"}