Skip to main content
Vulnerability Database/CVE-2026-107735

CVE-2026-107735: SumatraPDF Auth Bypass Vulnerability

CVE-2026-107735 is an authentication bypass flaw in SumatraPDF that allows attackers to silently bypass configured restrictions through malformed INI files. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-107735 Overview

CVE-2026-107735 is a security misconfiguration vulnerability in SumatraPDF, a multi-format document reader for Windows. Versions 3.6.1 and earlier contain a logic flaw in the InitializePolicies() function that causes the sumatrapdfrestrict.ini policy loader to fail open rather than fail closed. The function initializes gPolicyRestrictions to Perm::All and only applies bitwise OR operations when reading permission bits. As a result, the INI file can never revoke permissions. Enterprises deploying SumatraPDF with restrictive policies for disk access, network, printing, registry, clipboard, preferences, or fullscreen can have those restrictions silently bypassed.

Critical Impact

Administrators relying on sumatrapdfrestrict.ini to lock down SumatraPDF in managed environments receive no enforcement. A malformed INI file or zero-valued permission settings leave the application running with full privileges [CWE-636: Not Failing Securely].

Affected Products

  • SumatraPDF 3.6.1 and all earlier versions on Windows
  • Deployments using sumatrapdfrestrict.ini for policy enforcement
  • The -restrict command-line path is not affected

Discovery Timeline

  • 2026-10-08 - CVE-2026-107735 published to NVD
  • 2026-10-09 - Last updated in NVD database

Technical Details for CVE-2026-107735

Vulnerability Analysis

SumatraPDF supports two policy enforcement paths: a -restrict command-line flag and an on-disk sumatrapdfrestrict.ini configuration file. The INI path is the mechanism most commonly used in enterprise deployments. The INI loader in InitializePolicies() begins by setting the global permission mask gPolicyRestrictions to Perm::All, meaning every capability is enabled by default. When the parser then reads individual policy entries, it only performs OR operations against this mask. OR operations can add bits but cannot clear them. The INI file cannot remove any permission that is already set, so administrator-defined restrictions never take effect.

Root Cause

The root cause is a fail-open initialization sequence. The policy loader should begin from a minimal privilege baseline (Perm::RestrictedUse) and additively grant permissions as the INI file specifies them, or alternatively assign the parsed value directly. By starting from Perm::All and only ORing, the function treats missing, malformed, or zero-valued configuration data as implicit full permission. The upstream fix sets gPolicyRestrictions = Perm::RestrictedUse; before parsing, ensuring that a broken or empty INI file results in maximum restriction rather than maximum privilege.

Attack Vector

Exploitation requires local access and the presence of a sumatrapdfrestrict.ini file alongside the SumatraPDF executable. An attacker, or an unprivileged user, can replace the INI file with a malformed version, truncate it, or set permission values to zero. The parser then silently applies no restrictions, re-enabling disk access, network access, printing, registry writes, clipboard access, preference modification, and fullscreen mode. The impact scales with the restrictions the administrator intended to enforce, such as kiosk or sandbox-style deployments.

cpp
     SquareTreeNode* root = ParseSquareTree(restrictData);
     AutoDelete delRoot(root);
     SquareTreeNode* polsec = root ? root->GetChild(StrL("Policies")) : nullptr;
+    gPolicyRestrictions = Perm::RestrictedUse;
     // if the restriction file is broken, err on the side of full restriction
     if (!polsec) {
         return;

Source: SumatraPDF commit f72948b — the patch inserts a Perm::RestrictedUse assignment before policy parsing so the loader fails closed.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-107735

Indicators of Compromise

  • Presence of sumatrapdfrestrict.ini files that are zero-length, syntactically malformed, or contain =0 permission entries alongside SumatraPDF.exe.
  • SumatraPDF processes making network connections, writing to the Windows registry, or spawning print jobs on hosts where policy was expected to block these operations.
  • Modification timestamps on sumatrapdfrestrict.ini that do not match the enterprise deployment baseline.

Detection Strategies

  • Inventory all SumatraPDF installations and compare the deployed sumatrapdfrestrict.ini against the known-good configuration using file hashing.
  • Audit SumatraPDF runtime behavior for actions that violate the intended policy, such as outbound SMB connections or clipboard access in locked-down kiosks.
  • Correlate SumatraPDF.exe process telemetry with child process creation and registry writes that should be blocked by policy.

Monitoring Recommendations

  • Enable file integrity monitoring on sumatrapdfrestrict.ini and the SumatraPDF install directory.
  • Collect endpoint process and network telemetry for SumatraPDF.exe in a centralized data lake for behavioral baselining.
  • Alert on SumatraPDF command lines that omit the -restrict flag in environments where it is required.

How to Mitigate CVE-2026-107735

Immediate Actions Required

  • Switch enforcement from the sumatrapdfrestrict.ini file to the -restrict command-line path, which is unaffected by this vulnerability.
  • Audit all managed SumatraPDF deployments to confirm whether the INI-based policy is in use and whether it has been tampered with.
  • Restrict write permissions on the SumatraPDF installation directory so standard users cannot modify or replace the INI file.

Patch Information

No fixed release of SumatraPDF was available at the time of this review. The upstream fix is tracked in GitHub commit f72948b and GitHub Security Advisory GHSA-crhm-w5qr-wjj4. Monitor the advisory for release of a patched version and upgrade when available.

Workarounds

  • Launch SumatraPDF using the -restrict command-line option through a wrapper script or shortcut, since this path correctly enforces restrictions.
  • Apply NTFS access control lists that deny write access to sumatrapdfrestrict.ini and the SumatraPDF binary for non-administrative users.
  • Use application control tools such as Windows Defender Application Control or AppLocker to constrain SumatraPDF capabilities independent of the application's internal policy.
bash
# Launch SumatraPDF using the unaffected -restrict command-line path
"C:\Program Files\SumatraPDF\SumatraPDF.exe" -restrict "C:\ProgramData\SumatraPDF\sumatrapdfrestrict.ini" "%1"

# Lock down the INI file so standard users cannot replace it
icacls "C:\Program Files\SumatraPDF\sumatrapdfrestrict.ini" /inheritance:r /grant:r "Administrators:F" "SYSTEM:F" "Users:R"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.