CVE-2026-34054: CWE-427: Uncontrolled Search Path Element in microsoft vcpkg
CVE-2026-34054 is a high-severity vulnerability in Microsoft vcpkg, a C/C++ package manager. Prior to version 3.6.1#3, the Windows builds of OpenSSL within vcpkg set the openssldir to a path on the build machine. This configuration could be exploited on customer machines due to an uncontrolled search path element (CWE-427). The issue has been patched in version 3.6.1#3.
AI Analysis
Technical Summary
Microsoft vcpkg versions before 3.6.1#3 contain an uncontrolled search path element vulnerability (CWE-427) in the Windows builds of OpenSSL. Specifically, the openssldir was set to a directory path from the build machine, which could be leveraged by attackers on customer machines to influence the loading of libraries or binaries. This vulnerability has a CVSS 3.1 base score of 7.8, indicating high severity, with attack vector local, low attack complexity, requiring low privileges and no user interaction, and impacts confidentiality, integrity, and availability. The vulnerability was patched in version 3.6.1#3 of vcpkg.
Potential Impact
The vulnerability allows an attacker with local access and low privileges to exploit the improperly set openssldir path, potentially leading to compromise of confidentiality, integrity, and availability of the affected system. This could result in execution of malicious code or unauthorized access due to the uncontrolled search path element. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade vcpkg to version 3.6.1#3 or later, where the vulnerability has been patched. No other mitigation is required as the issue is resolved in this official fix.
CVE-2026-34054: CWE-427: Uncontrolled Search Path Element in microsoft vcpkg
Description
CVE-2026-34054 is a high-severity vulnerability in Microsoft vcpkg, a C/C++ package manager. Prior to version 3.6.1#3, the Windows builds of OpenSSL within vcpkg set the openssldir to a path on the build machine. This configuration could be exploited on customer machines due to an uncontrolled search path element (CWE-427). The issue has been patched in version 3.6.1#3.
CVSS v3.1
Score 7.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Microsoft vcpkg versions before 3.6.1#3 contain an uncontrolled search path element vulnerability (CWE-427) in the Windows builds of OpenSSL. Specifically, the openssldir was set to a directory path from the build machine, which could be leveraged by attackers on customer machines to influence the loading of libraries or binaries. This vulnerability has a CVSS 3.1 base score of 7.8, indicating high severity, with attack vector local, low attack complexity, requiring low privileges and no user interaction, and impacts confidentiality, integrity, and availability. The vulnerability was patched in version 3.6.1#3 of vcpkg.
Potential Impact
The vulnerability allows an attacker with local access and low privileges to exploit the improperly set openssldir path, potentially leading to compromise of confidentiality, integrity, and availability of the affected system. This could result in execution of malicious code or unauthorized access due to the uncontrolled search path element. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade vcpkg to version 3.6.1#3 or later, where the vulnerability has been patched. No other mitigation is required as the issue is resolved in this official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-25T15:29:04.746Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69cbedf4e6bfc5ba1d248134
Added to database: 03/31/2026, 15:53:24 UTC
Last enriched: 05/26/2026, 20:08:25 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 194
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.