---
id: "CVE-2026-129102"
page: "https://infrastack.ai/live/CVE-2026-129102"
kind: "vulnerability"
aliases: ["CVE-2026-129102"]
title: "Cudy TR3000 router: authenticated admins run commands as root via VPN settings"
severity: "high"
cvss: 8.6
epss: null
exploited: false
status: "open"
category: "infrastructure"
products: []
ecosystems: []
tags: ["cudy", "infrastructure", "ipsec", "router", "self-hosted", "strongswan", "tr3000"]
not_affected_if: ["auth-required", "firmware-2.5.42-or-later"]
published_at: "2026-11-13T16:18:59+00:00"
first_seen_at: "2026-11-13T16:47:34+00:00"
updated_at: "2026-11-13T16:48:26+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129102", "first_seen_at": "2026-11-13T16:47:34+00:00"}]
exploit_sources: []
---

# Cudy TR3000 router: authenticated admins run commands as root via VPN settings

Link for people: https://infrastack.ai/live/CVE-2026-129102 (this .md is for agents)

Cudy TR3000 routers before 2.5.42 let an authenticated administrator inject newlines into the IPsec keyexchange field of the vpn.set_conf RPC, adding a second leftupdown directive to ipsec.conf. StrongSwan then runs that injected command as root when a peer establishes a CHILD_SA, so an attacker gets root on the device.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the firmware version in the router's admin interface (System or Status page) and compare it with `2.5.42`.
- Confirm whether IPsec VPN is enabled on the device; the sources do not name a specific setting that disables the path.

## Fix

- Cudy TR3000: move to `2.5.42` or later.

## Timeline

- 2026-11-13T16:47:34+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129102

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/cudy-tr3000-before-2.5.42-command-injection-via-vpn-set-conf-ipsec-keyexchange

## From the sources

Cudy TR3000 before 2.5.42 contains a command injection vulnerability that allows authenticated administrators to execute commands as root by injecting newlines into the IPsec keyexchange field of the vpn.set_conf RPC method. Attackers can append a second leftupdown directive to ipsec.conf, which StrongSwan's updown plugin runs as root when an attacker-controlled peer establishes the CHILD_SA.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
