CVE-2026-12249Canonical ADSys Trust Store Poisoning via Plaintext HTTP Certificate Auto-Enrollment
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.
What to do
Fixed builds are available from Go, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | adsys | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | adsys | Fixed | 0.16.3 | UBUNTU-CVE-2026-12249 |
| Ubuntu 24.04 | adsys | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | adsys | Not affected vulnerable_code_not_present | ||
| Go library | github.com/ubuntu/adsys | Fixed | 0.16.3-0.20250318112551-8b1939f96d38 | GHSA-crm4-q7v4-c2r2 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- adsys: affected: 0.13.0 to before 0.16.3; fixed in
0.16.3 - Canonical Ubuntu 20.04 LTS: affected: 0.9.2~20.04.2ubuntu0.1+esm2 not affected
- Canonical Ubuntu 22.04 LTS: affected: 0.16.3~22.04.2ubuntu0.22.04.1 not affected
- Canonical Ubuntu 24.04 LTS: affected: 0.16.3~24.04.2ubuntu0.24.04.1 not affected
- Canonical Ubuntu 25.10: affected: 0.16.3 not affected
- Canonical Ubuntu 26.04 LTS: affected: 0.16.4ubuntu1 not affected
Vendor advisories:
References
- https://ubuntu.com/security/CVE-2026-12249
- https://github.com/ubuntu/adsys/commit/8b1939f96d3827b4426eb06c1ced5bf317b0a99d
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.