appsec.fyi

SQL Injection Resources

Post Share

A curated AppSec resource library covering XSS, SQLi, SSRF, IDOR, RCE, XXE, OSINT, and more.

SQL Injection

SQL injection (SQLi) is the insertion of malicious SQL queries via input data from the client to the application. A successful SQL injection exploit can read sensitive data from the database, modify or delete records, execute administrative operations, and in some cases issue commands to the operating system.

Despite being one of the oldest web vulnerability classes, SQL injection continues to appear in modern applications — particularly in legacy codebases, custom query builders, and applications that construct SQL through string concatenation rather than parameterized queries. Second-order SQLi, where the payload is stored first and executed later in a different context, is especially difficult to detect with automated scanners.

SQLi techniques have evolved well beyond simple UNION SELECT attacks. Blind SQLi uses boolean conditions or time delays to extract data one bit at a time. Error-based injection leverages database error messages to leak information. Out-of-band SQLi exfiltrates data through DNS or HTTP requests initiated by the database. Each database engine — MySQL, PostgreSQL, MSSQL, Oracle, SQLite — has its own syntax quirks and exploitation techniques.

Modern WAFs and prepared statements have reduced the attack surface, but bypasses are regularly discovered through encoding tricks, comment injection, and parser differentials between the WAF and the database.

This page collects SQLi techniques, cheat sheets, bypass methods, and real-world exploitation writeups across all major database platforms.

From OWASP

