Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ubuntu/adsys
  4. ›
  5. CVE-2026-12249

CVE-2026-12249: Canonical ADSys Uses a Less Trusted Source

June 22, 2026 (updated September 21, 2026)

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.

References

  • github.com/advisories/GHSA-crm4-q7v4-c2r2
  • github.com/ubuntu/adsys/commit/8b1939f96d3827b4426eb06c1ced5bf317b0a99d
  • github.com/ubuntu/adsys/releases/tag/v0.16.3
  • nvd.nist.gov/vuln/detail/CVE-2026-12249
  • ubuntu.com/security/CVE-2026-12249

Code Behaviors & Features

Detect and mitigate CVE-2026-12249 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.16.3-0.20250318112551-8b1939f96d38

Fixed versions

  • 0.16.3-0.20250318112551-8b1939f96d38

Solution

Upgrade to version 0.16.3-0.20250318112551-8b1939f96d38 or above.

Impact 9 CRITICAL

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-348: Use of Less Trusted Source

Source file

go/github.com/ubuntu/adsys/CVE-2026-12249.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:21 +0000.