{"answers":{"affected":"3 open source packages ship an affected version, including github.com/ubuntu/adsys.","exploited":"There is no known exploitation of CVE-2026-12249 in the wild and no public exploit code.","fix":"Upgrade github.com/ubuntu/adsys to 0.16.3-0.20250318112551-8b1939f96d38 or later.","what":"CVE-2026-12249 is a critical vulnerability in Canonical Ubuntu 20.04 LTS, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-12249 and fix it if it is affected.\n\nWhat it is: CVE-2026-12249 is a critical vulnerability in Canonical Ubuntu 20.04 LTS, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-12249 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/ubuntu/adsys (Go): affected all versions; no fix listed\n- github.com/ubuntu/adsys (Go): affected all versions; fixed in 0.16.3-0.20250318112551-8b1939f96d38\n- github.com/ubuntu/adsys (Go): affected all versions; fixed in 0.16.3-0.20250318112551-8b1939f96d38\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-12249/ (Markdown: https://insights.sbomify.com/CVE-2026-12249/index.md)","id":"CVE-2026-12249","markdown":"https://insights.sbomify.com/CVE-2026-12249/index.md","name":"CVE-2026-12249","record":{"aliases":["GHSA-crm4-q7v4-c2r2","GO-2026-6543","UBUNTU-CVE-2026-12249"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Ubuntu AD integration","requires_auth":"none","summary":"Man-in-the-middle attackers can poison the system trust store by intercepting plaintext HTTP certificate requests, enabling TLS interception on Ubuntu hosts.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[],"cvss":{"score":9,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-348","name":"Use of Less Trusted Source"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Canonical ADSys Trust Store Poisoning via Plaintext HTTP Certificate Auto-Enrollment","id":"CVE-2026-12249","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Sensitive Data Exposure in TUBITAK BILGEM's Pardus Domain Joiner","id":"CVE-2026-12250"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/ubuntu/adsys","purl":"pkg:golang/github.com/ubuntu/adsys","source":"GO-2026-6543"},{"ecosystem":"Go","fixed":["0.16.3-0.20250318112551-8b1939f96d38"],"introduced":["0"],"last_affected":[],"package":"github.com/ubuntu/adsys","purl":null,"source":"GHSA-crm4-q7v4-c2r2"},{"ecosystem":"Go","fixed":["0.16.3-0.20250318112551-8b1939f96d38"],"introduced":["0"],"last_affected":[],"package":"github.com/ubuntu/adsys","purl":"pkg:golang/github.com/ubuntu/adsys","source":"GHSA-crm4-q7v4-c2r2"}],"prev":{"headline":"WPML Multilingual CMS \u003c= 4.9.5 - Authenticated (Translator+) SQL Injection via 'sorting' Parameter","id":"CVE-2026-12248"},"products":["Ubuntu 20.04 LTS","Ubuntu 22.04 LTS","Ubuntu 24.04 LTS","Ubuntu 25.10","Ubuntu 26.04 LTS"],"published":"2026-06-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-22","vendors":["Canonical"]},"summary":"Man-in-the-middle attackers can poison the system trust store by intercepting plaintext HTTP certificate requests, enabling TLS interception on Ubuntu hosts.","url":"https://insights.sbomify.com/CVE-2026-12249/"}