Skip to main content

Sublime Text CVE-2026-7006

| EUVDEUVD-2026-82982 HIGH
Download of Code Without Integrity Check (CWE-494)
2026-09-18 VulnCheck GHSA-mc53-769g-2mv3
7.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain unprivileged local access
  2. Delivery
    Plant malicious DLL in %LOCALAPPDATA% staging dir
  3. Exploit
    Mark DLL read-only to survive cleanup
  4. Execution
    Elevated installer copies DLL to protected install dir
  5. Persist
    Higher-privileged user launches Sublime Text
  6. Impact
    DLL executes with elevated privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Code integrity verification
Exploitation Conditions

Requires an existing unprivileged local account on a Windows host with Sublime Text (v4 ≤ Build 4192 or v3 ≤ Build 3207) installed, plus write access to the update staging directory under %LOCALAPPDATA%. Exploitation depends on the update staging mechanism being used and, critically, on a higher-privileged user subsequently launching the application (UI:P - passive user interaction by the victim). Limiting factors: no remote vector (local only), attacker needs a prior foothold (PR:L), the payload only fires when an elevated user runs the app, and the read-only trick is needed to bypass installer cleanup. Not exploitable against default single-user setups where no higher-privileged user ever launches the editor.

Impact

This is a genuine but conditional local privilege-escalation issue rather than a mass-exploitation threat. The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H) is consistent with the description: the attacker must already have an unprivileged local foothold (PR:L), acts only locally (AV:L), and must wait for a higher-privileged user to launch Sublime Text (UI:P, passive). The 7.0 score is driven entirely by high technical impact once the DLL executes as the elevated user, not by ease of reach. POC/exploit code is publicly available (VulnCheck advisory plus a gist), which raises practical risk for targeted local attacks and post-compromise privilege escalation, but there is no CISA KEV listing and no EPSS score in the provided data, so there is no evidence of widespread active exploitation. No SSVC decision data was supplied. Net: treat as a real patch priority on multi-user Windows hosts and shared workstations where Sublime Text is installed and an elevated user is expected to run it, but it is not an internet-facing or wormable issue. No signals conflict; the local-only vector is confirmed by both CVSS and the description.

Exploit ScenarioDerived

An unprivileged local user drops a malicious DLL into the user-writable update staging directory under %LOCALAPPDATA%, sets it read-only so the installer's cleanup routine skips it, then waits for the elevated update process to copy it into the protected installation directory. When any higher-privileged user later launches Sublime Text, the planted DLL loads and executes arbitrary code in that user's context. Public exploit code exists (VulnCheck advisory and a published gist), lowering the barrier to reproduction.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 public PoC No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 18, 2026

Local privilege escalation in Sublime Text for Windows - Sublime Text 4 through Build 4192 and Sublime Text 3 through Build 3207 - lets an authenticated local attacker who already holds an unprivileged account plant a malicious DLL in the user-writable update staging directory under %LOCALAPPDATA%, mark it read-only to defeat the installer's cleanup pass, and have the elevated installer copy the payload into the protected installation directory, where it executes in the context of any higher-privileged user who later launches the editor. The attack is local-only and conditional: it requires a prior foothold on the host, depends on the update staging mechanism being reached, and fires only when an elevated user subsequently opens the application (passive user interaction). Risk is real but situational rather than a mass-exploitation threat, and publicly available exploit code exists in the form of a published gist, so EPSS-style prioritization should focus on multi-user Windows endpoints where a standard user and an administrator both use the same Sublime Text install. No vendor-released patch is identified in the available data at time of analysis.

RemediationAI

No vendor-released patch is identified in the available data at time of analysis, so the primary action is to check https://www.sublimetext.com/ and the VulnCheck advisory (https://www.vulncheck.com/advisories/sublime-text-4192-3207-local-privilege-escalation-via-update-staging-mechanism) for a fixed build and upgrade immediately once one is published; the practical interim fix is to upgrade past Build 4192 on the v4 line and past Build 3207 on the v3 line if the vendor has shipped a later build. If no fixed build is available, apply compensating controls with their trade-offs in mind: remove the privilege boundary entirely by ensuring administrators never launch a Sublime Text installation that standard users can also write to, and instead give each user their own per-user installation, which eliminates the elevated installer path but changes your software distribution model; alternatively restrict ACLs on the %LOCALAPPDATA% update staging directory so that non-owners - and ideally the elevated installer's channel - cannot be pre-seeded, or block/disable the in-product update check and update staging feature via policy, at the cost of users no longer receiving automatic updates. Harden against DLL planting in the elevated context with WDAC or AppLocker DLL rules that allow only signed images from the install directory, understanding this requires code-integrity policy management and can break legitimate third-party plugins. Monitor for creation of read-only DLLs in user profile staging paths and for module loads of unsigned DLLs by a high-integrity sublime_text.exe, and isolate multi-user workstations where an unprivileged and an administrative session share a single Sublime Text installation.

