Loading...
Skip to main content

CVE-2026-12249 — Vulnerability in github.com/ubuntu/adsys — CVE...

CRITICAL

Canonical ADSys Uses a Less Trusted Source

Published June 22, 2026Updated September 28, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published June 22, 2026 (112 days ago).
  • Last revised September 28, 2026 — 98 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/ubuntu/adsys to 0.16.3-0.20250318112551-8b1939f96d38 or later
go get github.com/ubuntu/adsys@v0.16.3-0.20250318112551-8b1939f96d38

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/ubuntu/adsys
go
All versions0.16.3-0.20250318112551-8b1939f96d38

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2026-12249?
Canonical ADSys Uses a Less Trusted Source This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.0/10).
How do I check if my project is affected by CVE-2026-12249?
CVE-2026-12249 affects github.com/ubuntu/adsys. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-12249 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.0

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-crm4-q7v4-c2r2
GO-2026-6543

Related CVEs

  • CVE-2026-107806
    CRITICAL

    Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite

  • CVE-2026-68582
    CRITICAL

    Vikunja: Link-share token reads any tenant's kanban buckets and enumerates usernames/IDs instance-wide (BOLA)

  • CVE-2024-9313
    HIGH

    PAM module may allow accessing with the credentials of another user

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies