/

CVE-2026-88395

Severity:

CRITICAL RISK

(9.8)

SQL Injection (CWE-89) in GouGuOA /home/message/rubbish

CVE-2026-88395

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-89

Impact:

Database confidentiality, integrity, and availability compromise

Severity:

CRITICAL RISK

(9.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

GouGuOA v6.0.5 and earlier contain a SQL injection vulnerability in the /home/message/rubbish endpoint through the keywords parameter. If attacker- controlled input reaches the database query without appropriate parameterization, an attacker may read, modify, or otherwise interfere with database-backed data.

GouGuOA v6.0.5 and earlier contain a SQL injection vulnerability in the /home/message/rubbish endpoint through the keywords parameter. If attacker- controlled input reaches the database query without appropriate parameterization, an attacker may read, modify, or otherwise interfere with database-backed data.

Affected context

The vulnerability occurs in GouGuOA deployments exposing the /home/message/rubbish endpoint when the keywords parameter is incorporated into a database query without adequate separation between data and SQL syntax. Risk depends on endpoint exposure, authentication controls, database privileges, and the permissions available to the application account.

The vulnerability occurs in GouGuOA deployments exposing the /home/message/rubbish endpoint when the keywords parameter is incorporated into a database query without adequate separation between data and SQL syntax. Risk depends on endpoint exposure, authentication controls, database privileges, and the permissions available to the application account.

Exploit preconditions

  • Attack surface: The /home/message/rubbish HTTP endpoint
  • Required access: Ability to reach the endpoint; authentication requirements depend on deployment configuration
  • Trigger point: Processing of attacker-influenced input in the keywords parameter
  • Why exploitation is possible: Input may be incorporated into a SQL statement without reliable parameter binding or equivalent query controls
  • Attack surface: The /home/message/rubbish HTTP endpoint
  • Required access: Ability to reach the endpoint; authentication requirements depend on deployment configuration
  • Trigger point: Processing of attacker-influenced input in the keywords parameter
  • Why exploitation is possible: Input may be incorporated into a SQL statement without reliable parameter binding or equivalent query controls

Why this happens

The underlying bug is improper neutralization of special elements in SQL commands, mapping to CWE-89: SQL Injection. The insecure pattern occurs when application input is treated as part of a dynamically constructed SQL statement rather than as data passed through parameterized queries, a safe query builder, or an equivalently constrained data-access layer.

The underlying bug is improper neutralization of special elements in SQL commands, mapping to CWE-89: SQL Injection. The insecure pattern occurs when application input is treated as part of a dynamically constructed SQL statement rather than as data passed through parameterized queries, a safe query builder, or an equivalently constrained data-access layer.

Potential impact

  • An attacker may retrieve sensitive records accessible to the application
  • An attacker could alter or delete database information
  • The vulnerability may enable authentication or authorization bypass depending on query context
  • Database resources could be degraded or made unavailable
  • Exposed data may support further compromise of the application or connected systems
  • An attacker may retrieve sensitive records accessible to the application
  • An attacker could alter or delete database information
  • The vulnerability may enable authentication or authorization bypass depending on query context
  • Database resources could be degraded or made unavailable
  • Exposed data may support further compromise of the application or connected systems

General mitigation guidance

Mitigation generally focuses on keeping user-controlled values separate from SQL

syntax and reducing the trust placed in request parameters.

Common defensive patterns include:

  • Use parameterized queries, prepared statements, or safely constrained query builders
  • Apply allowlisted validation for search, sorting, and filtering inputs where applicable
  • Avoid string concatenation or interpolation when constructing SQL statements
  • Run the application with the minimum database permissions required
  • Limit database account access to only necessary schemas, tables, and operations
  • Use layered authorization and error handling that does not expose query details
  • Add regression tests covering malformed and boundary-case input handling

Mitigation generally focuses on keeping user-controlled values separate from SQL

syntax and reducing the trust placed in request parameters.

Common defensive patterns include:

  • Use parameterized queries, prepared statements, or safely constrained query builders
  • Apply allowlisted validation for search, sorting, and filtering inputs where applicable
  • Avoid string concatenation or interpolation when constructing SQL statements
  • Run the application with the minimum database permissions required
  • Limit database account access to only necessary schemas, tables, and operations
  • Use layered authorization and error handling that does not expose query details
  • Add regression tests covering malformed and boundary-case input handling

How teams detect issues like this

Detection approaches may include:

  • Static analysis rules for SQL string concatenation, interpolation, and unsafe query APIs
  • Code review checks tracing request parameters into database execution functions
  • Dynamic testing with benign malformed inputs and database error monitoring
  • Web application firewall or API policy rules for anomalous parameter patterns
  • Database audit logging for unexpected query structures, access patterns, or privilege use
  • Automated security review tools that identify unsafely constructed database queries

Detection approaches may include:

  • Static analysis rules for SQL string concatenation, interpolation, and unsafe query APIs
  • Code review checks tracing request parameters into database execution functions
  • Dynamic testing with benign malformed inputs and database error monitoring
  • Web application firewall or API policy rules for anomalous parameter patterns
  • Database audit logging for unexpected query structures, access patterns, or privilege use
  • Automated security review tools that identify unsafely constructed database queries

Sources

SourceLink
github.comgithub.com/fangtang7/CVE/blob/main/GouGuOA/sql.md

Frequently asked

questions

It may be remotely exploitable when the affected endpoint is network-accessible and

an attacker can submit or influence the keywords parameter.

Authentication requirements depend on the application's access controls. Any

account or integration permitted to reach the vulnerable endpoint may provide

sufficient access if input is not safely handled.

Use parameterized queries or prepared statements, validate inputs according to

their intended format, and avoid dynamically assembling SQL from request data.

Combine secure data-access APIs with least-privilege database accounts, focused

code review, static analysis, and testing that verifies request values remain

data rather than executable SQL.

It may be remotely exploitable when the affected endpoint is network-accessible and

an attacker can submit or influence the keywords parameter.

Authentication requirements depend on the application's access controls. Any

account or integration permitted to reach the vulnerable endpoint may provide

sufficient access if input is not safely handled.

Use parameterized queries or prepared statements, validate inputs according to

their intended format, and avoid dynamically assembling SQL from request data.

Combine secure data-access APIs with least-privilege database accounts, focused

code review, static analysis, and testing that verifies request values remain

data rather than executable SQL.

Find out what's already
exploitable in your codebase.