# CVE-2026-125958: N-able N-central Privilege Escalation to Root via Unsigned Upgrade Packages (.nsp)

> An authenticated N-central administrator can upload a crafted .nsp upgrade package that is validated only against a checksum shipped inside the same untrusted package, so an attacker-supplied upgrade.sh executes as root. Rapid7 chains it with CVE-2026-86206 and CVE-2026-86207 (fixed in 2026.3 Hotfix 3) into unauthenticated root RCE; a public PoC exists and no fix for CVE-2026-125958 is confirmed by the vendor.

- **Author:** Threadlinqs Team
- **Published:** 2026-11-30T19:24:28Z
- **Last updated:** 2026-11-30T19:24:28Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7103
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7103.png
- **ID:** TL-2026-7103
- **Severity:** HIGH (CVSS 7.5)
- **Category:** VULNERABILITY
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 11
- **CVEs:** CVE-2026-125958, CVE-2026-86206, CVE-2026-86207

## Description

CVE-2026-125958 (CWE-494, Download of Code Without Integrity Check) affects the N-able N-central remote monitoring and management (RMM) server appliance. N-central supports uploading .nsp upgrade packages (zstd archives) through the REST endpoint /dms/rest/nac/version-management/uploadNsp and starting processing through /dms/rest/nac/version-management/upgrade. Processing is handled by the shell script ManageVersionChild.sh under /opt/nable/var/ncsai/scripts/.

The script verifies the archive against a .sha2 checksum file that is taken from the same untrusted package. Because the attacker controls both the archive and its checksum, the check proves integrity but not origin, and no vendor signature is verified. The script then extracts n-central-upgrade/upgrade.sh from the archive and runs it as root via systemd-run (unit nos-upgrade, slice upgrade). The flaw requires an authenticated administrator (PR:H) and is rated CVSS v4.0 7.5 (AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H) by Rapid7. Credit: Stephen Fewer, Rapid7.

Rapid7 documents a full chain: CVE-2026-86206 (access control bypass) and CVE-2026-86207 (authentication bypass), both remediated in N-central 2026.3 Hotfix 3 (2026.3.1.13), provide administrative access without credentials, and CVE-2026-125958 then converts that access into root code execution. Rapid7's public PoC (sfewer-r7/n-central-rce-chain, exploit.py) demonstrates unauthenticated RCE as root against a 2026.3.1.10 appliance. Rapid7 reported the chain to N-able on 2026-08-27/28; the first two flaws were disclosed with vendor updates on 2026-09-08.

