cvedb.io
CVE-2024-5742
MEDIUM · CVSS 6.7
EPSS exploitation probability: 0%
Published 2024-06-12T09:15:23.037 · Last modified 2026-06-17T08:16:34.700

Summary

A vulnerability was found in GNU Nano that allows a possible privilege escalation through an insecure temporary file. If Nano is killed while editing, a file it saves to an emergency file with the permissions of the running user provides a window of opportunity for attackers to escalate privileges through a malicious symlink.

Affected products

gnu — nano

Does this affect you?

Add your gear to cvedb and we'll alert you only when gnu ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.