Skip to content
Heist/ feed
Back to feed
Critical

Canonical ADSys Trust Store Poisoning via Plaintext HTTP Certificate Auto-Enrollment

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-12249
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 01:39 UTC · Revision 1

Source evidence

Canonical ADSys Trust Store Poisoning via Plaintext HTTP Certificate Auto-Enrollment

core-osv · Original source

Published 22 Jun 2026, 15:43 UTC

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.

osv:CVE-2026-12249
Complete source record
{
  "id": "9f62f5d816e3753634d590c7ee79702849edaad0bc18e5215ba8f1a89d8d0582",
  "url": "https://osv.dev/vulnerability/CVE-2026-12249",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Canonical ADSys Trust Store Poisoning via Plaintext HTTP Certificate Auto-Enrollment",
    "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.",
    "evidence": "osv:CVE-2026-12249",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-12249",
      "aliases": [
        "CVE-2026-12249",
        "GHSA-crm4-q7v4-c2r2",
        "GO-2026-6543"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ubuntu/adsys",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3bed352b9a5f237cafdb5e7bf26b41495fe61b5f"
                },
                {
                  "fixed": "fbfc020956441f151044e46ba68ed02571c505cb"
                },
                {
                  "fixed": "8b1939f96d3827b4426eb06c1ced5bf317b0a99d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.13.0"
                      },
                      {
                        "fixed": "0.16.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8b1939f96d3827b4426eb06c1ced5bf317b0a99d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.16.2",
            "v0.16.1",
            "v0.16.0",
            "v0.15.1",
            "v0.15",
            "v0.14.1",
            "v0.14.0",
            "v0.13.2",
            "v0.13.1",
            "v0.13.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-12249.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.543998345Z",
      "provider": "osv",
      "references": [
        "https://github.com/ubuntu",
        "https://launchpad.net/ubuntu/+source/adsys",
        "https://launchpad.net/ubuntu/focal",
        "https://launchpad.net/ubuntu/jammy",
        "https://launchpad.net/ubuntu/noble",
        "https://launchpad.net/ubuntu/questing",
        "https://launchpad.net/ubuntu/resolute",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12249.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-12249",
        "https://ubuntu.com/security/CVE-2026-12249",
        "https://github.com/ubuntu/adsys/commit/8b1939f96d3827b4426eb06c1ced5bf317b0a99d",
        "https://github.com/ubuntu/adsys"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-348"
        ],
        "cna_assigner": "canonical",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12249.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-12249",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517053,
  "published_at": "2026-06-22T15:43:33.89+00:00"
}