---
title: "pkg security advisories"
description: "1 known security advisory for pkg, with the versions they affect and the version that fixes each."
url: https://inlinr.com/packages/pkg/security
lang: en
---

[Packages](https://inlinr.com/packages)

# pkg

5.8.1 · 8 Mar 2023 MIT 450.2k / week [Repository](https://github.com/vercel/pkg) [Homepage](https://github.com/vercel/pkg#readme) [npm](https://www.npmjs.com/package/pkg) [Atom feed](https://inlinr.com/packages/feed/pkg)

The latest release, 5.8.1, is affected by Pkg Local Privilege Escalation. No fixed version yet. [See advisories](https://inlinr.com/packages/pkg/security)

Your version 

## Security advisories

From OSV, open ones first. Each release line gets its own fix: an older major is fixed by a patch on that major, not by moving to the newest one.

| Line | Newest | Where it stands                                                               |
| ---- | ------ | ----------------------------------------------------------------------------- |
|      | 5.8.1  | 1 open advisory, worst moderate                                               |
|      | 4.5.1  | 3 open advisories, worst moderate  · last release Mar 2021, no longer updated |

- Moderate  
[Pkg Local Privilege Escalation](https://inlinr.com/advisories/GHSA-22r3-9w55-cj54)GHSA-22r3-9w55-cj54 · 9 Feb 2024  
no fix on 5.x yet

### Quality and security signals

What [npm](https://www.npmjs.com/package/pkg) and [deps.dev](https://deps.dev/npm/pkg) say about the latest release. Signals, not a verdict.

Reading npm and deps.dev…

Reading releases, release notes and advisories…

Registry facts last checked 20 Nov 2026\. Releases and advisories last read 20 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
