A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-3012

CVE-2026-3012: Samba Certificate Auto-Enrollment Flaw

CVE-2026-3012 is an information disclosure vulnerability in Samba's certificate auto-enrollment that allows attackers to inject malicious CA certificates. This article covers technical details, affected versions, and mitigation.

Published: May 28, 2026

CVE-2026-3012 Overview

CVE-2026-3012 is a certificate validation flaw in Samba's Group Policy certificate auto-enrollment handling. When auto-enrollment is enabled, Samba retrieves a Certificate Authority (CA) certificate over an unencrypted HTTP connection. It then installs that certificate into the local trust store without verifying its authenticity. An attacker positioned to intercept or redirect adjacent network traffic can substitute a malicious CA certificate. Once installed, that attacker-controlled CA can be used to spoof trusted servers, issue forged certificates, and intercept TLS-protected communications across the affected host.

Critical Impact

A successful attack installs an attacker-controlled CA into the system trust store, enabling man-in-the-middle interception and spoofing of any TLS communication trusted by the host.

Affected Products

  • Samba (certificate auto-enrollment Group Policy component)
  • Red Hat Enterprise Linux distributions packaging affected Samba builds
  • Any Linux distribution shipping Samba with auto-enrollment enabled

Discovery Timeline

  • 2026-05-27 - CVE-2026-3012 published to NVD
  • 2026-05-27 - Last updated in NVD database

Technical Details for CVE-2026-3012

Vulnerability Analysis

The flaw resides in Samba's implementation of Active Directory certificate auto-enrollment policy. The auto-enrollment client fetches the CA certificate chain from the enrollment server using an unencrypted HTTP transport. Samba then writes the retrieved certificate directly into the local trust store. No signature verification, pinning, or out-of-band integrity check is performed before the trust decision occurs. The weakness maps to [CWE-345] (Insufficient Verification of Data Authenticity). An attacker who controls or observes traffic on the adjacent network can replace the legitimate CA certificate in transit. The substituted certificate is then trusted system-wide for any TLS validation that relies on the host trust store.

Root Cause

The root cause is the combination of two design choices in the auto-enrollment flow. First, the client uses cleartext HTTP rather than HTTPS or an authenticated channel for retrieving CA material. Second, the installation path treats whatever bytes arrive on the wire as authoritative trust anchors. The code lacks digital signature verification, certificate pinning, and policy validation against an already-trusted domain controller channel.

Attack Vector

Exploitation requires an adjacent network position, such as the same broadcast domain, a compromised router, or a hijacked DHCP or DNS service. The attacker waits for an auto-enrollment cycle or coerces one through Group Policy refresh. They then intercept the HTTP request for the CA certificate using ARP spoofing, rogue DHCP, DNS poisoning, or BGP/route manipulation. The attacker responds with a CA certificate they control. Samba installs the certificate, and from that point any TLS service whose certificate is signed by the attacker's CA appears legitimate to the host.

No verified public exploit code is available. Refer to the Samba Bugzilla Report #16003 and the Red Hat Security Advisory CVE-2026-3012 for technical details.

Detection Methods for CVE-2026-3012

Indicators of Compromise

  • Unexpected CA certificates present in /etc/pki/ca-trust/source/anchors/ or the system NSS trust store on Samba-joined hosts.
  • Outbound HTTP (port 80) requests from domain-joined Linux hosts to URLs containing CertEnroll, certsrv, or .crt paths.
  • Group Policy auto-enrollment events in Samba logs referencing CA certificate downloads over non-HTTPS URLs.
  • ARP table anomalies or duplicate MAC bindings for the gateway or domain controller on subnets running Samba clients.

Detection Strategies

  • Inventory the system trust store on all Samba clients and baseline expected CA certificates, alerting on additions.
  • Inspect network telemetry for cleartext HTTP traffic between Linux Samba clients and Active Directory Certificate Services endpoints.
  • Correlate Group Policy refresh events with new certificate files written to trust store directories within a short time window.

Monitoring Recommendations

  • Enable file integrity monitoring on /etc/pki/, /usr/share/pki/, and /etc/ssl/certs/ directories.
  • Log and alert on invocations of update-ca-trust or update-ca-certificates outside of package management windows.
  • Capture and review Samba samba-gpupdate and gpo debug logs for auto-enrollment activity and source URLs.

How to Mitigate CVE-2026-3012

Immediate Actions Required

  • Disable certificate auto-enrollment Group Policy processing in Samba until patched builds are deployed.
  • Audit the local trust store on every Samba-joined host and remove any CA certificate that cannot be attributed to an authorized internal CA.
  • Restrict outbound HTTP from Linux clients to Active Directory Certificate Services hosts, forcing HTTPS where supported.

Patch Information

Apply vendor-supplied updates as they become available. Refer to the Red Hat Security Advisory CVE-2026-3012, the Red Hat Bugzilla Report #2447319, and the upstream Samba Bugzilla Report #16003 for fixed package versions and backports.

Workarounds

  • Set the Samba gpo auto-enrollment extension to disabled via smb.conf or remove the auto-enrollment GPO from scope until patches are applied.
  • Segment Samba clients onto trusted network segments with strong layer-2 controls such as DHCP snooping and dynamic ARP inspection to limit adjacent-network attacks.
  • Pin or pre-provision the enterprise CA certificate out-of-band via configuration management so auto-enrollment retrieval is not the source of trust.
bash
# Configuration example: disable Samba certificate auto-enrollment
# Edit /etc/samba/smb.conf and ensure auto-enrollment is excluded
# from Group Policy extensions, then refresh policy:

sudo samba-tool gpo list "$(hostname)"
sudo systemctl stop samba-gpupdate.service
sudo systemctl disable samba-gpupdate.service

# Audit and remove any unverified CA certificates
ls -l /etc/pki/ca-trust/source/anchors/
sudo trust list --filter=ca-anchors
# Remove suspicious anchor, then refresh trust store
sudo update-ca-trust extract

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSamba

  • SeverityHIGH

  • CVSS Score8.0

  • EPSS Probability0.00%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-345
  • Technical References
  • Red Hat Security Advisory CVE-2026-3012

  • Red Hat Bugzilla Report #2447319

  • Samba Bugzilla Report #16003
  • Related CVEs
  • CVE-2024-12085: Samba Rsync Information Disclosure Flaw

  • CVE-2024-12086: Samba Rsync Information Disclosure Flaw

  • CVE-2023-0614: Samba Information Disclosure Vulnerability

  • CVE-2023-4154: Samba DirSync Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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