Skip to main content

AIL Framework CVE-2026-56450

| EUVDEUVD-2026-38239 MEDIUM
Improper Restriction of Excessive Authentication Attempts (CWE-307)
2026-06-22 CIRCL GHSA-hc8r-p4jw-p6fr
5.1
CVSS 4.0 · Vendor: CIRCL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid AIL account username and password
  2. Delivery
    Submit credentials at login endpoint
  3. Exploit
    Reach OTP verification step
  4. Execution
    Script unlimited HOTP code submissions to verify_2fa route
  5. Persist
    Match valid counter-window OTP value
  6. Impact
    Gain unauthorized account access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Brute-force prevention, rate limiting
Exploitation Conditions

The attacker must have already completed the first authentication stage, meaning they must possess a valid AIL username and corresponding password - without these, the verify_2fa endpoint is unreachable. The 2FA/OTP feature must be enabled for the targeted account; accounts without 2FA configured are not affected by this specific vulnerability. Exploitation requires network access to the AIL web interface HTTP(S) port; deployments restricted to internal networks or accessible only via VPN significantly reduce exposure. The HOTP counter-based implementation means the attacker's guesses must fall within the server's accepted counter window, though typical HOTP implementations allow a lookahead window of several codes, making this a minor rather than blocking constraint. Authentication requirements beyond password possession are not confirmed from available data, but CVSS PR:N in the provided vector indicates no system-level privileges are required beyond having a valid user credential.

Impact

The CVSS 4.0 base score is 5.1 (Medium) with vector AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N. The UI:A designation warrants scrutiny: in this context it likely reflects that the attacker must have engaged with the authentication flow as a credentialed user (i.e., possessed a valid password) rather than the traditional meaning of a victim performing an action. The impact ceiling is VC:L, reflecting account-level access within the AIL instance rather than host-level compromise or data exfiltration beyond that account's scope. No EPSS score was provided in the source intelligence, and the vulnerability is not listed in the CISA KEV catalog. No public exploit code has been identified. Real-world risk is moderate but deployment-context-sensitive: organizations that use AIL to process sensitive threat intelligence and rely on 2FA as a meaningful second factor face material exposure if user passwords are compromised through any external channel. The HOTP counter-based design removes the 30-second time pressure that would throttle TOTP brute-forcing, meaning an attacker with network access to the OTP endpoint could enumerate codes at network speed. The primary limiting factor is the prerequisite of a valid password - without it, the OTP endpoint is unreachable.

Exploit ScenarioDerived

An attacker who has acquired a valid AIL user's password through credential phishing or a breach of an external credential store submits it at the login page and reaches the OTP verification screen. The attacker then scripts rapid HTTP POST requests to the verify_2fa endpoint, cycling through counter-window HOTP values or sequential 6-digit codes. Because no attempt counter existed before the patch, the script runs until a valid OTP is accepted, granting the attacker full access to that user's AIL account. No public proof-of-concept exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 22, 2026

Unlimited OTP brute-force against AIL Framework's two-factor authentication endpoint allows an attacker who already possesses a valid account password to bypass the second authentication factor entirely and gain unauthorized account access. The verify_2fa() route accepted an unbounded number of OTP submissions without incrementing a failure counter or enforcing a lockout, and the implementation uses counter-based HOTP rather than time-limited TOTP, removing the time-window throttle that would otherwise constrain brute-force speed. No public exploit code or CISA KEV listing exists at time of analysis, but the prerequisite of a valid password - obtainable via phishing or credential dumps - makes this a realistic threat against any AIL deployment where 2FA is meant to serve as a meaningful access boundary.

RemediationAI

The primary remediation is to update AIL Framework to a commit at or beyond d3a394fe68fd5aeee86f3a3c91d4a0350f91e974, available at https://github.com/ail-project/ail-framework/commit/d3a394fe68fd5aeee86f3a3c91d4a0350f91e974. A specific tagged release version incorporating this fix has not been independently confirmed - administrators should verify their deployed commit hash against this fix. The patch introduces per-user OTP lockout after 30 failed attempts (1-hour block), automatic counter reset on successful OTP entry, and two administrator recovery endpoints: /settings/users/purge_failed_login to clear all login brute-force counters globally and /settings/user/purge_otp_timeout?user_id={id} to clear an individual user's OTP lockout. As a compensating control prior to patching, restricting network access to the AIL web interface to trusted IP ranges or a VPN reduces attacker reach to the OTP endpoint without eliminating the vulnerability. Monitoring Redis or application access logs for rapid sequential failed_otp_user_id increments can provide early detection of active brute-force attempts.

