p PatchFirst

CVE-2026-12249

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

CVSS 9.0 · Critical · EPSS 0.1% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • ubuntu 20.04 lts

    Versions
    • 0.9.2~20.04.2ubuntu0.1+esm2: Not affected (dpkg)

    No fix published

  • ubuntu 22.04 lts

    Versions
    • 0.16.3~22.04.2ubuntu0.22.04.1: Not affected (dpkg)

    No fix published

  • ubuntu 24.04 lts

    Versions
    • 0.16.3~24.04.2ubuntu0.24.04.1: Not affected (dpkg)

    No fix published

  • ubuntu 25.10

    Versions
    • 0.16.3: Not affected (dpkg)

    No fix published

  • ubuntu 26.04 lts

    Versions
    • 0.16.4ubuntu1: Not affected (dpkg)

    No fix published

  • adsys Ubuntu 25.10

    Affected ranges
    • ECOSYSTEM: < 0.16.3

    Update to 0.16.3

Original sources

Check your server →