Start here: the SQLi learning pathAn ordered route through this library — orientation, then methodology, then research. Read the SQLi guideA long-form, source-cited deep dive synthesized from every resource below. The comprehensive SQLi guide on chs.usA hand-written, in-depth practitioner guide — attacks, testing, and prevention.
Date Added Link Excerpt
2026-08-28 NEW 2026Three CVSS 10.0 ServiceNow Flaws Could Let Unauthenticated Attackers Execute Code and SQL news 4 min readAdvisory detailing three CVSS 10.0 ServiceNow vulnerabilities, including CVE-2026-18885 (code injection), CVE-2026-18886 (improper access control), and CVE-2026-74820 (SQL injection), which allow unauthenticated attackers to execute arbitrary code and manipulate data. Also covers CVE-2026-6876, an 8.7 rated sandbox escape. Patches are available for affected Xanadu, Yokohama, Zurich, and Australia versions. → thehackernews.com
2026-08-28 NEW 2026ServiceNow warns of three max severity security vulnerabilities news 2 min readAdvisory on three maximum-severity ServiceNow AI Platform vulnerabilities, including CVE-2026-18885 (code injection), CVE-2026-18886 (privilege escalation via code injection), and CVE-2026-74820 (SQL injection). These critical flaws, along with a high-severity sandbox escape (CVE-2026-6876), can be exploited by unauthenticated attackers with low complexity. Previous attacks have chained ServiceNow vulnerabilities, such as CVE-2024-4879, CVE-2024-5178, and CVE-2024-5217, for data theft. → bleepingcomputer.com
2026-08-26 NEW 2026Metabase flaw hands attackers admin access with no login and it is already being exploited newsA critical vulnerability in Metabase, an open-source business intelligence tool, allows attackers to gain administrator access without authentication. This severe flaw is actively being exploited in the wild. The vulnerability, if exploited, could lead to complete system compromise. Users are strongly advised to update their Metabase instances immediately to patch this security hole. Further details on the exploit and mitigation can be found at the provided link.
2026-08-26 NEW 2026From SQL Injection to Remote Code Execution: Following an Unexpected Attack Chain intermediate RCEThis write-up details a vulnerability discovery, responsibly disclosed and patched. The author stumbled upon an attack chain that escalated from an SQL injection to remote code execution. The technical details, including payloads and command output, are presented to illustrate the technique, with sensitive information redacted for security. The author emphasizes that the discovery was unexpected. → infosecwriteups.com
2026-08-24 NEW 2026SQL injection remains a persistent cyber threat after two decades beginner 3 min readSurvey of SQL injection vulnerabilities, detailing how the persistent threat, despite being well-understood for over two decades, continues to impact organizations globally. This entry highlights significant past incidents like the Heartland Payment Systems breach (2008-2009), Sony attacks (2011), TalkTalk (2015), and the 2023 MOVEit Transfer breach, underscoring the severe consequences including data theft, financial losses, and reputational damage. It emphasizes that implementation weaknesses, inadequate governance, and insufficient developer awareness, rather than a lack of available security measures, allow SQLi to persist.
2026-08-19 2026Early exploitation attempts observed of GeoServer zero day news 3 min readAnalysis of a GeoServer zero-day unauthenticated SQL injection vulnerability in `jsonArrayContains` reveals early internet-wide scanning and exploitation attempts. This flaw, potentially leading to remote code execution on H2 database deployments, echoes past real-world compromises like the 2024 breach of a U.S. federal agency exploiting CVE-2024-36401. Organizations should identify exposed GeoServer instances, monitor for suspicious activity, and await vendor patches.
2026-08-18 2026They patched their SaaS and left the self-hosted OSS version vulnerable - AppFlowy Authenticated SQL Injection news 3 min read AuthZWriteup detailing an authenticated SQL injection vulnerability in the self-hosted open-source version of AppFlowy. The vulnerability exists in the `search_term` parameter for the `/api/workspace/{workspace-id}/quick-note` endpoint, allowing authenticated users to exfiltrate, modify, or delete database contents via unsanitized input embedded into JSON path queries. The AppFlowy team confirmed the issue was patched in their commercial cloud offering but remained silent regarding the open-source version.
2026-08-17 2026Trezor Data Breach Analysis: 14000 Customers Exposed in ShipMonk Metabase SQL Injection Incident news 4 min readAnalysis of the Trezor data breach reveals a SQL injection vulnerability in ShipMonk's Metabase instance, exploited by attackers to exfiltrate PII of 14,000 customers. This incident highlights supply chain risks within the crypto sector, featuring MITRE ATT&CK techniques T1190 and T1068, and involves the ShinyHunters group for extortion. The breach exposed customer names, addresses, phone numbers, and emails, increasing phishing and social engineering risks for affected individuals. → rescana.com
2026-08-12 2026Critical SQL Injection in Metabase via Password Reset: CVE-2026-72898 news 3 min read AuthNWriteup of CVE-2026-72898, a critical SQL injection vulnerability in Metabase's password reset functionality. This unauthenticated flaw, with a CVSS score of 10.0, allows attackers to execute arbitrary SQL against the application database by exploiting undeclared fields in the request body. Exploitation can lead to administrative access and compromise of connected databases. Immediate upgrades to patched versions are strongly advised, along with auditing administrator accounts and reviewing logs for unauthorized activity. → bishopfox.com
2026-08-11 2026Inside the Metabase SQLi: Exploited in the Wild news 4 min readWriteup of GHSA-vwf4-m7j8-wcjf, a zero-day SQL Injection vulnerability in Metabase versions 1.58+, exploited in the wild. This analysis details the reverse engineering process, including decompiling Clojure code and identifying how Clojure's `merge` function, JSON keywordization, and HoneySQL's `:raw` keyword enable arbitrary blind SQL injection via the `/api/session/reset_password` endpoint. Recommendations include checking `/api/session/properties` and testing exploitability with a specific `curl` command. → wiz.io
2026-08-10 2026Inside the Metabase SQLi: Exploited in the Wild news 4 min readWriteup of the Metabase SQLi vulnerability, present in versions 1.58+, that targets the `/api/session/reset_password` endpoint. This vulnerability leverages Clojure's `merge` function, JSON keywordization, and HoneySQL's `:raw` keyword to achieve blind SQL injection. Wiz Research reverse-engineered the vulnerability, noting that versions 0.58.22 and 0.58.24 were affected, and patched versions are available. → wiz.io
2026-08-08 2026Metabase Zero-Day Exploited in Wild Allows Admin Access Without Authentication news 2 min readWriteup on a zero-day vulnerability impacting Metabase versions prior to specific patches, allowing unauthenticated remote attackers to inject SQL and gain administrator access. This critical flaw, with a CVSS score of 10.0, enables attackers to alter configurations, steal credentials, and read or export sensitive data. Affected versions include ranges within 0.58.0 through 0.63.0. Indicators of compromise involve specific API call patterns, and mitigation includes patching, blocking the `/api/session/reset_password` endpoint, and performing post-incident security checks. Framework was a reported victim, experiencing data exfiltration of customer PII. → thehackernews.com
2026-08-07 2026Attackers Compile khunt Inside Oracle to Turn SQL Injection Into Windows SYSTEM Access intermediate 2 min readLibrary of scripts and techniques for attackers to compile post-exploitation toolkits like khunt directly within Oracle databases. This method bypasses traditional endpoint detection by creating Java stored procedures that execute arbitrary commands on the Windows host, leveraging SQL injection flaws in web applications to gain initial access and then using Oracle's embedded JVM to achieve SYSTEM-level code execution. The toolkit includes components for command execution, credential theft, file manipulation, and archive unpacking. → thehackernews.com
2026-08-06 2026Attackers hid malware inside Oracle Database after SQL injection breach intermediate 2 min readAnalysis of a campaign detailing attackers exploiting SQL injection to hide custom Java malware, dubbed Khunt, within Oracle databases. The technique leverages Oracle's embedded Java Virtual Machine (OJVM) to upload, compile, and execute malicious code directly from database objects, enabling persistent footholds and facilitating post-exploitation activities like credential theft and SYSTEM-level command execution by blending with legitimate database functionality. Huntress recommends monitoring for unexpected Java source objects and compiled classes in Oracle environments. → csoonline.com
2026-08-06 2026Oracle SQL Injection Attack Enables Remote Code Execution intermediate 4 min readWriteup detailing an Oracle SQL injection attack that achieved remote code execution by abusing `CREATE JAVA SOURCE` functionality. Threat actors deployed the `khunt` toolkit within the Oracle database, leveraging modules like `KhuntCmd` for OS command execution and `KhuntHash` for credential theft. This technique highlights how legitimate database features can be weaponized, underscoring the need for secure coding, least-privilege access, enhanced Oracle monitoring, and robust incident response. → esecurityplanet.com
2026-08-05 2026Hackers run khunt post-exploitation toolkit from Oracle database advanced 2 min readToolkit for post-exploitation using Oracle database integration, discovered by Huntress. This attack leveraged a SQL injection vulnerability in a Java application to embed the "khunt" toolkit as Java objects within an Oracle database. The toolkit included components like KhuntCmd for OS command execution, KhuntHash for credential theft, and KhuntFS for file management, all triggered via SQL commands to gain SYSTEM-level privileges and potentially exfiltrate sensitive data like registry hives. → bleepingcomputer.com
2026-08-05 2026Hackers Smuggle Post-Exploitation Toolkit Into Oracle Database Via Classic SQL Injection Flaw intermediate 3 min readLibrary that details how a SQL injection vulnerability in a public-facing web application was used to smuggle a custom post-exploitation toolkit named "khunt" into an Oracle database. The attackers abused the `CREATE JAVA SOURCE` command to store and compile Java code as database objects, allowing them to run arbitrary OS commands from within the database, pivot to the underlying Windows server, and exfiltrate registry hives and system information. This technique, sometimes called "oraexec," exploits a blind spot in traditional endpoint security tooling.
2026-08-04 2026Prompt Injection tops 2026 OWASP GenAI / LLM Top Ten vulnerabilities news 3 min readSurvey of the 2026 OWASP GenAI / LLM Top Ten vulnerabilities, confirming prompt injection as the top risk, followed by sensitive information disclosure and excessive agency. Unlike SQL injection, prompt injection lacks a definitive fix and requires continuous management. Excessive agency is rising due to increasingly autonomous AI agents with expanded capabilities like web browsing and tool execution, necessitating tightly scoped permissions and monitoring. The latest OWASP list is grounded in real-world incident data rather than solely expert opinion.
2026-08-04 2026New cPanel Critical Flaw Could Let Hosting Customers Run SQL as Database Root news 3 min readReference to CVE-2026-58048 details a critical privilege escalation vulnerability in cPanel allowing authenticated hosting customers to execute arbitrary SQL commands as the database root. This flaw, stemming from an issue in the database renaming process where SQL mode is not preserved, can lead to operating-system-level compromise. The advisory also touches upon CVE-2026-58047, an HTTP request-smuggling issue in cpsrvd, and GCVE-25-2026-07-45-3 and GCVE-25-2026-07-45-1 related to Exim's unsafe string expansion and local directory traversal, respectively. → thehackernews.com
2026-07-30 2026Snowflake SQL Injection via Compile-Time Constant Folding with SYSTEM$WAIT advanced 7 min readLibrary for exploiting Snowflake SQL injection vulnerabilities by leveraging compile-time constant folding with the SYSTEM$WAIT function. This technique forces errors during the compilation phase, rather than execution, allowing the extraction of sensitive information through verbose compilation error messages, bypassing application-level error handling that suppresses runtime failures. → infosecwriteups.com
2026-07-29 2026Discovering an Time-Based Blind SQL Injection in a Tamil Nadu Government Web Portal (TANGEDCO) intermediate 3 min read Bug BountyWriteup detailing an Oracle Time-Based Blind SQL Injection found in the TANGEDCO government web portal's password recovery function. The writeup explains how the vulnerability was identified by observing server response delays when using `DBMS_PIPE.RECEIVE_MESSAGE` and discusses its potential impact, including sensitive data extraction and bypassing application logic. It emphasizes the importance of parameterized queries and secure coding practices for prevention. → infosecwriteups.com
2026-07-23 2026SQL injection isn't dead beginner 6 min readLibrary for application security, Aikido Zen, acts as an in-app firewall that detects and blocks SQL injection attacks at runtime by monitoring user input as it approaches data sinks. It complements static analysis and AI-driven pentesting by providing a RASP solution that understands dangerous inputs at the code level, offering a crucial safety net for vulnerabilities that slip through secure coding practices or exist in dependencies. This approach is vital given the persistent threat of SQL injection, as highlighted by recent WordPress core vulnerabilities and ongoing challenges with secure coding, AI-generated code, and legacy systems. → aikido.dev
2026-07-22 2026SQL injection isn't dead beginner 6 min readLibrary for runtime protection against SQL injection, defending against vulnerabilities like the recent WordPress core flaw (CVE-2024-42005). This RASP solution, Aikido Zen, acts as an in-app firewall, blocking malicious input before it reaches data sinks. It complements static analysis by catching complex, logic-dependent injections that bypass traditional scanners and AI code generation, providing a crucial safety net for applications. → aikido.dev
2026-07-21 2026Hackers Exploit Newly Patched WordPress Vulnerabilities news 3 min readWriteup detailing the WP2Shell attack chain, which chains two WordPress Core vulnerabilities, CVE-2026-63030 and CVE-2026-60137, to achieve pre-authentication remote code execution. This allows attackers to run arbitrary shell commands on vulnerable websites without needing to log in. The vulnerabilities affect the core software, not just plugins, and have been observed in active exploitation. → techrepublic.com
2026-07-20 2026Vulnerabilities in Windu CMS software newsWriteup on CERT Polska's coordinated disclosure of vulnerabilities in Windu CMS, specifically detailing CVE-2026-57309 (Blind SQL injection), CVE-2026-57310 (insecure password hashing with MD5/SHA1 static salt), and CVE-2026-57311 (arbitrary file upload leading to RCE), all confirmed in version 4.1. → cert.pl
2026-07-19 2026From SQL Injection to Infrastructure-Level RCE: A PostgreSQL Superuser Compromise advanced 1 min read RCEWriteup detailing a PostgreSQL superuser compromise, initiated by an SQL injection vulnerability in the `pJobNumber` parameter of a financial management web portal (`vsswb`). The exploit chain demonstrates unauthenticated Remote Code Execution (RCE) by leveraging `UNION SELECT` to extract database version and user information, revealing the application's use of the native `postgres` account. This superuser access allows for mass data exposure, including PII from tables like `public.vss01tpemployee`. → infosecwriteups.com
2026-07-18 2026Unauthenticated RCE in WordPress core (wp2shell), via SQL injection intermediate 3 min read RCELibrary for runtime protection against SQL injection, including the unauthenticated RCE in WordPress core (wp2shell) via REST API batch-route confusion and SQL injection. Aikido Zen's embedded firewall blocks SQL injection, command injection, and path traversal at runtime, providing a defense for unpatched systems while updates are deployed. Aikido Intel tracks this vulnerability and others across open-source ecosystems in real-time. → aikido.dev
2026-07-17 2026Unauthenticated RCE in WordPress core (wp2shell) news 3 min readLibrary for runtime protection, Aikido Zen, offers an embedded firewall to block unauthenticated RCE via SQL injection in WordPress core, specifically targeting versions 6.9.0-6.9.4 and 7.0.0-7.0.1. This vulnerability, described as a REST API batch-route confusion and SQL injection issue, can be exploited by anonymous attackers. While immediate patching to 7.0.2 or 6.9.5 is paramount, Zen provides a temporary runtime defense against the SQL injection, preventing exploitation while updates are deployed. The vulnerability is tracked in Aikido Intel, a real-time feed of open-source vulnerabilities. → aikido.dev
2026-07-16 2026The Security Bug That Almost Shipped newsA critical security vulnerability was discovered in an open-source project, narrowly avoiding inclusion in a production release. The bug, identified just before the planned deployment, would have allowed attackers to bypass authentication checks. Prompt action by the security team and developers prevented the issue from reaching users, highlighting the importance of last-minute security reviews. The content does not mention a specific bug bounty payout amount. → hackernoon.com
2026-06-30 2026Vulnerabilities in Redeight CMS software news 1 min readAnalysis of Redeight CMS version 1.0 vulnerabilities, including CVE-2026-53690, an SQL injection via the userEmail parameter on the login endpoint, CVE-2026-53691, an unrestricted file upload leading to RCE through the FileAdd endpoint, and CVE-2026-53692, weak password storage using unsalted MD5. → cert.pl
2026-06-24 2026Getting started with query parameterization beginner 8 min readLibrary for preventing SQL injection attacks by demonstrating query parameterization with prepared statements and stored procedures. It details implementing parameterized queries using placeholders, precompiling statements with `Prepare()` for reuse, and utilizing stored procedures for greater control and security. Additional measures like input sanitization and validation are also discussed to bolster database querying defenses. → snyk.io
2026-06-22 2026Vibe-Coding's Hidden Danger: SQL Injection Risks Go Live intermediate 3 min readAnalysis of SQL injection vulnerabilities in AI-generated "vibe-coding" applications, exemplified by the Boomberg website incident. This highlights how developers using tools like OpenAI, GitHub Copilot, and Google's offerings can inadvertently introduce common security flaws, such as those detailed in the OWASP Top 10, due to a lack of deep understanding of the generated code's underlying security implications.
2026-06-21 2026Preventing SQL injection attacks in Node.js beginner 8 min readLibrary for Node.js developers detailing SQL injection prevention techniques, including constructing vulnerable Express applications with PostgreSQL to demonstrate how user input manipulation leads to data leaks. It emphasizes using query placeholders and prepared statements with the `pg` library, validating and sanitizing input via `express-validator`, and utilizing tools like `npm audit` and the Snyk IDE extension for identifying known vulnerabilities in dependencies. → snyk.io
2026-06-18 2026Preventing SQL injection in C# with Entity Framework intermediate 5 min readLibrary for preventing SQL injection in C# applications utilizing Entity Framework. It details secure methods like LINQ queries, `FromSqlInterpolated`, and safe `FromSqlRaw` usage with explicit parameters, contrasting them with vulnerable string concatenation. The entry emphasizes using prepared statements and parameterization to treat user input strictly as data, and recommends code scanning tools like Snyk Code for detecting insecure constructions. → snyk.io
2026-06-17 2026Rapid7 Analysis: CVE-2024-12356 news 35 min readAnalysis of CVE-2024-12356, a critical unauthenticated RCE in BeyondTrust Privileged Remote Access and Remote Support, reveals it was exploited as a zero-day alongside a newly discovered PostgreSQL vulnerability, CVE-2025-1094. Rapid7's research indicates CVE-2024-12356, more accurately an argument injection (CWE-88) than command injection (CWE-77), often relies on CVE-2025-1094 for RCE. While the BeyondTrust patch addresses both vulnerabilities, Rapid7 also found a method to exploit CVE-2025-1094 independently in certain implementations. → rapid7.com
2026-06-15 2026Anatomy of a Critical SQL Injection: Lessons From CVE-2020-24932 intermediateThis content details a critical SQL injection vulnerability, CVE-2020-24932, providing an in-depth analysis of its mechanics. The article likely explores how the vulnerability was exploited, its potential impact, and lessons learned for developers and security professionals. The focus is on understanding the technical aspects of the SQL injection to prevent similar incidents in the future. No bug bounty payout amount is mentioned in the provided content. → hackernoon.com
2026-06-12 2026Making A SQLi Lab Is Not Difficult, Build One With Me. beginnerThis content is the second part of a series on building a SQL injection (SQLi) lab. The author highlights SQLi's intrusiveness, noting that it doesn't require privilege escalation and, in this lab's case, can be exploited without tools like Burp. The author also shares an inside joke about pronouncing "SQL" as "skweel." No specific bug bounty payout amount is mentioned in this excerpt. → infosecwriteups.com
2026-06-11 2026From SQLi to RCE - Exploiting LangGraphs Checkpointer intermediate 6 min readLibrary patches address vulnerabilities in LangGraph's AI agent checkpointer, allowing SQL injection (CVE-2025-67644, CVE-2026-27022) to chain into unsafe msgpack deserialization (CVE-2026-28277) for remote code execution. Vulnerable SQLite and Redis checkpointers are affected when `get_state_history()` is exposed with a user-controlled filter, enabling attackers to inject malicious msgpack payloads for arbitrary code execution.
2026-06-10 2026SQL Injection in Password Reset: Full Database, One Email intermediate AuthNA critical SQL injection vulnerability in a password reset function granted a researcher full read access to an entire database, including user records and password hashes. The vulnerability was discovered through a `ukey` parameter in a password reset email. Despite being reported in early 2025, the issue remained live at the time of the report. The researcher was able to extract all data from every table. No specific bounty payout amount was mentioned. → infosecwriteups.com
2026-05-26 2026Ghost CMS Vulnerability Exploited to Hack Over 700 Websites news 2 min readWriteup of CVE-2026-26980, an SQL injection vulnerability in Ghost CMS, details how threat actors exploited it for mass attacks. Unauthenticated attackers can extract sensitive data, including authentication tokens and user credentials. The vulnerability was leveraged to obtain Admin API Keys, allowing malicious JavaScript loaders for ClickFix attacks to be injected into articles. Over 700 websites, including those of DuckDuckGo, Harvard University, and Oxford University, were compromised by at least two active threat groups. → securityweek.com
2026-05-25 2026Ghost CMS CVE-2026-26980 Exploited to Hijack 700 Sites for ClickFix Attacks news 3 min readWriteup of CVE-2026-26980 in Ghost CMS, an SQL injection vulnerability allowing unauthenticated attackers to hijack admin API keys and poison over 700 sites. Threat actors injected malicious JavaScript loaders, often powered by Adspect, to facilitate ClickFix attacks through fake CAPTCHA pages and ultimately deliver malware like a modified Grape desktop client or a PuTTY client. The vulnerability was addressed in Ghost CMS version 6.19.1. → thehackernews.com
2026-05-14 2026Avada Builder Flaws Expose One Million WordPress Sites news 1 min readAnalysis of CVE-2026-4782 and CVE-2026-4798 in Avada Builder, two vulnerabilities affecting nearly one million WordPress sites. The arbitrary file read flaw, CVSS 6.5, allows authenticated subscribers to read sensitive files like wp-config.php via the fusion_section_separator shortcode. The time-based SQL injection, CVSS 7.5, impacts sites with deactivated WooCommerce, exploiting an unescaped product_order parameter. Patches were released in versions 3.15.2 and 3.15.3. → infosecurity-magazine.com
2026-05-13 2026Bug hunter tracks down three serious MCP database flaws one left unpatched news 3 min readWriteup detailing three critical vulnerabilities discovered in MCP databases by a security researcher. One of these flaws, impacting Apache and Alibaba databases, remains unpatched by the vendor, highlighting ongoing supply chain security risks within open-source software. The article emphasizes how AI-driven tools are increasing vulnerability discovery rates, leading to a surge in patches and a growing "vulnpocalypse." → theregister.com
2026-05-11 2026U.S. CISA adds a flaw in BerriAI LiteLLM to its Known Exploited Vulnerabilities catalog news 2 min readCVE-2026-42208 is a critical SQL injection vulnerability in BerriAI LiteLLM versions 1.81.16 to 1.83.6, allowing unauthenticated attackers to access and potentially modify database data via a crafted Authorization header. This flaw was added to CISA's Known Exploited Vulnerabilities catalog due to rapid real-world exploitation observed shortly after disclosure, with attackers targeting sensitive information like virtual API keys and credentials. A fix is available in LiteLLM version 1.83.7. → securityaffairs.com
2026-04-30 2026CVE-2026-42208: Critical Pre-Auth SQL Injection in LiteLLM Actively Exploited Within 36 Hours of Disclosure news 4 min readWriteup of CVE-2026-42208, a critical pre-authentication SQL injection in LiteLLM, which was actively exploited within 36 hours of disclosure. Attackers leveraged improper handling of the HTTP Authorization header to inject SQL into PostgreSQL databases, targeting sensitive data like API keys and provider credentials. Exploitation involved schema enumeration and targeted UNION SELECT payloads, originating from IP addresses associated with 3xK Tech GmbH. Mitigation requires upgrading LiteLLM, rotating credentials, and auditing logs for suspicious activity. → rescana.com
2026-04-30 2026CVE-2026-42208: LiteLLM SQL Injection Leaks Upstream API Keys news 7 min read AIWriteup on CVE-2026-42208 detailing a pre-authentication SQL injection vulnerability in the LiteLLM AI gateway. This critical flaw, with a CVSS score of 9.3, allows attackers to extract all upstream API keys stored by LiteLLM, including those for OpenAI, Anthropic, and Google. Exploitation occurred rapidly after disclosure, underscoring the need to upgrade to LiteLLM version 1.83.7-stable immediately and rotate all exposed API keys.
2026-04-29 2026CVE-2026-42208: LiteLLM bug exploited 36 hours after its disclosure news 2 min read AIWriteup of CVE-2026-42208 in LiteLLM, an SQL injection vulnerability in the proxy API key verification. Attackers exploited this flaw rapidly, within 36 hours of its disclosure, targeting sensitive data like virtual API keys and provider credentials by crafting malicious Authorization headers. The vulnerability affected LiteLLM versions 1.81.16 to 1.83.6 and was patched in 1.83.7. → securityaffairs.com
2026-04-29 2026Fresh LiteLLM Vulnerability Exploited Shortly After Disclosure news 2 min read AILibrary for securing AI gateways; a critical-severity SQL injection vulnerability (CVE-2026-42208, CVSS 9.3) in LiteLLM allowed unauthenticated attackers to exfiltrate database credentials and API keys by exploiting the proxy API key verification process. Attacks were observed shortly after disclosure, targeting database tables containing sensitive information. LiteLLM version 1.83.7 resolves this by properly parameterizing database queries. → securityweek.com
2026-04-29 202638 Vulnerabilities Found in OpenEMR Medical Software news 1 min read MobileAnalysis of OpenEMR reveals 38 CVE-assigned vulnerabilities, including critical SQL injection flaws (CVE-2026-24908, CVE-2026-23627) allowing database compromise and PHI exfiltration, and an authorization bypass (CVE-2026-24487) exposing patient data. These issues, primarily stemming from authorization flaws, were identified by Aisle and have since been patched by OpenEMR developers. → securityweek.com
2026-04-29 2026LiteLLM CVE-2026-42208 SQL Injection Exploited within 36 Hours of Disclosure news 2 min readWriteup of CVE-2026-42208, a critical SQL injection vulnerability in BerriAI's LiteLLM Python package, actively exploited within 36 hours of disclosure. The flaw, affecting versions between 1.81.16 and 1.83.7, allowed unauthenticated attackers to modify the LiteLLM proxy database, potentially accessing and altering credentials for LLM providers like OpenAI, Anthropic, and AWS. Exploitation attempts targeted tables such as `litellm_credentials.credential_values`, suggesting attackers sought to compromise cloud-grade credentials managed by the AI gateway. → thehackernews.com

Frequently Asked Questions

What is SQL injection?
SQL injection is a code injection technique where an attacker inserts malicious SQL statements into input fields or parameters that are incorporated into database queries. Successful exploitation can read, modify, or delete database data, and in some cases execute operating system commands.
What is the difference between blind and error-based SQLi?
Error-based SQLi extracts data through database error messages visible in the application response. Blind SQLi works when errors are suppressed — it infers data using boolean conditions (true/false responses) or time delays (e.g., IF condition THEN SLEEP(5)). Blind SQLi is slower but works in more restrictive environments.
Are prepared statements enough to prevent SQLi?
Prepared statements (parameterized queries) prevent classic SQLi in most cases. However, they cannot parameterize table names, column names, or ORDER BY clauses. Dynamic SQL built from these elements still requires allowlist validation. ORMs reduce risk but can be bypassed through raw query methods.

Weekly AppSec Digest

Get new resources delivered every Monday.