CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-23492

CVE-2026-23492: When 'Try-Catch' Becomes a Security Feature

Alon Barad
Alon Barad
Software Engineer

Feb 19, 2026·6 min read·53 visits

Executive Summary (TL;DR)

Pimcore's patch for a previous SQLi failed spectacularly. By hiding database errors and stripping `--` comments, they merely forced attackers to use Blind SQL injection techniques. Authenticated admins can still dump the database.

A high-severity Blind SQL Injection vulnerability in the Pimcore Admin interface resulting from a botched patch for a previous issue (CVE-2023-30848). Developers attempted to fix the original SQL injection by blacklisting comment characters and suppressing database errors with a try-catch block. This inadvertently converted an Error-Based SQLi into a Blind SQLi, allowing authenticated attackers to exfiltrate the entire database structure and contents using time-based or boolean-based payloads.

The Hook: The Zombie Vulnerability

There is a special place in security hell for incomplete patches. You know the type: a developer sees a vulnerability report, panics, and applies a band-aid that covers the symptom but ignores the disease. CVE-2026-23492 is the poster child for this phenomenon.

Back in 2023, Pimcore—a massive enterprise data management platform—was hit with CVE-2023-30848, a nasty SQL injection in the Admin Search API. The developers rushed a fix. They patted themselves on the back, marked the ticket as 'Resolved,' and moved on. But they didn't actually fix the SQL injection; they just made it quieter.

Fast forward to 2026, and here we are. The vulnerability is back, wearing a fake mustache, and it's angrier than before. This isn't just a story about bad code; it's a masterclass in why 'sanitization' via str_replace and error suppression is the security equivalent of turning up the radio to drown out the sound of your car engine exploding.

The Flaw: Tape Over the Check Engine Light

To understand CVE-2026-23492, we have to look at the 'fix' for its predecessor. The original issue was in the findAction method of the SearchController. The application takes a fields parameter from the user and concatenates it directly into a SQL query string. Classically bad.

The developers' response to the original disclosure was two-fold:

  1. The Filter: They added str_replace('--', '', $fields). Their logic was simple: 'If hackers can't use the SQL comment sequence (--), they can't truncate the query, so they can't inject.'

  2. The Mute Button: They wrapped the query execution in a try-catch block for SyntaxErrorException. If the query failed (because a hacker broke the syntax), the app would simply throw a generic 'Check your arguments' error instead of leaking database details.

This is hilariously insufficient. SQL doesn't need comments to be valid; attackers can simply balance the parentheses. And while the try-catch block successfully stopped Error-Based SQL Injection (where we read data from error messages), it did absolutely nothing to stop the query from executing. It just turned the vulnerability into a Blind SQL Injection.

The Code: Diffing the Disaster

Let's look at the vulnerable code that shipped with the 'fix' for CVE-2023-30848. This snippet resides in bundles/AdminBundle/Controller/Searchadmin/SearchController.php.

// The "Secure" Version (CVE-2026-23492)
if (!empty($allParams['fields'])) {
    $fields = $allParams['fields'];
    // The band-aid: attempting to stop comments
    $fields = str_replace('--', '', $fields);
 
    foreach ($fields as $f) {
        // Splitting by tilde, but $f is still user-controlled
        $parts = explode('~', $f);
        // ... logic that concatenates $parts into the query ...
    }
}
 
// ... later ...
 
try {
    // The execution
    $hits = $searcherList->load();
} catch (SyntaxErrorException $syntaxErrorException) {
    // The silencer
    throw new \InvalidArgumentException('Check your arguments.');
}

