N-able N-central Root RCE via Unsigned Package (CVE-2026-125958)
An N-central administrator can upload an unsigned .nsp package and run code as root, and two earlier flaws make the chain unauthenticated.
TL;DR
- N-able N-central's upgrade worker checks an uploaded
.nsppackage against a checksum file supplied next to it in the same upload. An attacker who can upload one writes both files and gets code execution as root. - The flaw needs an N-central administrator session. On builds before 2026.3.1.13, two earlier authentication flaws chain with it to make the attack unauthenticated. N-central is N-able's remote monitoring and management (RMM) platform for managed service providers.
- Rapid7 rates CVE-2026-125958 CVSS v4.0 7.5 High. A public proof of concept demonstrates the full chain. No in-the-wild exploitation is reported, and the CVE is not in the 2026.11.27 Known Exploited Vulnerabilities (KEV) catalog, checked 2026-11-30.
- N-able's advisory lists no resolution. Patching the two authentication flaws removes the unauthenticated path only; restrict the management interface and review administrator accounts while you wait. See "How do I fix it?".
Am I affected?
An N-central deployment is exposed when all of these conditions hold:
- The server is an on-premises N-central appliance, not a hosted N-able instance.
- An attacker can sign in as an N-central administrator, or the build predates 2026.3.1.13 and the two authentication flaws are still present.
- The attacker can reach the version-management endpoints on the management interface, TCP 8443 by default.
Hosted N-central instances are patched by N-able. Rapid7 says hosted customers did not need to act on the two authentication flaws, and the upgrade worker runs on the appliance N-able controls.
| Branch | Affected versions | Fixed version |
|---|---|---|
| N-central on-premises | Through 24.6.1 according to the CVE record; Rapid7 demonstrated the flaw on 2026.3.1.10 | No fixed version listed |
The CVE record's affected range does not match the build Rapid7 tested. N-able's advisory lists no resolution, and Rapid7 asks customers to update to the latest available version and contact N-able support. Ask N-able which build carries a fix before you treat an upgrade as remediation.
On the appliance, print the installed release and check whether the upgrade worker still trusts a checksum from the package:
rpm -q n-central-release
grep -n 'sha256sum --quiet --check' /opt/nable/var/ncsai/scripts/ManageVersionChild.sh
grep -n 'systemd-run' /opt/nable/var/ncsai/scripts/ManageVersionChild.sh
The first command prints the installed build. The other two print the checksum-only check and the root launch in the upgrade worker. A match on both checks means the vulnerable flow is present.
How do I fix it?
No fixed release is listed as of 2026-11-30. The advisory names no fixing build, so treat the current build as affected and follow the steps in this section.
- Record the installed build with
rpm -q n-central-release. - Ask N-able support which build fixes CVE-2026-125958, and apply that build. Do not assume the latest release contains the fix, because the advisory does not name one.
- If you are on a build before 2026.3.1.13, apply N-central 2026.3 Hotfix 3 first. It closes CVE-2026-86206 and CVE-2026-86207, the two flaws that make the chain unauthenticated.
- Re-check the upgrade worker after the upgrade with the two
grepcommands in "Am I affected?".
If you cannot upgrade yet, reduce who can reach the upload path:
- Restrict TCP 8443 on the N-central server to the addresses your administrators use. Do not expose the management interface to the internet.
- Enforce multi-factor authentication for every N-central administrator and remove accounts that do not need the role.
- Alert on new System administrator accounts and on calls to
/dms/rest/nac/version-management/uploadNsp.
The network rule and the account review do not fix the missing signature check. An administrator who can reach the interface can still upload a package, and the two earlier flaws still make the chain unauthenticated on an unpatched build.
What is the root cause?
N-central's upgrade worker verifies an uploaded update package with a checksum file uploaded alongside the package, then runs the package's upgrade script as root. It never checks that N-able signed the package.
N-central processes an update through two REST endpoints. POST /dms/rest/nac/version-management/uploadNsp accepts an .nsp package, a zstd-compressed archive. POST /dms/rest/nac/version-management/upgrade starts the processing. The appliance runs /opt/nable/var/ncsai/scripts/ManageVersionChild.sh for that processing. Rapid7 published the relevant excerpt, because the appliance source is not public.
The script sets nc_tmp_folder to the temporary directory that holds the uploaded package. It then looks for the first *.sha2 file anywhere under that directory and derives the package basename from the checksum file's name. The error branch also uses to_email_address for the notification recipient and nc_db_username and nc_db_name to read the sender address from the database:
echo "INFO: Checking NSP integrity ..."
nc_nsp_checksum_file="$(find "${nc_tmp_folder}" -type f -name '*.sha2' -print | sed "s|${nc_tmp_folder}/||g" | xargs)" # <--- [1]
nc_nsp_file_basename="${nc_nsp_checksum_file%%.sha2}"
if ! sha256sum --quiet --check "${nc_nsp_checksum_file}"; then
echo "ERROR: NSP file ${nc_nsp_file_basename}.nsp is corrupted"
email_subject="ERROR: The N-central upgrade to N-central ${nc_nsp_file_basename} failed"
email_error_message="The N-central upgrade to N-central ${nc_nsp_file_basename} from: $(rpm -q --qf '%{VERSION}' n-central-release) on: $(gawk '{print tolower($0)}' '/etc/hostname') failed downloading or unpacking the upgrade '.nsp' file, please verify the checksum of the '.nsp' file you have downloaded.\nIf this issue persists, please contact N-central Technical Support."
from_email_address="$(psql --username="${nc_db_username=}" --dbname="${nc_db_name}" --tuples-only --no-align --command="SELECT email FROM soemail WHERE customerid = 1;" | xargs)"
if [[ -z "${from_email_address}" ]] || [[ "${from_email_address}" == '' ]]; then
from_email_address='[email protected]'
fi
send_email "${to_email_address}" "${from_email_address}" "${email_subject}" "${email_error_message}"
exit 1
fi
The check at [1] proves only that the archive matches the hash file next to it. An attacker who supplies the archive also supplies the hash file, so the check passes on any payload. The script treats the result as an integrity check for a download, not as proof of vendor origin.
After the check, the script decompresses the archive, picks the n-central-upgrade/upgrade.sh it contains, and starts it with systemd-run:
echo "INFO: Extracting the zstd compressed tarball ..."
zstd --decompress --stdout --force "${nc_nsp_file_basename}.zstd" | tar --extract --warning=no-timestamp
next_script="${nc_tmp_folder}/n-central-upgrade/upgrade.sh"
rm -f "${nc_tmp_folder}/n-central-upgrade.nsp"
rm -f "${nc_nsp_file_basename}."*
echo "INFO: Launching the Upgrade : '${next_script}' '${to_email_address}' &"
systemd_unit_name="nos-upgrade"
systemd_slice_name="upgrade"
trap - ERR
trap - EXIT
systemctl reset-failed "${systemd_unit_name}" || true
sleep 5
systemd-run --unit="${systemd_unit_name}" --slice="${systemd_slice_name}" --property=After=network-online.target --property=Wants=network-online.target bash "${next_script}" "${to_email_address}" & # <--- [2]
systemd-run starts the script in a transient unit named nos-upgrade. The upgrade worker runs as root, so the unit inherits root. The script has no signature check, no allowlist of package contents, and no separation between verification and execution.
How is it exploited?
- The attacker gets an N-central administrator session. On a build before 2026.3.1.13, CVE-2026-86206 and CVE-2026-86207 supply that session without credentials.
- The attacker builds a zstd
.nsparchive whosen-central-upgrade/upgrade.shcontains the payload, then writes a.sha2file with the matching SHA-256. - The attacker uploads the archive to
/dms/rest/nac/version-management/uploadNsp. - The attacker calls
/dms/rest/nac/version-management/upgradeto start processing. ManageVersionChild.shfinds the attacker's.sha2file, verifies the archive against it, and extractsupgrade.sh.systemd-runstartsupgrade.shas root in thenos-upgradeunit.
Rapid7 published a proof-of-concept script that demonstrates the full chain against N-central 2026.3.1.10. This article does not reproduce the payload. The script is linked in References.
How does the attack flow?
An administrator session, or the two authentication flaws chained into one, reaches the package upload, passes a checksum check that uses the attacker's own hash file, and runs the extracted upgrade script as root through systemd-run.
What can an attacker do?
An attacker who completes the chain runs commands as root on the N-central appliance. The conditions are an administrator session or the two authentication flaws, network access to the management interface, and the ability to upload a package. No user interaction is required beyond the administrator action the upload represents.
Root on the RMM server gives access to the platform's data and management functions. N-central is the system managed service providers use to monitor and manage customer endpoints, so the server holds the agent trust and the management data for those endpoints. Rapid7 demonstrates root code execution on the appliance and does not publish a specific action against a managed endpoint.
Rapid7 rates CVE-2026-125958 CVSS v4.0 7.5 High, CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N, CWE-494. The score covers the privilege escalation with high privileges required. The two flaws that remove that requirement are rated 6.9 Medium (CVE-2026-86206) and 7.7 High (CVE-2026-86207).
Why does the fix work?
No fix is published, so there is no patch diff to read. The control that closes the bug is a signature check that does not depend on the uploaded package: the appliance must verify an N-able signature over the archive with a public key it already trusts, and reject a package whose signature is missing or invalid.
A complete change also separates verification from execution. The upgrade worker should run as an unprivileged account, verify the package, and escalate only for the steps that need root. Today the same script that reads the untrusted archive also launches the script as root. Until N-able publishes a build that does this, CVE-2026-125958 remains exploitable by an administrator on any build without a fix.
Patching CVE-2026-86206 and CVE-2026-86207 in 2026.3 Hotfix 3 removes the unauthenticated path. It does not add the signature check, so an administrator can still upload a package.
How do I check if I was compromised?
No vendor or researcher has published indicators of compromise. A failed upload can leave no trace when the worker rejects the package before it runs, and an accepted package runs with the appliance's own tooling.
Review the upgrade path and the administrator accounts:
rpm -q n-central-release
journalctl -u nos-upgrade --since '30 days ago' --no-pager
find /opt/nable/var/ncsai -type f \( -name '*.nsp' -o -name '*.sha2' -o -name 'upgrade.sh' \) 2>/dev/null
The first command prints the build. The second lists runs of the transient upgrade unit. The third finds leftover package and script files in the upgrade workspace. A nos-upgrade run you did not schedule, or a package file you did not download from N-able, is a lead to investigate.
If your reverse proxy or Envoy writes request paths to the journal, search for the upload endpoint:
journalctl --since '30 days ago' --no-pager | grep -F '/dms/rest/nac/version-management/uploadNsp'
A hit is a lead, not proof. N-central administrators also upload packages for legitimate upgrades. Check the source address, the account and the package's origin.
Timeline
- 2026-08-27: Rapid7 contacts N-able about a three-flaw chain that reaches root on N-central.
- 2026-08-28: Rapid7 sends N-able the technical analysis and an exploit script.
- 2026-09-05: N-central 2026.3 Hotfix 3, build 2026.3.1.13, fixes CVE-2026-86206 and CVE-2026-86207.
- 2026-09-08: Rapid7 and N-able disclose the two authentication flaws.
- 2026-11-09: Rapid7 tells N-able that a third party has published N-central exploit code, including an NSP root path.
- 2026-11-10: N-able publishes CVE-2026-125958 with no listed resolution.
- 2026-11-30: Rapid7 publishes the analysis and the full-chain proof of concept.
FAQ
Does an attacker need an N-central administrator account?
Yes for CVE-2026-125958 on its own. The flaw is in the package upload, which requires an administrator session. On a build before 2026.3.1.13, CVE-2026-86206 and CVE-2026-86207 create that session without credentials, so the chain is unauthenticated.
Is there a fixed release?
No fixed release is listed as of 2026-11-30. N-able's advisory carries no resolution, and Rapid7 advises customers to update to the latest available version and contact N-able support. N-central 2026.3 Hotfix 3 fixes only the two authentication flaws.
Is it exploited in the wild?
No in-the-wild exploitation is reported. The Cybersecurity and Infrastructure Security Agency (CISA) Authorized Data Publisher entry for the CVE marks exploitation as "poc", and Rapid7 published a proof of concept on 2026-11-30. CVE-2026-125958 is not in the 2026.11.27 CISA KEV catalog, checked 2026-11-30.
What is an .nsp package?
An .nsp package is N-central's update archive, a zstd-compressed tarball. N-central's worker extracts it, reads n-central-upgrade/upgrade.sh, and runs that script to apply the upgrade. The same archive format carries the attacker's payload in this flaw.
Does the checksum check stop a malicious package?
No. The .sha2 file is supplied alongside the archive in the same upload, so the attacker controls both sides of the comparison. The check detects a corrupted download. It does not prove that N-able produced the package.
Does blocking the upload endpoint fix it?
No. Restricting the management interface to trusted networks reduces exposure, but an administrator who can reach N-central can still call the endpoint. The code remains vulnerable until N-able ships a signature check.
References
- Rapid7, "CVE-2026-125958: N-able N-central Privilege Escalation via Unsigned Upgrade Packages", published 2026-11-30 (checked November 30, 2026): https://www.rapid7.com/blog/post/ve-cve-2026-125958-n-able-n-central-privilege-escalation-via-unsigned-upgrade-packages
- N-able, CVE-2026-125958 record, published 2026-11-10 (checked November 30, 2026): https://www.cve.org/CVERecord?id=CVE-2026-125958
- N-able, "CVE-2026-125958 Root RCE via unsigned NSP upgrade package upload" advisory (checked November 30, 2026): https://me.n-able.com/s/security-advisory/aArVy0000002ixpKAA/cve2026125958-root-rce-via-unsigned-nsp-upgrade-package-upload
- Rapid7, "CVE-2026-86206, CVE-2026-86207: N-able N-central Authentication Bypass (FIXED)", published 2026-09-08 (checked November 30, 2026): https://www.rapid7.com/blog/post/ve-cve-2026-86206-cve-2026-86207-n-able-n-central-authentication-bypass-fixed
- N-able, "2026.3 HF3 Release Notes", build 2026.3.1.13, last updated 2026-09-05 (checked November 30, 2026): https://documentation.n-able.com/N-central/Release_Notes/GA/Content/N-central_2026.3_HF3_Release_Notes.htm
- Rapid7, N-central RCE chain proof of concept, linked from the 2026-11-30 analysis (checked November 30, 2026): https://github.com/sfewer-r7/n-central-rce-chain
- N-able, N-central product page (checked November 30, 2026): https://www.n-able.com/products/n-central-rmm
- N-able, company page, 500,000+ organizations and 11M+ devices protected across its products (checked November 30, 2026): https://www.n-able.com/company
- CISA, Known Exploited Vulnerabilities Catalog, catalog version 2026.11.27 (checked November 30, 2026): https://www.cisa.gov/known-exploited-vulnerabilities-catalog
Keep reading