On 2026-11-09 a third party publicly disclosed numerous N-central issues (referred to as Able2Shell in Rapid7's coverage, with PoC code for 33 issues, including nsp_root_rce.py per the hunt notes), including this one. N-able then assigned this CVE and published its advisory on 2026-11-10 with no listed resolution. N-able's 2026.4 Hotfix 2 (build 2026.4.1.26) fixes seven other CVEs and does not mention CVE-2026-125958; N-able says remaining issues requiring authenticated access will be fixed in later hotfixes. N-able reported scanning activity tied to publicly released PoC code but no indications of compromise on hosted servers. In-the-wild exploitation of CVE-2026-125958 specifically is not stated in any source. Rapid7 also queried whether CVE-2026-129271 (published 2026-11-17) duplicates this CVE; this is unresolved.

Affected version range is not stated by the vendor. Rapid7 confirmed 2026.3.1.10; the Rapid7 DB and Wiz list N-central 'through 24.6.1', which is inconsistent with the 2026.x PoC target and is treated as unverified. Because N-central is an RMM platform with agents and probes on managed endpoints, root compromise of the server places downstream managed systems at risk.

## MITRE ATT&CK

- T1595.002 Vulnerability Scanning
- T1190 Exploit Public-Facing Application
- T1078 Valid Accounts
- T1059.004 Unix Shell

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**N-central uploadNsp Followed by Upgrade Trigger from Same Source (CVE-2026-125958)** (`TL-2026-7103-SPL-001`)

Detects a single client calling the N-central REST endpoints /dms/rest/nac/version-management/uploadNsp and /dms/rest/nac/version-management/upgrade within 15 minutes. This is the exact request sequence of the public Rapid7 PoC (n-central-rce-chain / exploit.py) and the nsp_root_rce.py PoC: an admin session uploads a crafted .nsp package, then starts processing so that the attacker-supplied upgrade.sh runs as root (CWE-494). Legitimate version upgrades produce the same sequence, so alerts must be reconciled with change windows.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1190, T1078, T1068
- **Data sources:** web access logs (index=web, sourcetype=access_combined), CommonSecurityLog (WAF/reverse proxy), webserver logsource
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=web sourcetype=access_combined earliest=-24h method=POST (uri_path="/dms/rest/nac/version-management/uploadNsp" OR uri_path="/dms/rest/nac/version-management/upgrade") | fillnull value="-" user useragent | eval step=if(like(uri_path,"%uploadNsp"),"uploadNsp","upgrade") | stats min(_time) as first_seen max(_time) as last_seen dc(step) as step_count values(step) as steps values(status) as statuses values(useragent) as useragents by clientip host user | where step_count=2 AND (last_seen-first_seen)<=900 | eval first_seen=strftime(first_seen,"%F %T"), last_seen=strftime(last_seen,"%F %T") | table first_seen last_seen host clientip user steps statuses useragents
```

### Microsoft KQL

```kql
CommonSecurityLog | where TimeGenerated > ago(24h) | where RequestMethod =~ 'POST' | where RequestURL has_any ('/dms/rest/nac/version-management/uploadNsp', '/dms/rest/nac/version-management/upgrade') | extend Step = iff(RequestURL has 'uploadNsp', 'uploadNsp', 'upgrade') | summarize FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Steps = make_set(Step), Urls = make_set(RequestURL, 10), UserAgents = make_set(RequestClientApplication, 5) by SourceIP, DestinationIP, SourceUserName | where array_length(Steps) == 2 and LastSeen - FirstSeen <= 15m | project FirstSeen, LastSeen, SourceIP, DestinationIP, SourceUserName, Steps, Urls, UserAgents
```

### Sigma

```yaml
title: N-able N-central NSP Upload or Upgrade Request (CVE-2026-125958)
id: 7c1e5a3b-4d92-4f60-9b8a-2e6f1c0d7a11
status: experimental
description: Detects POST requests to the N-central version-management REST endpoints used to upload a crafted .nsp package and start its processing, which results in root execution of an attacker-supplied upgrade.sh (CVE-2026-125958, CWE-494). Matches the public Rapid7 PoC request sequence. Legitimate upgrades use the same endpoints.
references:
    - https://www.rapid7.com/blog/post/ve-cve-2026-125958-n-able-n-central-privilege-escalation-via-unsigned-upgrade-packages
    - https://github.com/sfewer-r7/n-central-rce-chain
author: Threadlinqs Team
date: 2026-11-30
tags:
    - attack.initial-access
    - attack.t1190
    - attack.privilege-escalation
    - attack.t1068
    - cve.2026-125958
logsource:
    category: webserver
detection:
    selection:
        cs-method: 'POST'
        cs-uri-stem|contains:
            - '/dms/rest/nac/version-management/uploadNsp'
            - '/dms/rest/nac/version-management/upgrade'
    condition: selection
falsepositives:
    - Planned N-central version upgrades performed by administrators
level: high
```

**Known false positives:**

- Planned N-central upgrade by an administrator uploading an official .nsp package
- Vendor-assisted maintenance or support sessions that upload upgrade packages

**Tuning notes:** Point index/sourcetype at the N-central front-end (Tomcat/reverse proxy) access log; adjust field names (clientip, uri_path, useragent) to your CIM mapping. Suppress hosts during approved change windows via a lookup, and allowlist known admin jump-host IPs. Raise priority when the source is external or the user agent is a scripting client (python-requests, curl). Note that the N-central 2026.4 HF2 build does not fix this CVE, so keep this rule on after patching.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- Scanning of N-central /dms/rest/nac/ REST API from a Single Source (locked: unlock with TL Creds)
- Crafted .nsp or .sha2 Package Written on N-central Appliance (locked: unlock with TL Creds)
- Public N-central PoC Tooling Executed ([indicator], [indicator], Able2Shell) (locked: unlock with TL Creds)
- N-central Version-Management API Accessed Successfully from Non-Internal Source (locked: unlock with TL Creds)
- Persistence Mechanisms Created by N-central [indicator] Descendants (locked: unlock with TL Creds)
- N-central Windows Agent Spawning Script Interpreters (Downstream RMM Abuse) (locked: unlock with TL Creds)
- N-central Root Execution of [indicator] via systemd-run nos-upgrade Unit (locked: unlock with TL Creds)
- Reverse Shell or Download Tooling Executed on N-central Host After nos-upgrade (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [Rapid7: CVE-2026-125958 N-able N-central Privilege Escalation via Unsigned Upgrade Packages](https://www.rapid7.com/blog/post/ve-cve-2026-125958-n-able-n-central-privilege-escalation-via-unsigned-upgrade-packages)
- [Rapid7 PoC: n-central-rce-chain](https://github.com/sfewer-r7/n-central-rce-chain)
- [N-able security advisory: CVE-2026-125958 root RCE via unsigned NSP upgrade package upload](https://me.n-able.com/)
- [Rapid7 DB: CVE-2026-125958](https://www.rapid7.com/db/vulnerabilities/cve-2026-125958/)
- [N-able: Update on N-central 2026.4 HF2 and ongoing security response](https://www.n-able.com/?p=92335)
- [Rapid7: Critical Vulnerabilities in N-able N-central Prompt Hosted Shutdown](https://rapid7.com/blog/post/etr-critical-vulnerabilities-in-n-able-n-central-prompt-hosted-shutdown)
- [Wiz Vulnerability Database: CVE-2026-125958](https://www.wiz.io/fr-fr/vulnerability-database/cve/cve-2026-125958)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7103
