The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-29660

CVE-2025-29660: Yiiot XY-3820 Path Traversal Vulnerability

CVE-2025-29660 is a path traversal vulnerability in Yiiot XY-3820 Firmware that enables attackers to execute arbitrary scripts via TCP port 6789. This article covers technical details, affected versions, and mitigation.

Published: March 25, 2026

CVE-2025-29660 Overview

A critical directory traversal vulnerability exists in the daemon process of the Yi IOT XY-3820 IP camera firmware version 6.0.24.10. The device exposes a TCP service on port 6789 that lacks proper input validation, enabling attackers to execute arbitrary scripts present on the device by sending specially crafted TCP requests using directory traversal techniques. This vulnerability allows unauthenticated remote attackers to achieve complete device compromise over the network.

Critical Impact

Unauthenticated remote code execution via directory traversal on IoT camera devices, enabling complete device takeover with no user interaction required.

Affected Products

  • Yi IOT XY-3820 Firmware version 6.0.24.10
  • Yi IOT XY-3820 Hardware

Discovery Timeline

  • April 21, 2025 - CVE-2025-29660 published to NVD
  • June 23, 2025 - Last updated in NVD database

Technical Details for CVE-2025-29660

Vulnerability Analysis

The vulnerability resides in the daemon process of the Yi IOT XY-3820 IP camera, which exposes a TCP service listening on port 6789. This service processes incoming requests without implementing adequate input validation or sanitization, specifically failing to neutralize directory traversal sequences such as ../ in user-supplied input.

When the daemon receives a crafted TCP request containing path traversal characters, it fails to properly validate the requested resource path, allowing an attacker to escape the intended directory structure. This enables the execution of arbitrary scripts or binaries that exist elsewhere on the device's filesystem. The vulnerability is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).

Root Cause

The root cause is improper input validation in the TCP service's request handler. The daemon process fails to sanitize directory traversal sequences (../, ..%2f, etc.) from incoming request paths before using them in file system operations. This allows attackers to break out of the intended directory and access or execute files from arbitrary locations on the device's filesystem.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker with network access to the vulnerable device can send specially crafted TCP packets to port 6789 containing directory traversal sequences. These sequences allow the attacker to reference and execute scripts or binaries located outside the intended service directory.

The attack leverages the exposed TCP service which was likely intended for device management or communication purposes but lacks proper security controls. By chaining directory traversal with script execution capabilities, an attacker can achieve remote code execution and gain full control of the compromised device.

For detailed technical analysis and proof-of-concept information, refer to the GitHub CVE-2025-29660 Research repository.

Detection Methods for CVE-2025-29660

Indicators of Compromise

  • Unexpected network connections to port 6789 on Yi IOT XY-3820 devices from external or unauthorized IP addresses
  • TCP packets containing directory traversal sequences (../, ..%2f, %2e%2e/) targeting port 6789
  • Unusual process execution or script activity originating from the camera device
  • Network traffic patterns indicating command and control communication from IoT devices

Detection Strategies

  • Implement network intrusion detection rules to identify directory traversal patterns in TCP traffic destined for port 6789
  • Monitor for anomalous outbound connections from IoT camera devices that may indicate post-exploitation activity
  • Deploy network segmentation monitoring to detect unauthorized access attempts to IoT device management ports
  • Use packet inspection to identify malformed or suspicious TCP requests targeting Yi IOT devices

Monitoring Recommendations

  • Isolate IoT cameras on dedicated network segments with restricted access and egress filtering
  • Implement continuous network traffic analysis for all IoT device communications
  • Enable logging on network security devices to capture connection attempts to port 6789
  • Deploy honeypots mimicking vulnerable IoT camera services to detect active exploitation attempts

How to Mitigate CVE-2025-29660

Immediate Actions Required

  • Block external network access to port 6789 on all Yi IOT XY-3820 devices using firewall rules
  • Segment IoT cameras onto isolated VLANs with restricted network access
  • Audit network logs for any evidence of prior exploitation attempts targeting this vulnerability
  • Consider temporarily disconnecting affected devices from the network until a patch is available

Patch Information

At the time of publication, no vendor patch has been confirmed for this vulnerability. Organizations should monitor the GitHub PoC Repository for updates and check with Yi IOT for firmware updates addressing this issue.

Workarounds

  • Implement strict firewall rules blocking all inbound connections to port 6789 from untrusted networks
  • Place affected devices behind a VPN or authenticated gateway to restrict network exposure
  • Deploy network-level intrusion prevention systems (IPS) with rules to detect and block directory traversal attacks
  • Consider replacing affected devices with alternatives that have active security support if no patch becomes available
bash
# Example iptables rule to block external access to vulnerable service
iptables -A INPUT -p tcp --dport 6789 -s ! 192.168.1.0/24 -j DROP

# Example rule to log connection attempts for monitoring
iptables -A INPUT -p tcp --dport 6789 -j LOG --log-prefix "YiIOT-6789: "

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechYiiot

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.74%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub CVE-2025-29660 Research
  • Vendor Resources
  • GitHub PoC Repository
  • Related CVEs
  • CVE-2025-29659: Yiiot Xy-3820 Firmware RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English