{"id":"CVE-2024-39904","summary":"Code Execution Vulnerability via Local File Path Traversal in Vnote","details":"VNote is a note-taking platform. Prior to 3.18.1, a code execution vulnerability existed in VNote, which allowed an attacker to execute arbitrary programs on the victim's system. A crafted URI can be used in a note to perform this attack using file:/// as a link. For example, file:///C:/WINDOWS/system32/cmd.exe. This allows attackers to execute arbitrary programs by embedding a reference to a local executable file such as file:///C:/WINDOWS/system32/cmd.exe and file:///C:/WINDOWS/system32/calc.exe. This vulnerability can be exploited by creating and sharing specially crafted notes. An attacker could send a crafted note file and perform further attacks. This vulnerability is fixed in 3.18.1.","aliases":["GHSA-vhh5-8wcv-68gj"],"modified":"2026-05-18T05:57:52.507528116Z","published":"2024-07-11T15:37:08.305Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39904.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-73"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39904.json"},{"type":"ADVISORY","url":"https://github.com/vnotex/vnote/security/advisories/GHSA-vhh5-8wcv-68gj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39904"},{"type":"FIX","url":"https://github.com/vnotex/vnote/commit/3477469b669708ff547037fda9fc2817870428aa"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vnotex/vnote","events":[{"introduced":"0"},{"fixed":"84d396f6c4ba20bd3fed02345b4bf7da07be79b8"}]}],"versions":["v3.18.0","v3.17.0","v3.16.0","v3.15.1","v3.15.0","v3.14.0","v3.13.1","v3.13.0","v3.12.888","v3.12.0","v3.11.0","3.11.0","v3.10.1","v3.10.0","v3.9.0","v3.8.1","v3.8.0","v3.7.0","v3.6.0","v3.5.1","v3.5.0","v3.4.0","v3.3.0","v3.2.0","v3.1.0","v3.0.1","v3.0.0-beta.11","v3.0.0-beta.10","v3.0.0-beta.9","v3.0.0-beta.8","v3.0.0-beta.7","v3.0.0-beta.6","v3.0.0-beta.5","v3.0.0-beta.4","v3.0.0-beta.3","v3.0.0-beta.2","v3.0.0-beta.1","v2.10","v2.9.1","v2.9","v2.8.2","v2.8.1","v2.8","v2.7.2","v2.7.1","v2.7","v2.6","v2.5","v2.4","2.4","v2.3","v2.2","v2.1","v2.0","v1.22","v1.21","v1.20","v1.19","v1.18","v1.17","v1.16","v1.15","v1.14","v1.13","v1.12","v1.11.1","v1.11","v1.10","v1.9","v1.8","v1.7","v1.6","v1.5","v1.4","v1.3","v1.2","v1.1","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-39904.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}