---
id: CVE-2026-52886
title: Notepad++ is a free and open-source source code editor
summary: >-
  Notepad++ is a free and open-source source code editor. Prior to 8.9.7,
  Notepad++ validates the backupFilePath attribute from session.xml with
  std::wstring::starts_with against the expected backup directory without path
  normalization, al…
severity: none
cwe:
  - CWE-22
published: '2026-08-17'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:11:25.743'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-52886'
references:
  - url: >-
      https://github.com/notepad-plus-plus/notepad-plus-plus/commit/7e66f36db666a13b09fb5c31232ab2ca1c2ebccc
    label: security-advisories@github.com
  - url: 'https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.7'
    label: security-advisories@github.com
  - url: >-
      https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-rqfm-pw34-r7j6
    label: security-advisories@github.com
  - url: >-
      https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-rqfm-pw34-r7j6
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - exploit-available
epss: 0.00238
epssPercentile: 0.15089
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/v3s9er/CVE-2026-52886'
  checkedAt: '2026-09-23T07:14:13.207Z'
exploitAvailable: true
ingestedAt: '2026-09-09T21:22:45.535Z'
---

## Overview

Notepad++ is a free and open-source source code editor. Prior to 8.9.7, Notepad++ validates the backupFilePath attribute from session.xml with std::wstring::starts_with against the expected backup directory without path normalization, allowing parent-directory sequences during snapshot-mode restoration to read an arbitrary user-readable file outside the backup directory into an editor tab. This issue is fixed in version 8.9.7.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
