CVE-2026-12249: Canonical ADSys Trust Store Poisoning via Plaintext HTTP Certificate Auto-Enrollment

Published Jun 22, 2026
·
Updated

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/vendorsamba/gp/gpcertautoenrollext.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.

Affected Software

1 affected component
Canonical ADSys<=v0.16.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Canonical ADSys to a version that resolves this vulnerability.

    Fixed in v0.16.3
  2. Configuration

    Update the GetCACert request used by gp_cert_auto_enroll_ext.py to use HTTPS (https://) rather than plaintext HTTP (http://) to prevent MITM injection of an attacker-controlled Root CA certificate.

    ADSys vendored Samba certificate auto-enrollment script (internal/policies/certificate/python/vendor_samba/gp/gp_cert_auto_enroll_ext.py) CA certificate request URL scheme for GetCACert = https:// (instead of http://)

Event History

Jun 22, 2026
CVE Published
via MITRE·03:43 PM
Data Sourced
via MITRE·03:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness
Jun 26, 2026
Data Sourced
via Ubuntu·05:30 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·05:31 PM
DescriptionAffected Software
Jul 3, 2026
Data Sourced
via Launchpad·05:39 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-12249?

CVE-2026-12249 has a critical severity rating of 9.

2

How do I fix CVE-2026-12249?

To fix CVE-2026-12249, update to the latest version of Canonical ADSys that addresses this vulnerability.

3

What type of vulnerability is CVE-2026-12249?

CVE-2026-12249 is a trust store poisoning vulnerability related to certificate auto-enrollment.

4

What software is affected by CVE-2026-12249?

CVE-2026-12249 affects Canonical ADSys versions through v0.16.2.

5

How can CVE-2026-12249 impact my system?

CVE-2026-12249 can lead to unauthorized certificate issuance and compromise the integrity of the trust store.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203