自定义打印命令含 %J 时,任务名会直接进入 shell,PoC 已放出。
rcecvepocsmb
RT @DarkWebInformer: 🚨 A Samba printing flaw can turn a malicious print job name into remote code execution; CVE-2026-4480
PoC: https://t.co/PELF8HS4Oj
The vulnerability affects Samba’s printing subsystem when %J is used inside a custom print command. A client-controlled print job name can reach the shell without proper escaping, allowing shell metacharacters to alter the command being executed.
Samba Printing | Command Injection RCE
CVSS: 9.8 Critical
Affected: Samba < 4.22.10, < 4.23.8, and < 4.24.3
Fixed: Samba 4.22.10, 4.23.8, and 4.24.3
Impact: Unauthenticated remote code execution under affected configurations
The repository documents the vulnerable configuration, attack path, affected versions, detection guidance, and mitigation steps.