Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable CGI with low complexity and no user interaction, but requires a low-privilege authenticated web session (PR:L); out-of-bounds write yields high C/I/A impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
6DescriptionCVE.org
A vulnerability was identified in Shibby Tomato up to 1.28.0000. Affected by this vulnerability is the function main of the file www/apcupsd/tomatodata.cgi of the component apcupsd. Such manipulation leads to out-of-bounds write. The attack may be launched remotely. The exploit is publicly available and might be used. This project is superseded by FreshTomato.
AnalysisAI
Out-of-bounds write in the Shibby Tomato router firmware (versions up to and including 1.28.0000) lets authenticated remote users corrupt memory through the apcupsd web component. The flaw sits in the main() function of www/apcupsd/tomatodata.cgi, where crafted input reaches an out-of-bounds write (CWE-787) that can crash the CGI or potentially execute code on the router. Publicly available exploit code exists (via VulDB/Gitee), but there is no confirmed active exploitation; note that this project has been superseded by FreshTomato and is effectively end-of-life.
Technical ContextAI
Shibby Tomato is a community fork of the Tomato open-source firmware for consumer/SOHO routers (Broadcom-based), providing a web administration interface built from CGI programs. The affected code, www/apcupsd/tomatodata.cgi, is a CGI handler tied to apcupsd - the APC UPS daemon integration that exposes UPS status data through the web UI. The root cause is CWE-787 (Out-of-bounds Write): the main() routine writes past the bounds of an allocated buffer, typical of C CGI programs that copy attacker-influenced request parameters into fixed-size stack or heap buffers without adequate bounds checking. The single CPE, cpe:2.3:a:shibby:tomato:*:*:*:*:*:*:*:*, identifies Shibby's Tomato distribution as the affected product family.
RemediationAI
No vendor-released patch identified at time of analysis, and the Shibby Tomato project is end-of-life (superseded by FreshTomato), so the primary remediation is migration: replace Shibby Tomato with an actively maintained firmware such as FreshTomato (or an equivalent supported alternative) that carries current fixes, accepting the effort of a firmware reflash and configuration migration. Until migration is possible, apply compensating controls: disable the apcupsd feature/UPS monitoring in the web UI if UPS integration is not used, which removes the vulnerable tomatodata.cgi code path at the cost of losing UPS status reporting; restrict access to the router's web administration interface to trusted management hosts/VLANs and never expose it to the WAN, since exploitation requires reaching the CGI over the network; and enforce strong, unique admin credentials because the flaw requires an authenticated (PR:L) session, so limiting who holds valid logins directly reduces exposure. Consult the VulDB references (https://vuldb.com/cve/CVE-2026-15545) for tracking updates.
OS command injection in Shibby Tomato 1.28.0000 allows network-connected administrators to execute arbitrary shell comma
OS command injection in Shibby Tomato 1.28.0000 allows an authenticated remote administrator to execute arbitrary operat
OS command injection in Shibby Tomato 1.28.0000's QoS management script allows an authenticated remote attacker with adm
Stack-based buffer overflow in Shibby Tomato router firmware (versions up to 1.28) allows remote attackers to corrupt me
Remote authenticated command execution is possible in Shibby Tomato router firmware through version 1.28.0000, where the
OS command injection in Shibby Tomato 1.28.0000 firmware allows authenticated remote attackers to execute arbitrary oper
OS command injection in Shibby Tomato 1.28.0000 router firmware allows authenticated remote attackers to execute arbitra
OS command injection in Shibby Tomato 1.28.0000 router firmware allows authenticated remote attackers to execute arbitra
OS command injection in Shibby Tomato 1.28.0000 router firmware allows authenticated remote attackers to execute arbitra
The admin API in the tomato module before 0.0.6 for Node.js does not properly check the access key when it is set to a s
Stack-based buffer overflow in Shibby Tomato router firmware (version 1.28, RT-N5x MIPSR2 Build 124) lets an authenticat
Out-of-bounds write in Shibby Tomato 1.28 (RT-N5x MIPSR2 Build 124) router firmware lets an authenticated attacker corru
Same weakness CWE-787 – Out-of-bounds Write
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-43309
GHSA-x2mq-9fxf-86m4