SecurityContext

CVE-2026-12249: Canonical ADSys - Man-in-the-Middle

  • Cve: CVE-2026-12249
  • Name: Canonical ADSys - Man-in-the-Middle
  • 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.
  • Impact: Attackers can poison the system trust store, enabling interception and decryption of TLS connections system-wide.
  • Remediation: Update to version v0.16.3 or later.
  • Vulnerability type: man_in_the_middle
  • Vulnerability impact: man_in_the_middle, information_disclosure
  • Requirements: Attacker must be positioned on the network between the host and AD CS server
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.00143
  • Epss percentile: 0.03587
  • Assignee: [email protected]
  • Published at: 2026-06-22T18:16:31Z
  • Age in days: 155
  • Modified at: 2026-06-22T20:18:53Z
  • References total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-12249
  • Nvd status: awaiting_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-348Use of Less Trusted Source

References

UrlSourceTags
https://github.com/ubuntu/adsys/commit/8b1939f96d3827b4426eb06c1ced5bf317b0a99dnvd
https://ubuntu.com/security/CVE-2026-12249nvd

Projects

RepositoryLink kindsIndexedUrl
ubuntu/adsyscommit, fix, package, releasesyes/v1/repositories/ubuntu/adsys

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts