{"cve":"CVE-2026-12249","nvd":{"published":"2026-06-22T18:16:31.917","modified":"2026-06-22T20:18:53.300","status":"Awaiting Analysis","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/S:N/AU:Y/R:I/V:D/RE:L/U:Red","score":9.0},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.0},"cwes":["CWE-348"],"references":["https://github.com/ubuntu/adsys/commit/8b1939f96d3827b4426eb06c1ced5bf317b0a99d","https://ubuntu.com/security/CVE-2026-12249"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:39:28.638635428+00:00"},"epss":{"cve":"CVE-2026-12249","score":0.00143,"percentile":0.03597,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-crm4-q7v4-c2r2","url":"https://osv.dev/vulnerability/GHSA-crm4-q7v4-c2r2","summary":"Canonical ADSys Uses a Less Trusted Source","modified":"2026-09-28T17:10:57.351057201Z","packages":[{"ecosystem":"Go","name":"github.com/ubuntu/adsys","purl":"pkg:golang/github.com/ubuntu/adsys","ranges":["<0.16.3-0.20250318112551-8b1939f96d38"],"fixed":["0.16.3-0.20250318112551-8b1939f96d38"]}]},{"id":"GO-2026-6543","url":"https://osv.dev/vulnerability/GO-2026-6543","summary":"Canonical ADSys Uses a Less Trusted Source in github.com/ubuntu/adsys","modified":"2026-09-28T17:00:17.549283128Z","packages":[{"ecosystem":"Go","name":"github.com/ubuntu/adsys","purl":"pkg:golang/github.com/ubuntu/adsys","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}