Skip to main content

Canonical ADSys EUVDEUVD-2026-38297

| CVE-2026-12249 CRITICAL
Use of Less Trusted Source (CWE-348)
2026-06-22 canonical GHSA-crm4-q7v4-c2r2
9.0
CVSS 4.0 · Vendor: canonical
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain MITM position on host-to-CA path
  2. Delivery
    Intercept plaintext GetCACert HTTP request
  3. Exploit
    Return attacker-controlled Root CA
  4. Install
    ADSys installs cert via update-ca-certificates
  5. C2
    System-wide trust store poisoned
  6. Execute
    Forge TLS certs for arbitrary domains
  7. Impact
    Decrypt and intercept subsequent TLS traffic

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication IP-independent access control
Exploitation Conditions

Requires the target Ubuntu host to be joined to an Active Directory domain with ADSys configured and the AD CS certificate auto-enrollment Group Policy applied, since the vulnerable code path is gp_cert_auto_enroll_ext.py. The attacker must hold an active man-in-the-middle position between the managed host and the configured AD CS CA hostname during an auto-enrollment cycle (CVSS AC:H reflects this network-positioning requirement). No authentication or user interaction is required (PR:N/UI:N), and default deployments that enable AD CS auto-enrollment are vulnerable; environments without AD CS auto-enrollment policy or with the host-to-CA path on an isolated/encrypted segment are not exploitable.

Impact

The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:N/UI:N) with all VC/VI/VA and SC/SI/SA set to High accurately reflects that an unauthenticated network attacker who can MITM the host-to-CA path achieves total compromise of the TLS trust boundary on the victim and downstream subsequent systems it communicates with. AC:H is appropriate because the attacker must occupy a privileged network position between the Ubuntu host and the configured AD CS server during the auto-enrollment window, which limits opportunistic mass exploitation but is highly realistic on flat enterprise LANs, Wi-Fi segments, or compromised intermediate routers. The E:P (Proof-of-Concept) modifier in the supplied vector implies some exploit maturity, but no CISA KEV listing and no published EPSS score are provided, so this should be treated as a high-impact, targeted-exploitation risk rather than a wormable internet-facing flaw. The 9.0 score is justified by post-exploitation persistence: once the rogue root is trusted, the attacker can transparently decrypt any subsequent TLS session the host opens, regardless of later network position.

Exploit ScenarioDerived

An attacker on the same broadcast domain or upstream router as a managed Ubuntu workstation uses ARP spoofing or rogue DHCP/DNS to intercept the periodic HTTP GetCACert request that the ADSys auto-enrollment extension sends to the configured AD CS hostname. The attacker responds with an attacker-controlled Root CA certificate; ADSys writes it into the system trust store via update-ca-certificates, after which the attacker can present forged certificates for any domain (banking, IdP, package mirrors) and silently decrypt or modify the victim's TLS traffic.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 22, 2026

TLS trust store poisoning in Canonical ADSys through v0.16.2 allows a network-positioned attacker to inject an arbitrary Root CA certificate into managed Ubuntu hosts during Active Directory Certificate Services auto-enrollment. The vendored Samba GPO extension fetches the CA certificate over plaintext HTTP from the AD CS GetCACert endpoint, and the response is registered into the system trust store via update-ca-certificates without authenticity validation. No public exploit identified at time of analysis, but the impact enables persistent decryption of TLS traffic across the host.

Earlier versions of this analysis (2)
v2 Jun 22, 2026 - 18:28 cvss changed CVSS 9.0

Trust-store poisoning in Canonical ADSys through v0.16.2 allows a network-positioned attacker to inject an arbitrary Root CA into managed Ubuntu hosts during AD CS certificate auto-enrollment. The vendored Samba client fetches the CA certificate over plaintext HTTP, enabling a MITM attacker to substitute a rogue Root CA that is then registered system-wide via update-ca-certificates, persistently undermining TLS trust on the host. No public exploit identified at time of analysis, but the upstream patch (commit 8b1939f) and a fixed release (v0.16.3) are publicly available.

v1 Jun 22, 2026 - 17:52 CVSS 8.3

Trust store poisoning in Canonical ADSys through v0.16.2 allows network-positioned attackers to inject attacker-controlled Root CA certificates into Ubuntu hosts during Active Directory Certificate Services auto-enrollment. The vendored Samba client script fetches the CA certificate over plaintext HTTP, enabling a MITM attacker to substitute a rogue CA that gets registered system-wide via update-ca-certificates, enabling persistent TLS interception. No public exploit identified at time of analysis, but the patch (single-line http→https change) is trivial to reverse-engineer.

RemediationAI

