Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-23842-Denial-of-Service-via-Database-Connection-Pool-Exhaustion-version-1.2.10 — CVE-2026-23842 — High severity Denial-of-Service vulnerability caused by SQLAlchemy connection pool exhaustion in concurrent get_response() calls in ChatterBot ≤ 1.2.10. | Kitploit
Tools/GitHubGitHub/adityabhatt3010/cve-2026-23842-denial-of-service-via-database-connection-pool-exhaustion-version-1.2.10
Vulnerability AnalysisExploitationLearning & Education
GitHubadityabhatt3010/cve-2026-23842-denial-of-service-via-database-connection-pool-exhaustion-version-1.2.10

CVE-2026-23842-Denial-of-Service-via-Database-Connection-Pool-Exhaustion-version-1.2.10

CVE-2026-23842 — High severity Denial-of-Service vulnerability caused by SQLAlchemy connection pool exhaustion in concurrent get_response() calls in ChatterBot ≤ 1.2.10.

View Repository
25 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-23842

Denial of Service via Database Connection Pool Exhaustion in ≤ 1.2.10

📌 Overview

This repository documents my discovery and responsible disclosure of CVE-2026-23842, a High Severity Denial-of-Service vulnerability in ChatterBot.

  • GitHub Advisory: GHSA-v4w8-49pv-mf72
  • CVE ID: CVE-2026-23842
  • CWE: CWE-400 (Uncontrolled Resource Consumption)
  • Severity: High (7.5 / 10)
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

a-hyper-detailed-cinematic-cyberpunk-ill_1YpmQcKtTGuYYByf5li18A_s2g_3oZVSIyO44oyprigwQ_cover_sd


🚨 Vulnerability Summary

ChatterBot versions ≤ 1.2.10 are vulnerable to a Denial-of-Service condition caused by improper database session and connection pool management.

Concurrent invocations of:

root@kitploit:~
get_response()

can exhaust the underlying SQLAlchemy , resulting in:

QueuePool
  • Application hang
  • sqlalchemy.exc.TimeoutError
  • Persistent service unavailability
  • Manual restart required for recovery

🎯 Affected Versions

root@kitploit:~
<= 1.2.10

✅ Patched Version

root@kitploit:~
>= 1.2.11

🧠 Technical Root Cause

ChatterBot relies on SQLAlchemy for database interaction and uses a default connection pool configuration.

However:

  • No concurrency throttling
  • No request rate limiting
  • No explicit session lifecycle enforcement
  • Default QueuePool limits

When multiple threads invoke get_response() simultaneously:

  1. Connections are rapidly checked out from the pool
  2. Connections are not released quickly enough
  3. Pool capacity is reached
  4. Additional requests block
  5. SQLAlchemy raises TimeoutError

This results in service-wide denial of availability.


🔬 Proof of Concept (PoC)

PoC Script

root@kitploit:~
from chatterbot import ChatBot
import threading

bot = ChatBot("dos-test")

def attack():
    bot.get_response("hello")

threads = []

for _ in range(30):
    t = threading.Thread(target=attack)
    t.start()
    threads.append(t)

for t in threads:
    t.join()

🎥 PoC Video Demonstration

The following video demonstrates:

  • Concurrent thread execution
  • SQLAlchemy QueuePool exhaustion
  • TimeoutError exceptions
  • Application unresponsiveness

🔗 PoC Video: https://github.com/user-attachments/assets/4ee845c4-b847-4854-84ec-4b2fb2f7090f


🌐 Attack Surface

If deployed as:

  • Public chatbot API
  • SaaS chatbot service
  • Web-integrated assistant

An attacker can remotely trigger the condition without authentication.


📊 CVSS v3.1 Breakdown

MetricValue
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ConfidentialityNone
IntegrityNone
AvailabilityHigh

📅 Responsible Disclosure Timeline

DateEvent
Jan 9Vulnerability reported
Jan 13Maintainer reproduced issue
Jan 17Advisory published
Jan 19CVE-2026-23842 assigned
Jan 21Public release

🏆 Credit

Discovered and responsibly disclosed by:

Aditya Bhatt VAPT Specialist CVE-2026-23842 Reporter


🔐 Responsible Disclosure Statement

This vulnerability was responsibly disclosed to the maintainer prior to public release. No exploit was publicly shared before patch availability.


Download Tool