CVE-2026-72565

Tencent APIJSON - Unauthenticated SQL Injection via @having Operator Map-Form Bypass

Published Aug 10, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
A SQL injection vulnerability in Tencent APIJSON through 8.1.8 allows unauthenticated remote attackers to bypass per-table access control and read arbitrary database tables via the Map-form @having operator.

Analysis

AI-generated

Technical impact

Tencent APIJSON 8.1.8 contains a SQL injection flaw that permits unauthenticated attackers to bypass per‑table access control and read any database table. The vulnerability exploits the Map form @having operator, which bypasses the per‑role allow-list that normally protects against injection. As a result, an attacker can retrieve arbitrary data from tables configured with get:[] and expose sensitive information. This flaw leads to a severe confidentiality breach.

Affected Systems

The affected vendor is Tencent, product APIJSON, specifically the APIJSONORM library present in version 8.1.8. The flaw resides in the AbstractSQLConfig class, where the per-role allow-list check is omitted for the Map form @having payloads.

Risk and Exploitability

The CVSS score of 9.8 indicates a critical severity. While the EPSS score is not available, the vulnerability allows unauthenticated remote attackers to read any table configured with get:[] (empty), a privilege usually denied. The attack vector is inferred to be a crafted HTTP request targeting an API endpoint that processes Map-form @having parameters. The lack of a KEV listing does not diminish the potential impact, as similar unauthenticated SQL injections are frequently exploited. Given the critical score and the possibility of widespread read‑bypass, this vulnerability should be treated as highly exploitable.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Tencent APIJSON to the latest available release where the Map-form @having check is fortified.
  • If an upgrade is not feasible, harden per‑table access control by ensuring that guest or unauthenticated roles cannot reference tables with get:[] and enforce role checks for all @having forms.
  • Deploy a Web Application Firewall that filters or blocks suspicious SQL injection patterns in Map-form @having parameters and monitor logs for anomalous requests.

Generated by OpenCVE AI on August 10, 2026 at 20:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Tencent
Tencent apijson
Vendors & Products Tencent
Tencent apijson
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A SQL injection vulnerability in Tencent APIJSON through 8.1.8 allows unauthenticated remote attackers to bypass per-table access control and read arbitrary database tables via the Map-form @having operator. The APIJSONORM library's AbstractSQLConfig.java applies the per-role allow-list check only on the String form of @having but not on the Map form, allowing a guest user to inject raw SQL fragments and read tables that are configured with get:[] (empty, meaning no role can read them). A SQL injection vulnerability in Tencent APIJSON through 8.1.8 allows unauthenticated remote attackers to bypass per-table access control and read arbitrary database tables via the Map-form @having operator.
Type Values Removed Values Added
Description A SQL injection vulnerability in Tencent APIJSON through 8.1.8 allows unauthenticated remote attackers to bypass per-table access control and read arbitrary database tables via the Map-form @having operator. The APIJSONORM library's AbstractSQLConfig.java applies the per-role allow-list check only on the String form of @having but not on the Map form, allowing a guest user to inject raw SQL fragments and read tables that are configured with get:[] (empty, meaning no role can read them).
Title Tencent APIJSON - Unauthenticated SQL Injection via @having Operator Map-Form Bypass
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
TuranSec
Published
Updated
Aug 10, 2026, 1:04 PM
Reserved
Aug 10, 2026, 10:32 AM
Status
Deferred
Published
Aug 10, 2026, 11:17 AM
Modified
Oct 24, 2026, 3:10 PM