The vulnerability is the concatenation inside the loop (omitted for brevity, but it's there). The str_replace is trivial to bypass because we don't need comments if we construct a syntactically valid query. The catch block prevents us from seeing what broke, but if we inject SLEEP(10), the server still sleeps for 10 seconds. The code executes; it just doesn't complain loudly.

The real fix, applied in commit faf1168fb38bdba57e5c5cb7143997fca9b7680b, finally addresses the root cause by removing the ad-hoc concatenation entirely and validating field names against a strict schema.

The Exploit: Going Blind

Since we can't see the output (no error messages, no reflected data in the grid due to the query structure), we have to ask the database Yes/No questions or tell it to go to sleep. We'll use a Time-Based Blind approach.

The Setup: We are an authenticated admin (or an attacker who hijacked an admin session). We target the /admin/search/find endpoint.

The Payload: The application splits our input by ~. We need to inject into the field name. Since we can't use -- to ignore the rest of the query, we simply ensure our injection maintains valid SQL syntax for the surrounding query structure.

POST /admin/search/find HTTP/1.1
Host: target-pimcore.com
Cookie: PIMCORE_ADMIN_SID=...
Content-Type: application/x-www-form-urlencoded
 
fields[]=id~AND (SELECT 1 FROM (SELECT(SLEEP(5)))a)

The Execution:

  1. The code receives id~AND (SELECT 1 FROM (SELECT(SLEEP(5)))a).
  2. str_replace looks for --. Finds none. Passes.
  3. The query builder constructs something like: SELECT * FROM objects WHERE field = id AND (SELECT 1 FROM (SELECT(SLEEP(5)))a) ...
  4. The database executes the SLEEP(5).
  5. The web server hangs for 5 seconds before responding.

Boom. We have confirmation. From here, we script sqlmap or write a custom Python script to bit-shift extract the admin password hash character by character: AND (SELECT IF(ORD(MID((SELECT password FROM users LIMIT 1),1,1))=97,SLEEP(2),0)).

The Impact: Total Recall

Why does this matter? "It requires admin authentication!" I hear the apologists cry. Yes, it does. But in modern enterprise environments, "Admin" is often a tiered role. A low-level content editor might have access to the Search function but not the User Management settings.

With this vulnerability, that low-privileged editor can dump the entire database. They can extract:

  • User Credentials: Hashes of Super Admins.
  • Customer PII: Addresses, emails, orders.
  • Session IDs: Hijacking other active sessions.

Furthermore, because this is SQL injection, if the database user has FILE privileges (common in poor configurations), an attacker could read files off the disk (LOAD_FILE) or potentially write a web shell (INTO OUTFILE), turning a data leak into full Remote Code Execution (RCE).

The Fix: Actually Fixing It

Stop using str_replace for security. Just stop it. The mitigation is straightforward: Upgrade.

  • If you are on v11: Upgrade to 11.5.14.
  • If you are on v12: Upgrade to 12.3.1.

The patched versions replace the dynamic string building with proper query construction that essentially whitelists allowed fields or maps them strictly, ensuring that user input is never treated as executable SQL code.

If you cannot patch immediately (why?), you can attempt to block requests containing ~ AND SQL keywords (like SELECT, UNION, SLEEP) at your WAF level, but WAFs are notoriously bypassable. Patching is the only real cure.

Official Patches

PimcoreOfficial Patch v12
PimcoreGitHub Security Advisory

Fix Analysis (2)

Technical Appendix

CVSS Score
8.8/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Probability
0.00%
Top 100% most exploited

Affected Systems

Pimcore < 11.5.14Pimcore >= 12.0.0-RC1, < 12.3.1

Affected Versions Detail

Product
Affected Versions
Fixed Version
Pimcore
Pimcore
< 11.5.1411.5.14
Pimcore
Pimcore
>= 12.0.0-RC1, < 12.3.112.3.1
AttributeDetail
CWECWE-89 (SQL Injection)
CVSS v3.18.8 (High)
Attack VectorNetwork (Authenticated)
ImpactConfidentiality, Integrity, Availability
EPSS Score0.00004 (Low Probability)
Fix TypeVendor Patch (Code Refactoring)

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
T1059Command and Scripting Interpreter
Execution
CWE-89
SQL Injection

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Known Exploits & Detection

TheoreticalTime-based blind SQL injection via the 'fields' parameter using logic to bypass blacklist.

Vulnerability Timeline

Incomplete fix for CVE-2023-30848 released (Origin)
2023-04-25
Vendor publishes GHSA-qvr7-7g55-69xj and patches
2026-01-13
CVE-2026-23492 assigned and published
2026-01-14

References & Sources

  • [1]NVD Entry
  • [2]Advisory GHSA-qvr7-7g55-69xj
Related Vulnerabilities
CVE-2023-30848

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•5 minutes ago•CVE-2026-12411
8.4

CVE-2026-12411: Cross-Guest Volume Hijack via DevLXD Device PATCH in Canonical LXD

CVE-2026-12411 is a broken access control vulnerability in the DevLXD interface of Canonical LXD versions 6.6 through 6.8. The flaw resides in the devLXDInstancePatchHandler component, which fails to verify storage volume ownership when an instance attaches a new disk device via the /dev/lxd guest socket. When the security.devlxd.management.volumes configuration option is enabled, an untrusted guest or DevLXD identity can issue a crafted HTTP PATCH request referencing another tenant's custom storage volume. The LXD host daemon subsequently mounts the target volume into the requesting guest, permitting unauthorized cross-tenant read and write operations.

Amit Schendel
Amit Schendel
0 views•10 min read
•about 1 hour ago•CVE-2026-105769
9.3

CVE-2026-105769: Azure Entra ID Token Exfiltration in Kaniko via Unanchored ACR Hostname Regex

CVE-2026-105769 (GHSA-5q7h-w9jf-cx97, GO-2026-6225) is an origin validation error and credential exfiltration vulnerability affecting Kaniko prior to version 1.25.20. The flaw stems from an unanchored regular expression in the integrated Azure Container Registry (ACR) credential helper (github.com/chrismellard/docker-credential-acr-env). When Kaniko processes a Dockerfile containing an image reference hosted on a lookalike domain containing an ACR suffix as a substring (e.g., x.azurecr.io.attacker.com), the credential helper acquires a Microsoft Entra ID access token for Azure Resource Manager and transmits it via HTTP POST to the attacker-controlled host.

Amit Schendel
Amit Schendel
3 views•11 min read
•about 2 hours ago•CVE-2026-62300
6.5

CVE-2026-62300: Uncontrolled Resource Consumption in filecoin-pin Daemon

CVE-2026-62300 is an uncontrolled resource consumption vulnerability (CWE-400) affecting the daemon mode of filecoin-pin in versions up to and including 1.1.0. The daemon implements the IPFS Pinning Service API to store content on Filecoin's Proof of Data Possession (PDP) service. Due to the absence of rate limits, concurrency caps, execution timeouts, and Directed Acyclic Graph (DAG) traversal limits, an authenticated user—or an unauthenticated user when authentication is disabled—can exhaust system resources via crafted POST /pins requests.

Amit Schendel
Amit Schendel
3 views•11 min read
•about 3 hours ago•CVE-2026-61536
7.5

CVE-2026-61536: Remote Code Execution via Unsafe Reflection in masci/banks CompletionExtension

CVE-2026-61536 is a high-severity Remote Code Execution (RCE) vulnerability in the masci/banks Python library prior to version 2.4.3. The flaw exists within the CompletionExtension component, which parses JSON-serialized Tool definitions directly from rendered Jinja template bodies inside {% completion %} blocks. When handling tool calls returned by an LLM, the library dynamically resolves the target callable using importlib.import_module() and getattr() based on an unvalidated import_path string. An attacker who can supply or modify prompt templates can inject a malicious Tool JSON object pointing to arbitrary Python functions (such as os.system), bypassing the Jinja SandboxedEnvironment introduced in version 2.4.2 and achieving arbitrary code execution when the LLM invokes the tool.

Alon Barad
Alon Barad
5 views•10 min read
•1 day ago•CVE-2026-93363
4.3

CVE-2026-93363: Improper Access Control in Payload CMS Storage Upload Route

Payload CMS contains a missing authorization vulnerability (CWE-862) in its client-side upload instructions endpoint and the `@payloadcms/storage-vercel-blob` storage adapter. Two distinct logic defects allow authenticated users lacking collection-level `create` or `update` permissions to generate signed upload tokens and upload arbitrary files directly to external cloud storage.

Alon Barad
Alon Barad
7 views•9 min read
•1 day ago•CVE-2026-55098
6.5

CVE-2026-55098: Cross-Database Authorization Bypass via DuckDB Table-Valued I/O Functions in Basekick-Labs Arc

CVE-2026-55098 (GHSA-93cm-2v4m-c56c) is an authorization bypass and sensitive information disclosure vulnerability in Basekick-Labs Arc prior to version 26.06.2. The flaw stems from an incomplete remediation of CVE-2026-47735, which failed to restrict the full suite of DuckDB table-valued filesystem I/O functions and quoted-identifier invocations. Because Arc's query parser ignores function calls during table reference extraction, authenticated users with minimal or empty permissions can invoke functions like parquet_scan(), glob(), and read_blob() to read, enumerate, and extract telemetry data across all tenant databases residing within the shared local storage root.

Alon Barad
Alon Barad
7 views•10 min read