Affected VersionsENISA

ail framework 0 ≤6.8.0

Affected Packages

euvd ail_framework no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

AIL Framework (cpe:2.3:a:ail_project:ail_framework:*:*:*:*:*:*:*:*) is an open-source threat intelligence analysis platform maintained by CIRCL. Its authentication flow is two-stage: username/password verification followed by OTP verification in the verify_2fa() Flask blueprint route. The OTP implementation uses HOTP (counter-based one-time passwords), evidenced by references to get_htop_counter() in the patch diff - a notable detail because HOTP codes remain valid until consumed, unlike TOTP codes that expire every 30 seconds, making time-unlimited brute-forcing more tractable. CWE-307 (Improper Restriction of Excessive Authentication Attempts) is the precise root cause: the verify_2fa() function incremented no failure counter and checked no threshold before each guess. The patch remedies this by storing a per-user failure counter in Redis under the key failed_otp_user_id:{user_id}, enforcing a hard lockout after 30 failures with a 3600-second TTL, clearing the counter on successful verification, and adding administrator-only endpoints to purge individual or global OTP lockouts.

Know when Ail Framework gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CIRCL) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.8 MEDIUM

AC:H reflects the hard prerequisite of a compromised target password; C:L/I:L because account access grants read and limited write within that account's AIL scope.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (CIRCL).

CVSS VectorVendor: CIRCL

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

AIL did not restrict repeated failed attempts to verify a two-factor authentication (OTP) code. An attacker who had reached the 2FA verification step, such as after successfully completing the password-authentication stage, could submit an unlimited number of OTP guesses. This could enable brute-force guessing of a valid code and bypass the intended second authentication factor, resulting in unauthorized account access.

The patch introduces per-user failed-OTP tracking, blocks verification after 30 failed attempts for one hour, clears the counter after a successful OTP verification, and provides administrator recovery actions to purge affected lockouts.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Rare
Niche open-source threat intelligence analysis framework
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-39416 HIGH
8.5 Apr 08

Stored cross-site scripting in AIL Framework <6.8 allows authenticated high-privilege attackers to inject malicious Java

CVE-2026-100176 HIGH
8.5 Sep 25

Stored cross-site scripting in the AIL Framework's username timeline lets a remote, unauthenticated attacker execute arb

CVE-2026-100172 HIGH
8.5 Sep 25

Stored cross-site scripting in AIL Framework allows an authenticated attacker who can influence matched, tracked, or tag

CVE-2026-56448 HIGH
8.3 Jun 22

Authenticated path traversal in AIL Framework (CIRCL's Analysis Information Leak threat-intel platform) lets a low-privi

CVE-2020-8545 HIGH
7.5 Feb 03

Global.py in AIL framework 2.8 allows path traversal. Rated high severity (CVSS 7.5), this vulnerability is remotely exp

CVE-2026-59510 HIGH
7.1 Jul 05

Path traversal in AIL Framework's PDF object handling lets an authenticated user read files outside the intended PDF sto

CVE-2026-76164 HIGH
7.1 Aug 19

Non-blind SSRF in AIL Framework's crawler submission interface allows low-privileged authenticated users to pivot throug

CVE-2026-100187 MEDIUM
6.9 Sep 25

Crafted URL injection in the Onion module of the AIL Framework lets unauthenticated content publishers push arbitrary no

CVE-2026-100190 MEDIUM
6.3 Sep 25

Stored cross-site scripting (XSS) in the AIL Framework crawler splash domain page allows an authenticated user-role API

CVE-2026-100177 MEDIUM
6.3 Sep 25

Cross-tenant authorization bypass in the AIL Framework crawler task API (api_add_crawler_task) lets an authenticated use

CVE-2026-56138 MEDIUM
5.3 Jun 19

Path traversal in AIL Framework's `/objects/item/diff` endpoint exposes gzip-compressed server-side files to authenticat

CVE-2026-135301 MEDIUM
5.1 Nov 23

Stored cross-site scripting in the AIL Framework web dashboard lets a low-privilege authenticated user inject JavaScript

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy