CVE-2025-29803
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedUncontrolled search path element in Visual Studio Tools for Applications and SQL Server Management Studio allows an authorized attacker to elevate privileges locally.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceThis is a local privilege escalation vulnerability caused by an uncontrolled search path element in Visual Studio Tools for Applications and SQL Server Management Studio. The applications load DLLs or other resources from locations that can be manipulated by an authenticated attacker, allowing them to inject malicious code and escalate privileges to higher permission levels.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 20.2.1< 16.0.35907.0< 16.0.35907.0< 17.0.35906.0< 17.0.35906.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check SQL Server Management Studio versionOpen SSMS and go to Help > About, or check the installed version in Add/Remove Programs. The executable is typically located at C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE\Ssms.exeAffected if Installed version is lower than 20.2.1
-
Check Visual Studio Tools for Applications 2019 versionCheck the installed version in Add/Remove Programs or locate the executable (typically at C:\Program Files (x86)\Microsoft Visual Studio\2019\VSTASDK\ or C:\Program Files (x86)\Microsoft Visual Studio\2019\VSTA\). Check the assembly version of VSTAHost.exe or VSTA.exeAffected if Installed version is lower than 16.0.35907.0
-
Check Visual Studio Tools for Applications 2022 versionCheck the installed version in Add/Remove Programs or locate the executable (typically at C:\Program Files (x86)\Microsoft Visual Studio\2022\VSTASDK\ or C:\Program Files (x86)\Microsoft Visual Studio\2022\VSTA\). Check the assembly version of VSTAHost.exe or VSTA.exeAffected if Installed version is lower than 17.0.35906.0
-
Check for Visual Studio Tools for Applications SDK installationsIn Add/Remove Programs, look for entries named 'Microsoft Visual Studio Tools for Applications 2019 SDK' or 'Microsoft Visual Studio Tools for Applications 2022 SDK' and note their versionsAffected if SDK version is lower than 16.0.35907.0 (2019) or 17.0.35906.0 (2022)
A user is affected if any of these products are installed with versions below the thresholds (20.2.1 for SSMS, 16.0.35907.0 for VSTA 2019, or 17.0.35906.0 for VSTA 2022), as the uncontrolled search path vulnerability exists in those unpatched versions.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped16.0.35907.017.0.35906.020.2.1
Apply Microsoft security updates for Visual Studio Tools for Applications and SQL Server Management Studio when released. Prioritize patching systems where these applications are installed, as the attacker requires local access but can achieve privilege escalation.
SQL Server Management Studio 20.2.1 | Visual Studio Tools for Applications 2019 version 16.0.35907.0 | Visual Studio Tools for Applications 2022 version 17.0.35906.0
- Identify which affected product(s) are installed: SQL Server Management Studio, Visual Studio Tools for Applications 2019, Visual Studio Tools for Applications 2019 SDK, Visual Studio Tools for Applications 2022, or Visual Studio Tools for Applications 2022 SDK
- For SQL Server Management Studio: Download and install version 20.2.1 or later from the official Microsoft SQL Server download center
- For Visual Studio Tools for Applications 2019: Update to version 16.0.35907.0 or later via Visual Studio Installer or Windows Update
- For Visual Studio Tools for Applications 2019 SDK: Update to version 16.0.35907.0 or later through your Visual Studio distribution channel
- For Visual Studio Tools for Applications 2022: Update to version 17.0.35906.0 or later via Visual Studio Installer or Windows Update
- For Visual Studio Tools for Applications 2022 SDK: Update to version 17.0.35906.0 or later through your Visual Studio distribution channel
- Restart any running instances of the affected applications after updating
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,120.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-29803 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-29803 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data