Vendor-released patch: ADSys v0.16.3, which replaces the plaintext http:// scheme with https:// in the GetCACert request (commit https://github.com/ubuntu/adsys/commit/8b1939f96d3827b4426eb06c1ced5bf317b0a99d); upgrade the adsys package on all AD-joined Ubuntu hosts to that version or the distribution-specific backport tracked in https://ubuntu.com/security/CVE-2026-12249. Until patched, disable the AD CS certificate auto-enrollment GPO for Ubuntu clients (which stops new certificates and CA installs from being processed, at the cost of breaking automatic certificate renewal), or restrict the host-to-CA network path to a trusted segment using IPsec, host-based firewalling, or VPN between the Ubuntu hosts and the AD CS server to eliminate MITM opportunity. After patching, audit /etc/ssl/certs and the AD CS-managed CA store on previously-enrolled hosts and remove any unexpected root certificates that may have been injected before the fix was applied.

Affected VersionsENISA

Ubuntu 24.04 LTS patch: 0.16.3~24.04.2ubuntu0.24.04.1
Ubuntu 22.04 LTS patch: 0.16.3~22.04.2ubuntu0.22.04.1

Affected Packages

go github.com/ubuntu/adsys fix: 0.16.3-0.20250318112551-8b1939f96d38

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ADSys is Canonical's Active Directory integration suite that applies Group Policy to Ubuntu hosts, including AD CS certificate auto-enrollment implemented via a vendored Samba Python script (internal/policies/certificate/python/vendor_samba/gp/gp_cert_auto_enroll_ext.py). The vulnerable code constructs the CA retrieval URL as 'http://%s/CertSrv/mscep/mscep.dll/pkiclient.exe?' against the configured CA hostname, then feeds the returned certificate to update-ca-certificates, which appends it to /etc/ssl/certs and the system-wide CA bundle consumed by OpenSSL, GnuTLS, and most Linux TLS clients. The root cause maps to CWE-348 (Use of Less Trusted Source): the bootstrap trust decision is made over an unauthenticated channel, so any response on the wire becomes a trusted root. The patch (commit 8b1939f) simply switches the scheme to https://, relying on the CA's TLS certificate to authenticate the channel before the new root is ingested.

Know when Python 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

Vendor (canonical) PRIMARY 9.0 HIGH
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/S:N/AU:Y/R:I/V:D/RE:L/U:Red
vuln.today AI 9.0 CRITICAL

Network MITM is required (AV:N, AC:H), no auth or interaction needed (PR:N/UI:N); poisoning the OS trust store breaks TLS for all client apps, crossing a trust boundary, so S:C with C/I/A:H.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (canonical).

CVSS VectorVendor: canonical

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

5
Analysis Updated
Jun 22, 2026 - 18:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 22, 2026 - 18:28 vuln.today
v2 - CVSS changed
Severity Changed
Jun 22, 2026 - 18:23 NVD
HIGH CRITICAL
CVSS changed
Jun 22, 2026 - 18:23 NVD
8.3 (HIGH) 9.0 (CRITICAL)
CVE Published
Jun 22, 2026 - 15:43 cve.org
HIGH 8.3

DescriptionCVE.org

An issue was discovered in Canonical ADSys upstream versions through v0.16.2. During Active Directory Certificate Services (AD CS) certificate auto-enrollment via the vendored Samba client script (internal/policies/certificate/python/vendor_samba/gp/gp_cert_auto_enroll_ext.py), ADSys utilizes a plaintext HTTP connection (http://) instead of a secure HTTPS connection (https://) to request the CA certificate from the Active Directory Certificate Services server (GetCACert). An unauthenticated network attacker positioned between the managed Ubuntu host and the configured AD CS CA hostname can conduct a Man-in-the-Middle (MITM) attack. By intercepting the plaintext HTTP request, the attacker can supply an arbitrary, attacker-controlled Root CA certificate. Because the system automatically accepts this certificate and registers it into the local system trust store via update-ca-certificates, this results in system-wide trust store poisoning. Consequently, TLS clients utilizing the operating system trust store on the affected machine will accept rogue certificates for arbitrary domains, enabling persistent decryption and interception of subsequent TLS connections. This issue is resolved in version v0.16.3.

Executive ViewAI

Why It Matters

A critical vulnerability in Canonical ADSys allows attackers to inject unauthorized certificates into Ubuntu systems managed through Active Directory, compromising the integrity of encrypted communications across the infrastructure. Organizations using AD-integrated Ubuntu deployments face the risk of persistent traffic decryption and surveillance, with no public exploit identified at time of analysis. Immediate patching is required to prevent potential interception of sensitive data across the managed host fleet.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
Ubuntu AD integration tool, niche enterprise Linux deployments
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +45
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy