Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-72711: Improper Input Validation in leanprover lean4

0
Medium
VulnerabilityCVE-2026-72711cvecve-2026-72711
Published: 08/24/2026 (08/24/2026, 20:08:33 UTC)
Source: CVE Database V5
Vendor/Project: leanprover
Product: lean4

Description

CVE-2026-72711 is a medium severity vulnerability in the Lean 4 kernel where improper input validation allows an opaque declaration to be accepted without verifying that its body is closed. This flaw enables a metaprogram to introduce an opaque constant of type False, potentially undermining logical soundness. The issue is fixed in version 4.32.2 by adding the missing closure check.

CVSS v4.0

Score 6.8medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
lean4
pkg:github/lean4
Affected versions
<4.32.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/24/2026, 20:37:54 UTC

Technical Analysis

The Lean 4 kernel fails to check that the body of an opaque declaration is closed because environment::add_opaque omits the check_no_metavar_no_fvar call that other declaration paths perform. This omission allows a metaprogram to create a temporary local of type False, cache its type, restore the local context, and then submit an opaque declaration with the now-unbound variable. The kernel infers the cached type without verifying local context membership, admitting an opaque constant of type False. This bypass occurs through the standard checked path at maximum kernel checking without requiring unsafe operations or modified files. The vulnerability is fixed in version 4.32.2 by adding the missing closure check.

Potential Impact

An attacker can cause the kernel to accept an opaque constant of type False, from which any proposition follows, potentially compromising the logical soundness of proofs or programs relying on Lean 4. This could lead to incorrect theorem proofs or unsound reasoning within the environment.

Mitigation Recommendations

A fix is available in Lean 4 version 4.32.2, which adds the missing closure check to environment::add_opaque. Users should upgrade to version 4.32.2 or later to remediate this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-10T13:02:52.001Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a8ca814acd9273b49150582

Added to database: 08/24/2026, 20:22:44 UTC

Last enriched: 08/24/2026, 20:37:54 UTC

Last updated: 08/24/2026, 21:31:08 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses