npm — security advisory
npm cli Incorrect Permission Assignment Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of npm cli. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of modules. The application loads modules from an unsecured location. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of a target user. Was ZDI-CAN-25430.
- Products
- npm
- Affected versions
- 1.2.18~dfsg-3, 1.3.10~dfsg-1, 1.4.21+ds-2, 11.16.0+ds2-4, 3.5.2-0ubuntu4, 3.5.2-0ubuntu4.1.16.04.1~esm1, 3.5.2-0ubuntu4.1.18.04.1~esm1, 5.8.0+ds6-4, 6.14.4+ds-1ubuntu2, 7.24.2+ds-1, 7.24.2+ds-2, 7.5.2+ds-2, 8.3.0~ds-1, 8.3.0~ds-2, 8.3.2~ds-1, 8.5.0~ds-1, 8.5.1~ds-1, 9.2.0~ds1-1, 9.2.0~ds1-2, 9.2.0~ds1-3, 9.2.0~ds2-2, 9.2.0~ds3-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-0775
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:56 UTC · Revision 1
Source evidence
npm cli Incorrect Permission Assignment Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of npm cli. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of modules. The application loads modules from an unsecured location. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of a target user. Was ZDI-CAN-25430.
osv:UBUNTU-CVE-2026-0775
npm
Fixed versions: Not specified
npm
Fixed versions: Not specified
npm
Fixed versions: Not specified
npm
Fixed versions: Not specified
npm
Fixed versions: Not specified
npm
Fixed versions: Not specified
npm
Fixed versions: Not specified
npm
Fixed versions: Not specified
npm
Fixed versions: Not specified
Complete source record
{
"id": "bde4b33871f13254c68128097ca99b0ddae2cdf08faa7017c0250879ad9b9f54",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-0775",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-0775",
"summary": "npm cli Incorrect Permission Assignment Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of npm cli. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of modules. The application loads modules from an unsecured location. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of a target user. Was ZDI-CAN-25430.",
"evidence": "osv:UBUNTU-CVE-2026-0775",
"products": [
{
"name": {
"value": "npm",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.18~dfsg-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.10~dfsg-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "npm",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.21+ds-2",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.2-0ubuntu4",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.2-0ubuntu4.1.16.04.1~esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "npm",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.5.2-0ubuntu4",
"evidence": "/affected/2/versions"
},
{
"value": "3.5.2-0ubuntu4.1.18.04.1~esm1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "npm",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.8.0+ds6-4",
"evidence": "/affected/3/versions"
},
{
"value": "6.14.4+ds-1ubuntu2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "npm",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.5.2+ds-2",
"evidence": "/affected/4/versions"
},
{
"value": "7.24.2+ds-1",
"evidence": "/affected/4/versions"
},
{
"value": "7.24.2+ds-2",
"evidence": "/affected/4/versions"
},
{
"value": "8.3.0~ds-1",
"evidence": "/affected/4/versions"
},
{
"value": "8.3.0~ds-2",
"evidence": "/affected/4/versions"
},
{
"value": "8.3.2~ds-1",
"evidence": "/affected/4/versions"
},
{
"value": "8.5.0~ds-1",
"evidence": "/affected/4/versions"
},
{
"value": "8.5.1~ds-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "npm",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.2.0~ds1-1",
"evidence": "/affected/5/versions"
},
{
"value": "9.2.0~ds1-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "npm",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.2.0~ds1-3",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "npm",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.2.0~ds3-1",
"evidence": "/affected/7/versions"
},
{
"value": "11.16.0+ds2-4",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "npm",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.2.0~ds1-3",
"evidence": "/affected/8/versions"
},
{
"value": "9.2.0~ds2-2",
"evidence": "/affected/8/versions"
},
{
"value": "9.2.0~ds3-1",
"evidence": "/affected/8/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-0775",
"aliases": [
"UBUNTU-CVE-2026-0775"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "npm",
"purl": "pkg:deb/ubuntu/npm?arch=source&distro=trusty",
"ecosystem": "Ubuntu:14.04:LTS"
},
"versions": [
"1.2.18~dfsg-3",
"1.3.10~dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-0775.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "npm",
"binary_version": "1.3.10~dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "npm",
"purl": "pkg:deb/ubuntu/npm?arch=source&distro=esm-apps%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"1.4.21+ds-2",
"3.5.2-0ubuntu4",
"3.5.2-0ubuntu4.1.16.04.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-0775.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "npm",
"binary_version": "3.5.2-0ubuntu4.1.16.04.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "npm",
"purl": "pkg:deb/ubuntu/npm?arch=source&distro=esm-apps%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"3.5.2-0ubuntu4",
"3.5.2-0ubuntu4.1.18.04.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-0775.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "npm",
"binary_version": "3.5.2-0ubuntu4.1.18.04.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "npm",
"purl": "pkg:deb/ubuntu/npm?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"5.8.0+ds6-4",
"6.14.4+ds-1ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-0775.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "npm",
"binary_version": "6.14.4+ds-1ubuntu2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "npm",
"purl": "pkg:deb/ubuntu/npm?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"7.5.2+ds-2",
"7.24.2+ds-1",
"7.24.2+ds-2",
"8.3.0~ds-1",
"8.3.0~ds-2",
"8.3.2~ds-1",
"8.5.0~ds-1",
"8.5.1~ds-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-0775.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "npm",
"binary_version": "8.5.1~ds-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "npm",
"purl": "pkg:deb/ubuntu/npm?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"9.2.0~ds1-1",
"9.2.0~ds1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-0775.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "npm",
"binary_version": "9.2.0~ds1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "npm",
"purl": "pkg:deb/ubuntu/npm?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"9.2.0~ds1-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-0775.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "npm",
"binary_version": "9.2.0~ds1-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "npm",
"purl": "pkg:deb/ubuntu/npm?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"9.2.0~ds3-1",
"11.16.0+ds2-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-0775.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "npm",
"binary_version": "11.16.0+ds2-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "npm",
"purl": "pkg:deb/ubuntu/npm?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"9.2.0~ds1-3",
"9.2.0~ds2-2",
"9.2.0~ds3-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-0775.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "npm",
"binary_version": "9.2.0~ds3-1"
}
]
}
}
],
"modified": "2026-10-17T12:57:48.256151169Z",
"provider": "osv",
"upstream": [
"CVE-2026-0775"
],
"references": [
"https://ubuntu.com/security/CVE-2026-0775",
"https://www.cve.org/CVERecord?id=CVE-2026-0775",
"https://www.zerodayinitiative.com/advisories/ZDI-26-043/"
]
},
"related_cves": [
{
"value": "CVE-2026-0775",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 357681,
"published_at": "2026-01-23T04:16:00+00:00"
}