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.
Canonical ADSys Trust Store Poisoning via Plaintext HTTP Certificate Auto-Enrollment
Problem type
Affected products
< 0.16.3 - AFFECTED
Canonical
0.9.2~20.04.2ubuntu0.1+esm2 - UNAFFECTED
0.16.3~22.04.2ubuntu0.22.04.1 - UNAFFECTED
0.16.3~24.04.2ubuntu0.24.04.1 - UNAFFECTED
0.16.3 - UNAFFECTED
0.16.4ubuntu1 - UNAFFECTED
References
https://ubuntu.com/security/CVE-2026-12249
https://github.com/ubuntu/adsys/commit/8b1939f96d3827b4426eb06c1ced5bf317b0a99d
GitHub Security Advisories
GHSA-crm4-q7v4-c2r2
An issue was discovered in Canonical ADSys upstream versions through v0.16.2. During Active...
https://github.com/advisories/GHSA-crm4-q7v4-c2r2An 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.
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-12249Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-12249",
"assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"assignerShortName": "canonical",
"dateUpdated": "2026-06-22T17:30:57.314Z",
"dateReserved": "2026-06-15T08:01:59.335Z",
"datePublished": "2026-06-22T15:43:33.890Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"shortName": "canonical",
"dateUpdated": "2026-06-22T15:45:03.920Z"
},
"datePublic": "2026-06-19T11:58:00.000Z",
"title": "Canonical ADSys Trust Store Poisoning via Plaintext HTTP Certificate Auto-Enrollment",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"collectionURL": "https://github.com/ubuntu",
"packageName": "adsys",
"repo": "https://github.com/ubuntu/adsys",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0.13.0",
"status": "affected",
"versionType": "semver",
"lessThan": "0.16.3"
}
]
},
{
"vendor": "Canonical",
"product": "Ubuntu 20.04 LTS",
"collectionURL": "https://launchpad.net/ubuntu/focal",
"packageName": "adsys",
"platforms": [
"Linux"
],
"repo": "https://launchpad.net/ubuntu/+source/adsys",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0.9.2~20.04.2ubuntu0.1+esm2",
"status": "unaffected",
"versionType": "dpkg"
}
]
},
{
"vendor": "Canonical",
"product": "Ubuntu 22.04 LTS",
"collectionURL": "https://launchpad.net/ubuntu/jammy",
"packageName": "adsys",
"platforms": [
"Linux"
],
"repo": "https://launchpad.net/ubuntu/+source/adsys",
"defaultStatus": "affected",
"versions": [
{
"version": "0.16.3~22.04.2ubuntu0.22.04.1",
"status": "unaffected",
"versionType": "dpkg"
}
]
},
{
"vendor": "Canonical",
"product": "Ubuntu 24.04 LTS",
"collectionURL": "https://launchpad.net/ubuntu/noble",
"packageName": "adsys",
"platforms": [
"Linux"
],
"repo": "https://launchpad.net/ubuntu/+source/adsys",
"defaultStatus": "affected",
"versions": [
{
"version": "0.16.3~24.04.2ubuntu0.24.04.1",
"status": "unaffected",
"versionType": "dpkg"
}
]
},
{
"vendor": "Canonical",
"product": "Ubuntu 25.10",
"collectionURL": "https://launchpad.net/ubuntu/questing",
"packageName": "adsys",
"platforms": [
"Linux"
],
"repo": "https://launchpad.net/ubuntu/+source/adsys",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0.16.3",
"status": "unaffected",
"versionType": "dpkg"
}
]
},
{
"vendor": "Canonical",
"product": "Ubuntu 26.04 LTS",
"collectionURL": "https://launchpad.net/ubuntu/resolute",
"packageName": "adsys",
"platforms": [
"Linux"
],
"repo": "https://launchpad.net/ubuntu/+source/adsys",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0.16.4ubuntu1",
"status": "unaffected",
"versionType": "dpkg"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Improper verification of cryptographic signature",
"cweId": "CWE-348",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://ubuntu.com/security/CVE-2026-12249",
"tags": [
"vdb-entry",
"issue-tracking"
]
},
{
"url": "https://github.com/ubuntu/adsys/commit/8b1939f96d3827b4426eb06c1ced5bf317b0a99d",
"tags": [
"patch"
]
}
],
"impacts": [
{
"capecId": "CAPEC-94",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-94 Adversary in the Middle (AiTM)"
}
]
}
],
"metrics": [
{
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
],
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH",
"baseScore": 8.3,
"baseSeverity": "HIGH"
}
},
{
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
]
},
"adp": [
{
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-06-22T17:30:57.314Z"
},
"title": "CISA ADP Vulnrichment",
"metrics": [
{}
]
}
]
}
}