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

Date Added Link Excerpt
2026-06-02 NEW 2026AnonymousPostgreSQL Injection in Drupal Core (CVE-2026-9082) newsDrupal Core is vulnerable to an anonymous PostgreSQL injection (CVE-2026-9082). This flaw allows unauthenticated users to inject arbitrary PostgreSQL code into a database. The vulnerability arises from insufficient sanitization of user-supplied data. Successful exploitation could lead to data manipulation, disclosure, or even remote code execution. Users are advised to update Drupal Core to the latest patched version as soon as possible to mitigate this critical security risk. → securityboulevard.com
2026-06-01 NEW 2026Exploitation of Critical SQL Injection Vulnerability in Drupal (CVE-2026-9082) newsWriteup detailing the exploitation of CVE-2026-9082, a critical SQL injection vulnerability in Drupal affecting PostgreSQL databases. This unauthenticated flaw, rated 9.8 (CVSS), allows arbitrary SQL execution via crafted requests. CISA has added it to their KEV catalogue, with over 15,000 exploitation attempts detected across various sectors, primarily in the United States. Drupal recommends upgrading to the latest supported release or applying backported fixes.
2026-05-30 NEW 2026700 education and tech websites hijacked in huge ClickFix malware campaign newsAnalysis of CVE‑2026‑26980, a critical SQL injection vulnerability affecting Ghost CMS versions 3.24.0 through 6.19.0, details how attackers exploited this flaw to hijack over 700 websites. The vulnerability allowed for the theft of administrative API keys, enabling attackers to inject JavaScript that presented fake Cloudflare or CAPTCHA verification dialogs, tricking visitors into running Windows commands to install malware through ClickFix attacks.
2026-05-29 NEW 2026Critical Roundcube Flaw Allows Attackers to Inject SQL Queries newsWriteup detailing critical vulnerabilities in Roundcube Webmail, including a pre-authentication SQL injection flaw in the `virtuser_query` plugin via `preg_replace` backslash escape bypass, allowing arbitrary database queries. The update also addresses code injection via the LDAP `autovalues` option and other issues like stored XSS, CSS injection, SSRF bypass, and session poisoning. These vulnerabilities are patched in versions 1.6.16 and 1.7.1. → cyberpress.org
2026-05-28 NEW 2026Roundcube Webmail Vulnerability Allows Hackers to Execute Malicious SQL Queries newsLibrary update addressing critical Roundcube Webmail vulnerabilities, including a pre-authentication SQL injection in the virtuser_query plugin via `preg_replace` backslash escape bypass, code injection via unsafe LDAP autovalues evaluation, stored XSS in draft restore, CSS injection bypass with SVG animate, SSRF and remote resource fetch bypasses, remote image blocking bypass, and pre-authentication arbitrary file deletion through Redis/Memcache session poisoning. Versions 1.6.16 and 1.7.1 contain the fixes. → gbhackers.com
2026-05-28 NEW 2026Critical Roundcube Webmail Vulnerability Let Attackers Inject SQL Queries newsWriteup of critical Roundcube Webmail SQL injection vulnerability impacting versions 1.6.x and 1.7.x. The flaw, present in the virtuser_query plugin due to improper input sanitization in `preg_replace`, allows pre-authentication SQL injection, potentially exposing sensitive data. Additional fixes address stored XSS, HTML/CSS injection via SVG, SSRF bypasses, remote image blocking issues, arbitrary file deletion via session poisoning, and code-evaluation vulnerabilities in LDAP autovalues. Patched versions 1.6.16 and 1.7.1 are available. → cybersecuritynews.com
2026-05-26 2026Ghost CMS Vulnerability Exploited to Hack Over 700 Websites newsWriteup 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-26 2026Drupal bug added to CISA list of known exploited vulnerabilities newsLibrary → scworld.com
2026-05-26 2026Ghost CMS Vulnerability Exploited to Hack Over 700 Websites newsLibrary for identifying and mitigating SQL injection vulnerabilities, specifically addressing the Ghost CMS flaw exploited in mass attacks. This vulnerability, when unpatched, allowed threat actors to steal Admin API keys, inject malicious JavaScript into articles, and execute large-scale ClickFix attacks. The exploit impacted over 700 websites, including those of Harvard, Oxford, and DuckDuckGo, with competing attacker groups actively overwriting each other's malicious code.
2026-05-26 2026CVE-2026-9082: Critical Drupal SQL Injection Vulnerability Affects PostgreSQL Deployments newsA critical SQL injection vulnerability, CVE-2026-9082, has been identified in Drupal, specifically impacting deployments using PostgreSQL. This flaw allows attackers to inject malicious SQL code into database queries, potentially leading to unauthorized data access, modification, or deletion. Users are strongly advised to update their Drupal installations to patch this vulnerability and secure their PostgreSQL databases. Further details and mitigation steps are available at the provided link. → securityboulevard.com
2026-05-26 2026CISA orders feds to patch actively exploited Drupal vulnerability newsVulnerability writeup detailing CVE-2026-9082, an actively exploited SQL injection flaw in Drupal's database abstraction API. Discovered by Michael Maturi and flagged as highly critical, this unauthenticated vulnerability allows attackers to target PostgreSQL-powered sites, potentially leading to information disclosure, privilege escalation, and remote code execution. CISA mandated U.S. federal agencies to patch by May 27th, citing its inclusion in the Known Exploited Vulnerabilities catalog and its frequent use as an attack vector. → bleepingcomputer.com
2026-05-26 2026Active Exploitation Alert: Ghost CMS CVE-2026-26980 Mass Attack Hijacks 700 Sites for ClickFix Malware Campaigns newsLibrary for detecting and mitigating CVE-2026-26980, a critical unauthenticated blind SQL injection vulnerability in Ghost CMS. This flaw allows attackers to steal Admin API Keys, inject malicious JavaScript for social engineering, and deploy stealer malware. The exploit chain involves automated reconnaissance, exploitation of the Content API, and redirection to fake Cloudflare CAPTCHA pages to trick users into downloading malware. Mitigation requires immediate patching to version 6.19.1+, rotating credentials, and scanning content for injected scripts. → rescana.com
2026-05-25 2026CISA Warns Drupal Core SQL Injection Vulnerability Is Being Exploited in Attacks newsWriteup of CVE-2026-9082, an actively exploited SQL injection vulnerability in Drupal Core. This CWE-89 flaw allows unauthenticated attackers to execute malicious SQL queries, potentially leading to privilege escalation, data exposure, and remote code execution. CISA has added it to its Known Exploited Vulnerabilities catalog, mandating remediation for federal agencies. Organizations should apply patches, harden database access, and update WAF rules to mitigate risks. → gbhackers.com
2026-05-25 2026Drupal warns of active exploitation attempts targeting critical SQL injection flaw newsAnalysis of CVE-2026-9082, a critical SQL injection vulnerability affecting Drupal sites using PostgreSQL, details active exploitation attempts observed by Imperva. This flaw in Drupal's database abstraction API allows unauthenticated attackers to execute arbitrary SQL, leading to potential information disclosure, privilege escalation, and remote code execution. CISA has added it to the KEV catalog, and agencies must secure systems by May 27. Patches are available for supported Drupal versions, and immediate updates are advised.
2026-05-25 2026Ghost CMS SQL Injection Hits 700 Sites: Harvard DuckDuckGo Serve Fake Cloudflare Malware newsLibrary for detecting and remediating CVE-2026-26980, a critical SQL injection vulnerability in Ghost CMS versions 3.24.0 through 6.19.0. This flaw allows unauthenticated attackers to steal Admin API Keys, enabling them to inject malicious JavaScript into published articles. The compromised sites are then used to serve fake Cloudflare verification pages, tricking visitors into executing PowerShell scripts that download stealer trojans and other malware. The exploitation targets the Content API's slug-filter-order.js serializer and has impacted hundreds of websites, including those of Harvard University and DuckDuckGo.
2026-05-25 2026Ghost CMS CVE-2026-26980 Exploited to Hijack 700 Sites for ClickFix Attacks newsWriteup 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-25 2026CISA Warns of Drupal Core SQL Injection Vulnerability Exploited in Attacks newsAlert regarding CVE-2026-9082, a critical SQL injection vulnerability in Drupal Core, actively exploited and listed on CISA's Known Exploited Vulnerabilities catalog. This CWE-89 flaw, impacting the database abstraction API, enables attackers to execute malicious SQL queries, leading to potential privilege escalation and remote code execution. CISA mandates remediation by May 27, 2026, for federal agencies under BOD 22-01, urging immediate patching, log monitoring, WAF implementation, and consideration of service shutdowns if patching isn't feasible. → cybersecuritynews.com
2026-05-25 2026Ghost CMS Users Under Attack: Why Developers Must Act Fast newsWriteup on CVE-2026-26980, an actively exploited SQL injection vulnerability in Ghost CMS, impacting over 700 domains. Attackers leverage this flaw, combined with ClickFix social engineering tactics, to steal admin API keys and inject JavaScript. Mitigation involves upgrading to Ghost 6.19.1, rotating keys, auditing admin access, monitoring server logs, and training teams against suspicious prompts.
2026-05-24 2026Ghost CMS SQL injection flaw exploited in large-scale ClickFix campaign newsWriteup of CVE-2026-26980, a critical SQL injection vulnerability in Ghost CMS, details its exploitation in large-scale ClickFix campaigns. Threat actors leverage the flaw to steal admin API keys, injecting malicious JavaScript into articles to deploy payloads like the UtilifySetup.exe malware. Vulnerable versions range from 3.24.0 to 6.19.0, with attacks impacting numerous domains, including prominent universities and tech companies. Mitigation involves upgrading to Ghost CMS 6.19.1 or later, rotating API keys, and reviewing logs for indicators of compromise. → bleepingcomputer.com
2026-05-24 2026U.S. CISA adds a flaw in Drupal Core to its Known Exploited Vulnerabilities catalog newsVulnerability report detailing CVE-2026-9082, a critical SQL injection flaw in Drupal Core affecting PostgreSQL databases. This unauthenticated vulnerability allows attackers to compromise sites, leading to information disclosure, privilege escalation, and remote code execution. CISA has added it to its Known Exploited Vulnerabilities (KEV) catalog, mandating federal agencies to address it by May 27, 2026, following widespread exploitation observed by firms like Imperva. → securityaffairs.com
2026-05-23 2026CVE-2026-9082: Drupal's Highly Critical SQL Injection Flaw Is Already Under Active Attack newsWriteup of CVE-2026-9082, a critical SQL injection vulnerability in Drupal affecting PostgreSQL installations. Exploitation attempts began immediately after the patch, with Imperva observing over 15,000 attacks in two days targeting sites globally. The vulnerability allows unauthenticated attackers to inject arbitrary SQL, leading to information disclosure, privilege escalation, or remote code execution. Administrators are urged to apply the security patch immediately. → securityaffairs.com
2026-05-23 2026Drupal Core SQL Injection Bug Actively Exploited Added to CISA KEV newsWriteup of CVE-2026-9082, an actively exploited SQL injection vulnerability in Drupal Core, now listed on CISA's KEV catalog. The flaw, with a CVSS score of 6.5, allows privilege escalation and remote code execution via crafted requests to the database abstraction API. Patches are available for supported Drupal versions, and Imperva has observed widespread attack attempts, primarily targeting gaming and financial services sites, suggesting reconnaissance and validation are the initial stages of exploitation. → thehackernews.com
2026-05-22 2026Drupal Vulnerability in Hacker Crosshairs Shortly After Disclosure newsWriteup of CVE-2026-9082, a critical SQL injection vulnerability in Drupal's API that allows unauthenticated attackers to extract information, escalate privileges, or achieve remote code execution. Exploitation attempts are actively detected in the wild, with thousands of targeting attempts observed against PostgreSQL-backed Drupal sites, impacting sectors like gaming and financial services. This vulnerability follows a history of heavily exploited Drupal flaws, such as Drupalgeddon and Drupalgeddon2. → securityweek.com
2026-05-22 2026Drupal Core SQL Injection Vulnerability (CVE-2026-9082) newsA critical SQL injection vulnerability has been discovered in Drupal Core, identified as CVE-2026-9082. This flaw allows attackers to execute arbitrary SQL queries, potentially leading to data breaches or system compromise. The vulnerability affects specific versions of Drupal Core. Users are strongly advised to update their Drupal installations to the latest secure version to mitigate this risk. Further details and mitigation steps can be found at the provided link. No specific bounty payout amount is mentioned in the content. → securityboulevard.com
2026-05-22 2026CVE-2026-9082: Critical Drupal Core SQLi Flaw newsAnalysis of CVE-2026-9082 reveals a critical SQL injection vulnerability in Drupal Core affecting PostgreSQL databases. Exploitable by anonymous attackers, this flaw in the database abstraction API allows specially crafted requests to bypass sanitization, leading to information disclosure, privilege escalation, or remote code execution. Remediation involves updating to fixed Drupal versions (e.g., 11.3.10, 10.6.9) or applying best-effort patches for unsupported branches, prioritizing internet-facing sites. The update also includes critical upstream fixes for Symfony and Twig. → socprime.com
2026-05-22 2026Drupal: Critical SQL injection flaw now targeted in attacks newsWriteup of CVE-2026-9082, a critical SQL injection vulnerability in Drupal's database abstraction API, discovered by Michael Maturi. This flaw allows unauthenticated attackers to execute arbitrary SQL commands, potentially leading to remote code execution, privilege escalation, and information disclosure, particularly when using PostgreSQL. Exploitation attempts are actively being detected in the wild. Administrators are urged to update to patched versions of Drupal immediately, as older unsupported versions pose significant risks. → bleepingcomputer.com
2026-05-22 2026Drupal Emergency Patch Issued As Critical SQL Injection Bug Hits Open Source Stack - Open Source For You newsLibrary of emergency patches addressing CVE-2026-9082, a critical SQL injection vulnerability in Drupal Core's database abstraction API. This flaw, exploitable remotely by unauthenticated attackers, can lead to data theft, RCE, and database compromise. The vulnerability also necessitated upstream security updates for Symfony and Twig, with Twig version 3.26.0 released. While primarily impacting Drupal sites using PostgreSQL, all administrators are urged to patch due to broader ecosystem implications. → opensourceforu.com
2026-05-22 2026Ghost CMS Mass Compromised via CVE-2026-26980 Now Fueling ClickFix Attacks newsGhost CMS instances are being massively compromised through a vulnerability identified as CVE-2026-26980. This exploit is now being leveraged to fuel "ClickFix" attacks. The content does not specify any bug bounty payout amounts.
2026-05-21 2026Drupal Patches Highly Critical Vulnerability Exposing Websites to Hacking newsLibrary update addresses CVE-2026-9082, a highly critical SQL injection vulnerability in Drupal's database query sanitization API, specifically affecting PostgreSQL databases. This flaw allows unauthenticated attackers to obtain information, escalate privileges, or achieve remote code execution. The patch also resolves important vulnerabilities in Symfony and Twig dependencies. Updates are available for Drupal versions 11.3, 11.2, 10.6, and 10.5.x. → securityweek.com
2026-05-21 2026CVE-2026-9082: Highly Critical SQL Injection Vulnerability in Drupal Core (SA-CORE-2026-004) newsA highly critical SQL injection vulnerability, identified as CVE-2026-9082, has been discovered in Drupal Core. This vulnerability, detailed in SA-CORE-2026-004, allows attackers to execute arbitrary SQL commands, potentially leading to data breaches or system compromise. Users are strongly advised to update their Drupal installations immediately to patch this severe security flaw. → securityboulevard.com
2026-05-21 2026Critical Drupal Core Vulnerability Exposes Websites to Attacks newsAdvisory SA-CORE-2026-004 details CVE-2026-9082, a critical SQL injection vulnerability in Drupal core's database abstraction API affecting PostgreSQL users. This unauthenticated flaw, rated 20/25 on Drupal's scale, allows attackers to bypass sanitization and execute malicious SQL, potentially leading to data disclosure, privilege escalation, or RCE. Supported versions 11.3.x, 11.2.x, 10.6.x, and 10.5.x require immediate updates. Legacy branches and Drupal 8/9 versions have specific patching instructions or manual file applications. → cyberpress.org
2026-05-21 2026Drupal admins rushing to patch maximum severity SQL injection vulnerability newsLibrary updates address CVE-2026-9082, a critical SQL injection vulnerability in Drupal's core database abstraction API, particularly affecting PostgreSQL users. This flaw allows anonymous users to perform information disclosure, privilege escalation, or remote code execution. The patch also includes crucial upstream security fixes for Symfony and Twig dependencies, necessitating updates for all Drupal environments. Administrators are strongly advised to patch immediately and consider auditing access permissions for Twig template updates. → csoonline.com
2026-05-19 2026Critical PostgreSQL Vulnerabilities Enables Code Execution and SQL Injections newsReference detailing 11 critical PostgreSQL vulnerabilities, including CVE‑2026‑6637 enabling arbitrary code execution via the refint module, and SQL injection flaws in logical replication (CVE‑2026‑6476, CVE‑2026‑6638). Also addresses memory corruption (CVE‑2026‑6473), client-side risks with libpq (CVE‑2026‑6477), and file overwrite issues in backup utilities (CVE‑2026‑6475), affecting PostgreSQL 14 through 18. → cybersecuritynews.com
2026-05-19 2026Critical PostgreSQL Flaws Enable Code Execution and SQL Injection newsLibrary updates for PostgreSQL address 11 CVEs, including stack buffer overflows (CVE-2026-6637), SQL injection, memory disclosure, and denial-of-service vulnerabilities across supported versions 14 through 18. Exploitable flaws allow arbitrary code execution as the OS user running the database server, SQL injection via cascade primary keys, and out-of-bounds writes. Additional issues include data overwrites in client tools like `psql` and `pg_dump` via libpq large-object functions (CVE-2026-6477), and path traversal with symlink following in `pg_basebackup` and `pg_rewind` (CVE-2026-6475). Legacy MD5 authentication is also vulnerable to timing attacks (CVE-2026-6478). → cyberpress.org
2026-05-19 2026PostgreSQL Flaws Expose Databases to Remote Code Execution and SQL Injection newsAnalysis of critical PostgreSQL security updates addressing 11 vulnerabilities, including remote code execution (RCE) via stack buffer overflows in the refint module (CVE-2026-6637) and SQL injection flaws in replication features (CVE-2026-6472, CVE-2026-6476, CVE-2026-6638). Versions 14 through 18 are affected, with patched releases including 18.4, 17.10, 16.14, 15.18, and 14.23. Other identified issues encompass memory corruption, privilege escalation, symlink attacks (CVE-2026-6475), and timing attacks on authentication (CVE-2026-6478). → gbhackers.com
2026-05-18 20261 Million WordPress Sites Affected by Avada Builder File Read and SQL Injection Flaws newsWriteup detailing CVE-2026-4782 and CVE-2026-4798, impacting over one million WordPress sites via the Avada Builder plugin. The arbitrary file read vulnerability allows low-privileged users to access sensitive server files, including wp-config.php, while the SQL injection flaw enables unauthenticated attackers to extract user credentials and password hashes. Patches are available in Avada Builder versions 3.15.2 and 3.15.3. → cybersecuritynews.com
2026-05-18 20261 Million WordPress Websites Exposed by Avada Builder Security Vulnerabilities newsLibrary update addressing CVE-2026-4782 and CVE-2026-4798 in Avada Builder, a WordPress plugin used by over a million sites. The arbitrary file read vulnerability (CVSS 6.5) allows authenticated users to extract sensitive files like wp-config.php. The SQL injection vulnerability (CVSS 7.5) enables unauthenticated attackers to perform time-based blind SQL injection attacks. Updates to version 3.15.3 are recommended to mitigate these risks. → gbhackers.com
2026-05-18 2026SQL Injection File Read Vulnerability Affect 1M Avada WordPress Sites newsWriteup of CVE-2026-4798 and CVE-2026-4782, two critical vulnerabilities in the Avada Builder WordPress plugin. CVE-2026-4798 is a SQL injection flaw allowing unauthenticated attackers to extract database records via time-based blind attacks when WooCommerce is deactivated. CVE-2026-4782 is a file read vulnerability enabling authenticated users with Subscriber-level access to read arbitrary server files, including wp-config.php, by exploiting the fusion_get_svg_from_file() function. Both vulnerabilities affect millions of sites and require immediate updates to Avada Builder version 3.15.3. → cyberpress.org
2026-05-15 2026Two vulnerabilities found in popular WordPress plugin Avada Builder newsWriteup detailing two vulnerabilities in the Avada Builder WordPress plugin, affecting over a million installations. CVE-2026-4782, an arbitrary file read, requires subscriber-level access, while CVE-2026-4798, a high-severity SQL injection, is exploitable without authentication, potentially leading to password hash exfiltration. Patches were released in April/May 2026, with users urged to update to version 3.15.3+. → scworld.com
2026-05-14 2026Avada Builder Flaws Expose One Million WordPress Sites newsAnalysis 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 newsWriteup 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-12 2026SAP Patches Critical SQL injection Vulnerability in SAP S/4HANA newsWriteup on SAP S/4HANA vulnerabilities, detailing CVE-2026-34260, a critical SQL injection flaw with a CVSS of 9.6. This vulnerability, patched via SAP Security Note 3724838, allows attackers to manipulate sensitive corporate financial data. The entry also covers CVE-2026-34263 in SAP Commerce Cloud, CVE-2026-34259 in SAP Forecasting and Replenishment, and CVE-2026-40135 in SAP NetWeaver, highlighting the urgency of applying SAP's May 2026 security patches. → cybersecuritynews.com
2026-05-12 2026SAP Releases Patch for Critical SQL Injection Flaw in S/4HANA newsReference of SAP's May 2026 security patches addresses critical SQL injection (CVE-2026-34260) in S/4HANA ABAP enterprise search, a missing authentication check vulnerability (CVE-2026-34263) in Commerce Cloud, and an OS command injection flaw (CVE-2026-34259) in forecasting and replenishment software. These patches also mitigate medium-severity issues including XSS and DoS across Business Objects and NetWeaver. → gbhackers.com
2026-05-12 2026SAP Patches Critical SQL Injection Flaw in SAP S/4HANA newsPatching SAP S/4HANA is critical due to CVE-2026-34260, a SQL injection vulnerability allowing attackers to steal, modify, or delete sensitive business records. Another critical flaw, CVE-2026-34263, in SAP Commerce Cloud permits unauthorized access and remote compromise. The May 2026 update also addresses OS command injection (CVE-2026-34259) and other vulnerabilities across SAP Business Objects, NetWeaver, and SAPUI5, emphasizing the need for prompt mitigation to protect enterprise landscapes. → cyberpress.org
2026-05-11 2026U.S. CISA adds a flaw in BerriAI LiteLLM to its Known Exploited Vulnerabilities catalog newsCVE-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-05-01 2026CVE-2026-42208: Pre-Authentication SQL Injection in LiteLLM Exposes API Credentials news API SecA critical SQL injection vulnerability, CVE-2026-42208, has been discovered in LiteLLM. This pre-authentication flaw allows attackers to execute arbitrary SQL queries without needing to log in. The exploitation of this vulnerability can lead to the exposure of sensitive API credentials, posing a significant security risk. This allows unauthorized access and potential compromise of services integrated with LiteLLM. → securityboulevard.com
2026-04-30 2026CVE-2026-42208: Critical Pre-Auth SQL Injection in LiteLLM Actively Exploited Within 36 Hours of Disclosure newsWriteup 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 2026ProFTPDs SQL Injection Vulnerability Enables Remote Code Execution Attacks intermediate RCEWriteup of CVE-2026-42167, a critical SQL injection vulnerability in ProFTPD's mod_sql extension. This flaw, with a CVSS score of 8.1, can lead to authentication bypass, data theft via blind SQL injection, or remote code execution by leveraging PostgreSQL's COPY TO PROGRAM feature. Exploitation occurs when crafted usernames bypass sanitization in the is_escaped_text() function, allowing attackers to execute unauthorized SQL commands. Immediate patching to ProFTPD 1.3.9a or disabling SQL logging via mod_sql is recommended. → cybersecuritynews.com
2026-04-30 2026ProFTPD SQL Injection Flaw Opens Door To Remote Code Execution Attacks intermediate RCEWriteup of CVE-2026-42167, a critical SQL injection flaw in ProFTPD's mod_sql extension. This vulnerability, with a CVSS score of 8.1, allows remote attackers to bypass authentication, escalate privileges, and potentially achieve remote code execution by injecting malicious SQL commands into usernames or other input fields. The impact ranges from data theft and credential compromise to full system control when ProFTPD is configured with PostgreSQL and elevated privileges. Versions prior to ProFTPD 1.3.9a are affected. → gbhackers.com
2026-04-30 2026CVE-2026-42208: LiteLLM SQL Injection Leaks Upstream API Keys news 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.

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.