Affected VersionsENISA

Sublime Text 4 4192
Sublime Text 3 3207

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause class is CWE-494, Download of Code Without Integrity Check, applied to a privileged installer workflow rather than to a network download. Sublime Text on Windows stages its update payload in a per-user writable directory under %LOCALAPPDATA%, and a separate elevated installer process consumes that staged content and writes it into the protected application installation directory (typically under Program Files). Because the staged directory is writable by the unprivileged user and the elevated installer does not perform a meaningful integrity or ownership check - and does not verify that staged artifacts are the ones it downloaded - the boundary between unprivileged staging and privileged installation is crossed. The attacker's read-only attribute trick is a second-order weakness: cleanup logic that would normally delete or overwrite the staged file fails on a read-only file, preserving the planted DLL long enough for the elevated copy step to consume it. The result is classic DLL search-order/DLL planting execution inside a high-integrity process. Both affected CPEs are tracked: cpe:2.3:a:sublime_hq_pty_ltd:sublime_text_4 and cpe:2.3:a:sublime_hq_pty_ltd:sublime_text_3, covering the Sublime Text 4 and Sublime Text 3 product lines respectively. The assessed CVSS:3.1 vector (AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H) confirms a local, low-complexity path requiring an existing low-privileged principal and passive interaction from the victim, with full confidentiality, integrity, and availability impact confined to the host (scope unchanged); the CVSS 4.0 vector supplied with the record (AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H) is consistent with that reading.

Know when Windows gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.0 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.3 HIGH

Local vector with an existing low-priv account (AV:L/PR:L), depends on a higher-priv user launching the app (UI:R), yielding full code execution in that user's context (C/I/A:H).

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Sublime Text for Windows through Build 4192 (Sublime Text 4) and Build 3207 (Sublime Text 3) contains a local privilege escalation vulnerability that allows unprivileged local attackers to execute arbitrary code with elevated privileges by abusing the update staging mechanism. Attackers can place a malicious DLL in the user-writable staging directory under %LOCALAPPDATA%, mark it read-only to bypass cleanup, and have the elevated installer copy it into the protected installation directory, causing the DLL to execute in the context of any higher-privileged user who subsequently launches the application.

Technical POC Analysis

CWE-494 (Download of Code Without Integrity Check).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 public PoC link from github

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

Sublime Text 3 (through Build 3207) and Sublime Text 4 (through Build 4192) on Windows introduce a local privilege-escalation path that can allow an attacker with an existing foothold to gain higher-privileged access when an elevated user later launches the editor. Publicly available exploit code exists, and no vendor-released patch identified at time of analysis, making multi-user Windows endpoints and environments with shared local admin credentials the primary areas of concern. Leadership should prioritize inventory, containment, and monitoring because the flaw can amplify a minor compromise into broader endpoint or administrative access.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting write access to %LOCALAPPDATA% update staging paths, enforcing least privilege, removing local admin rights, application allowlisting, EDR monitoring for DLL planting in Sublime Text directories, and isolating or removing Sublime Text 3 through Build 3207 and Sublime Text 4 through Build 4192 from multi-user Windows endpoints.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
High
Sublime Text is a widely used cross-platform code editor among developers
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

55
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2025-52691 CRITICAL POC
10.0 Dec 29

Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio

CVE-2019-0803 HIGH POC
7.8 Apr 09

Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in

CVE-2020-1472 MEDIUM POC
5.5 Aug 17

A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr

CVE-2025-33053 HIGH POC
8.8 Jun 10

Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables

CVE-2025-33073 HIGH POC
8.8 Jun 10

Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker

CVE-2025-13315 CRITICAL POC
9.3 Nov 19

Twonky Server 8.5.2 on Linux and Windows allows unauthenticated access to the admin log file through a web service API b

CVE-2013-10047 CRITICAL POC
9.3 Aug 01

An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote

CVE-2012-10030 CRITICAL POC
9.3 Aug 05

FreeFloat FTP Server contains multiple critical design flaws that allow unauthenticated remote attackers to upload arbit

CVE-2025-34101 CRITICAL POC
9.3 Jul 10

Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio

CVE-2025-13316 HIGH POC
8.2 Nov 19

Twonky Server 8.5.2 uses hard-coded cryptographic keys for encrypting the administrator password. Combined with the cred

CVE-2025-34095 CRITICAL POC
9.3 Jul 10

Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/

CVE-2025-11953 CRITICAL POC
9.8 Nov 03

React Native Metro Development Server binds to external interfaces by default and contains an OS command injection endpo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy