Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInstall vcpkg-built OpenSSL on victim machine
-
ExploitLocate hardcoded build-machine openssldir path
-
ExecutionReplace files at build path location
-
ImpactExecute arbitrary code via OpenSSL operations
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
|
| Exploitation Conditions | Requires vcpkg versions prior to 3.6.1#3 on Windows. Attacker needs low-privilege local access to the target machine. OpenSSL built with vcpkg must be installed with the hardcoded build-machine openssldir path. No user interaction required. |
| Impact | Real-world risk is moderate-to-high for environments with multiple local users or where attackers have already achieved initial access. The CVSS 7.8 score reflects local attack vector (AV:L) requiring low privileges (PR:L) with low complexity (AC:L), enabling full system compromise (C:H/I:H/A:H) once local access exists. However, the local-only attack vector significantly constrains exploitation scope compared to remotely exploitable vulnerabilities. No CISA KEV listing indicates no confirmed active exploitation campaigns. The vulnerability requires the attacker to: (1) gain authenticated local access, (2) identify the specific hardcoded build path, and (3) win a race condition or predict when target applications will load OpenSSL. Attack complexity is low because modern Windows ACLs may allow standard users to create junction points or directories in predictable build paths. The primary risk population includes: multi-user Windows servers, developer workstations with multiple accounts, and environments where initial access has been achieved via other vectors (phishing, remote exploits) and attackers seek privilege escalation. Organizations using vcpkg to build security-sensitive applications with OpenSSL should prioritize remediation, as the vulnerability undermines cryptographic trust boundaries. SSVC technical impact is total (arbitrary code execution), but exploitation status remains POC-unlikely given the local access prerequisite and absence of public proof-of-concept code. |
| Exploit ScenarioDerived | An attacker with standard user credentials on a Windows workstation compromised via phishing identifies that a locally installed application uses OpenSSL binaries built by vcpkg version 3.6.0. By examining the OpenSSL binary metadata or configuration, the attacker discovers the hardcoded openssldir path pointing to a build machine directory structure (e.g., C:\vcpkg_build\openssl). The attacker creates a malicious OpenSSL engine module and places it at the expected path location using directory junctions or by creating the directory structure if permissions allow. When the target application next initializes OpenSSL, it loads the attacker's malicious engine from the hardcoded path, granting arbitrary code execution in the context of the application, potentially escalating from low-privilege user to SYSTEM if the target application runs with elevated privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Local privilege escalation via hardcoded build path in vcpkg's OpenSSL binaries affects Windows users of the C/C++ package manager prior to version 3.6.1#3. The vulnerability allows authenticated local attackers with low privileges to achieve high confidentiality, integrity, and availability impact (CVSS 7.8) by exploiting the hardcoded openssldir path that references the original build machine. Upstream fix available (PR #50518, commit 5111afd); patched version 3.6.1#3 released. No public exploit identified at time of analysis, with EPSS data not available for this recent CVE.
RemediationAI
Upgrade to vcpkg version 3.6.1#3 or later, which corrects the OpenSSL build configuration to avoid hardcoding build-machine paths into distributed binaries. After upgrading vcpkg, rebuild all OpenSSL-dependent libraries and applications to ensure new binaries contain the corrected configuration. The fix is implemented in commit 5111afdf55cc1429d9951e4c7b02010e659346a9 and merged via pull request #50518, both available in the GitHub repository (https://github.com/microsoft/vcpkg/pull/50518 and https://github.com/microsoft/vcpkg/commit/5111afdf55cc1429d9951e4c7b02010e659346a9). Organizations unable to immediately upgrade should implement compensating controls: restrict local user permissions to prevent directory creation at predictable build paths, monitor for suspicious filesystem activity at known vcpkg build path patterns, and apply principle of least privilege to limit impact of local account compromise. Review and rebuild any production applications using OpenSSL libraries originally compiled with vulnerable vcpkg versions, as the binary artifacts themselves carry the vulnerability regardless of current vcpkg installation status.
Affected VersionsENISA
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
vcpkg is Microsoft's cross-platform C/C++ dependency manager that builds libraries from source. The vulnerability stems from CWE-427 (Uncontrolled Search Path Element) in how vcpkg configured OpenSSL builds for Windows. When vcpkg compiled OpenSSL on Windows, it embedded the build machine's filesystem path as the openssldir configuration parameter within the resulting OpenSSL binaries. This hardcoded path creates a search path vulnerability on customer machines: if an attacker can create or control files at that specific path on a target system, they can manipulate OpenSSL's runtime behavior (certificate stores, configuration files, engine modules) to execute malicious code or intercept cryptographic operations. This affects any Windows application using OpenSSL binaries distributed via vcpkg versions before 3.6.1#3, as the binaries carry the build-time path dependency rather than a relative or customer-appropriate configuration directory.
Know when OpenSSL 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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
vcpkg is a free and open-source C/C++ package manager. Prior to version 3.6.1#3, vcpkg's Windows builds of OpenSSL set openssldir to a path on the build machine, making that path be attackable later on customer machines. This issue has been patched in version 3.6.1#3.
Zero Day Initiative Advisories
Executive ViewAI
CVE-2026-34054 is a local privilege escalation vulnerability in vcpkg versions prior to 3.6.1#3 that allows low-privileged Windows users to gain full system control through a hardcoded build path in OpenSSL binaries. Organizations using vcpkg for C/C++ package management must patch immediately, as the vulnerability enables attackers with local access to compromise system integrity and data confidentiality.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packe
In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Rated cri
The dtls1_reassemble_fragment function in d1_both.c in OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
The SSLv2 protocol, as used in OpenSSL before 1.0.1s and 1.0.2 before 1.0.2g and other products, requires a server to se
The ssl3_get_key_exchange function in s3_clnt.c in OpenSSL before 0.9.8zd, 1.0.0 before 1.0.0p, and 1.0.1 before 1.0.1k
In addition to the c_rehash shell command injection identified in CVE-2022-1292, further circumstances where the c_rehas
The TLS protocol 1.2 and earlier, when a DHE_EXPORT ciphersuite is enabled on a server but not on a client, does not pro
The SSL protocol 3.0, as used in OpenSSL through 1.0.1i and other products, uses nondeterministic CBC padding, which mak
The AES-NI implementation in OpenSSL before 1.0.1t and 1.0.2 before 1.0.2h does not consider memory allocation during a
The X509_verify_cert function in crypto/x509/x509_vfy.c in OpenSSL 1.0.1n, 1.0.1o, 1.0.2b, and 1.0.2c does not properly
A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Rated hig
EUVD-2026-17285
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB