Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-34054

CVE-2026-34054: vcpkg OpenSSL Information Disclosure Flaw

CVE-2026-34054 is an information disclosure vulnerability in vcpkg's Windows builds of OpenSSL that exposes build machine paths on customer systems. This article covers technical details, affected versions, and mitigation.

Published: April 2, 2026

CVE-2026-34054 Overview

CVE-2026-34054 is a path hijacking vulnerability in vcpkg, Microsoft's free and open-source C/C++ package manager. Prior to version 3.6.1#3, vcpkg's Windows builds of OpenSSL set the openssldir configuration to a path on the build machine. This misconfiguration allows attackers to exploit the hardcoded path on customer machines, potentially leading to privilege escalation and arbitrary code execution.

Critical Impact

Attackers with local access can exploit the misconfigured OpenSSL directory path to execute malicious code, potentially compromising sensitive cryptographic operations and gaining elevated privileges on affected Windows systems.

Affected Products

  • vcpkg versions prior to 3.6.1#3
  • Windows builds of OpenSSL distributed via vcpkg
  • Applications compiled using vulnerable vcpkg OpenSSL packages

Discovery Timeline

  • 2026-03-31 - CVE-2026-34054 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-34054

Vulnerability Analysis

This vulnerability falls under CWE-427 (Uncontrolled Search Path Element), which describes situations where an application searches for resources in untrusted locations. When vcpkg builds OpenSSL on Windows, it configures openssldir to a hardcoded path that existed on the build machine but may be accessible or hijackable on end-user systems.

OpenSSL uses openssldir to locate configuration files, certificate stores, and other critical resources. When this path is set to a build-time directory that doesn't exist or can be created by unprivileged users on target systems, attackers can plant malicious configuration files or certificates in that location.

Root Cause

The root cause is improper configuration during the vcpkg OpenSSL build process for Windows. The build system embedded absolute paths from the build environment into the compiled OpenSSL binaries, rather than using relative paths or appropriate Windows system directories. This architectural flaw means every system using the vulnerable OpenSSL build inherits a potentially exploitable path configuration.

Attack Vector

The attack requires local access to the target system. An attacker can exploit this vulnerability by:

  1. Identifying the hardcoded openssldir path in the vulnerable OpenSSL build
  2. Creating the expected directory structure if it doesn't exist (often in locations writable by standard users)
  3. Placing malicious OpenSSL configuration files or certificates in the hijacked directory
  4. Waiting for applications using the vulnerable OpenSSL to load the malicious resources

This vulnerability enables an attacker to intercept TLS connections, inject malicious certificates, or execute arbitrary code through OpenSSL configuration engine directives. The attack is particularly effective in environments where multiple applications share the same vulnerable OpenSSL build from vcpkg.

Detection Methods for CVE-2026-34054

Indicators of Compromise

  • Unexpected directories created in locations matching build machine paths (often containing usernames or build system identifiers)
  • Modified or unauthorized OpenSSL configuration files in non-standard locations
  • Applications loading OpenSSL resources from untrusted directories
  • Certificate validation failures or unexpected certificate warnings in applications using vcpkg-built OpenSSL

Detection Strategies

  • Monitor file system activity for creation of directories matching common build paths (e.g., paths containing vcpkg, buildtrees, or CI/CD build agent paths)
  • Audit OpenSSL configuration lookups using process monitoring tools to identify access to suspicious paths
  • Use SentinelOne's Deep Visibility to track file system modifications in non-standard configuration directories
  • Implement application whitelisting to detect when OpenSSL loads configuration from unexpected locations

Monitoring Recommendations

  • Enable file integrity monitoring on directories commonly targeted by path hijacking attacks
  • Configure alerts for new directory creation in system root locations by non-administrative users
  • Monitor process creation events for applications linking to vulnerable vcpkg OpenSSL versions
  • Review build artifacts and dependencies for hardcoded paths before deployment to production

How to Mitigate CVE-2026-34054

Immediate Actions Required

  • Upgrade vcpkg and rebuild OpenSSL dependencies using version 3.6.1#3 or later
  • Audit existing deployments to identify systems running applications built with vulnerable vcpkg OpenSSL packages
  • Review file system permissions on potential hijack directories and restrict write access where possible
  • Consider using system-provided OpenSSL packages on Windows Server environments as an interim measure

Patch Information

Microsoft has addressed this vulnerability in vcpkg version 3.6.1#3. The fix ensures that openssldir is set to an appropriate, secure path rather than the build machine's directory structure. Organizations should update their vcpkg installation and rebuild any OpenSSL-dependent packages.

For detailed patch information, refer to:

  • GitHub Security Advisory GHSA-p322-v6vw-vrq9
  • GitHub Pull Request #50518
  • GitHub Commit 5111afdf55cc

Workarounds

  • Set the OPENSSL_CONF environment variable to point to a secure, administrator-controlled configuration file location
  • Use Windows file system ACLs to prevent creation of the vulnerable directory paths by non-administrative users
  • Deploy application-level controls to override OpenSSL's default configuration path lookup
  • Consider containerization or sandboxing for applications using vulnerable OpenSSL builds to limit the impact of path hijacking
bash
# Example: Set secure OpenSSL configuration path via environment variable
# Add to system environment variables or application startup scripts
set OPENSSL_CONF=C:\ProgramData\OpenSSL\openssl.cnf

# Alternatively, use PowerShell to set system-wide
[Environment]::SetEnvironmentVariable("OPENSSL_CONF", "C:\ProgramData\OpenSSL\openssl.cnf", "Machine")

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechVcpkg

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-427
  • Technical References
  • GitHub Commit Record

  • GitHub Pull Request

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English