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.
Published: 2026-08-10
Score: 9.8 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Tencent APIJSON version 8.1.8 contains a vulnerability that lets an unauthenticated user inject raw SQL fragments through the Map-form @having operator. The per-table access control is enforced only on the String form of @having, so the Map form bypasses the allow‑list, enabling arbitrary reading of database tables. This is a classic SQL injection that can expose sensitive data, leading to a high 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.

Generated by OpenCVE AI on August 10, 2026 at 12:28 UTC.

Remediation

No vendor fix or workaround currently provided.

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 12:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 10 Aug 2026 12:00:00 +0000

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.

Mon, 10 Aug 2026 11:00:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-10T13:04:01.290Z

Reserved: 2026-08-10T10:32:53.853Z

Link: CVE-2026-72565

cve-icon Vulnrichment

Updated: 2026-08-10T13:03:57.817Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T12:30:07Z

Weaknesses
  • CWE-89

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