{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-72711 exists.","fix":"No fix has been published for CVE-2026-72711 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-72711 is a medium-severity vulnerability in leanprover lean4, published on 24 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-72711 and fix it if it is affected.\n\nWhat it is: CVE-2026-72711 is a medium-severity vulnerability in leanprover lean4, published on 24 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-72711 exists.\n\nAffected product: leanprover lean4. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-72711/ (Markdown: https://insights.sbomify.com/CVE-2026-72711/index.md)","id":"CVE-2026-72711","markdown":"https://insights.sbomify.com/CVE-2026-72711/index.md","name":"CVE-2026-72711","record":{"aliases":["GHSA-fhmq-xvc2-q54h"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["other"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Lean 4 theorem prover","requires_auth":"none","summary":"Attackers can exploit a kernel logic flaw in Lean 4 to prove false statements, undermining the system's logical consistency and trustworthiness.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"The Lean 4 kernel does not check that the body of an opaque declaration is closed. environment::add_opaque omits the check_no_metavar_no_fvar call that the definition and theorem paths perform, so a value containing a free variable that is absent from the local context is not rejected outright. A metaprogram can first cause the kernel to create a temporary local of type False and record its type in the type checker's inference cache, then restore the local context while that cache entry persists on the same type checker instance, and finally submit an opaque declaration whose value is the now-unbound variable. The cache lookup answers before the branch that would test membership of the local context, so the kernel infers the cached type and admits an opaque constant of type False, from which any proposition follows. The declaration is accepted through the ordinary checked path at maximum kernel checking, without sorry, unsafeCast, debug.skipKernelTC, addDeclWithoutChecking, foreign code or a modified .olean file, and the result carries no axioms. Fixed in 4.32.2 by adding the missing closure check.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-08-23","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-23T23:26:42Z","kind":"github_poc","ref":"https://github.com/endrazine/lean-cve-poc-14484","stars":0,"title":"CVE-2026-72711 — Lean 4 Kernel Soundness Bug: Inference Cache Poisoning"}],"tier":"weaponised"},"has_fix":false,"headline":"Lean 4 before 4.32.2 Kernel Accepts Opaque Declaration With an Unbound Free Variable","id":"CVE-2026-72711","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2026"},"n_packages":0,"n_references":5,"next":{"headline":"Nmap 7.99 Denial of Service via Zero-Length TCP Option Packet","id":"CVE-2026-72712"},"packages":[],"prev":{"headline":"SPIP \u003c 4.4.18 RCE via editer_objet.php Job Queue Injection","id":"CVE-2026-72710"},"products":["lean4"],"published":"2026-08-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-26","vendors":["leanprover"]},"summary":"Attackers can exploit a kernel logic flaw in Lean 4 to prove false statements, undermining the system's logical consistency and trustworthiness.","url":"https://insights.sbomify.com/CVE-2026-72711/"}