VYPR
Unrated severityNVD Advisory· Published Apr 18, 2023· Updated Feb 6, 2025

SQL injection in sql/instance.py endpoint in Archery - GHSL-2022-101

CVE-2023-30552

Description

Archery SQL audit platform before v1.9.1 has multiple SQL injection flaws in the sql/instance.py describe endpoint, allowing attackers to query connected databases.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Archery SQL audit platform before v1.9.1 has multiple SQL injection flaws in the `sql/instance.py` `describe` endpoint, allowing attackers to query connected databases.

Vulnerability

The Archery project (an open source SQL audit platform) contains multiple SQL injection vulnerabilities in the sql/instance.py endpoint's describe method. User input from the tb_name, db_name, or schema_name parameters is unsafely concatenated into SQL queries in describe_table methods across several database engine implementations: sql/engines/clickhouse.py, sql/engines/mssql.py, sql/engines/mysql.py, sql/engines/oracle.py, sql/engines/pgsql.py, and sql/engines/phoenix.py. Affected versions include v1.9.0 and earlier [1].

Exploitation

An attacker needs knowledge of the exploited database instance name defined in Archery, plus network access to the Archery web interface. By supplying crafted values in the tb_name, db_name, or schema_name parameters of the describe endpoint, the attacker can inject SQL commands that are concatenated into queries executed by the query method of each affected database engine [1]. No authentication is explicitly stated as required for this endpoint, meaning unauthenticated attackers may exploit it if the endpoint is exposed.

Impact

Successful exploitation allows the attacker to query any of the connected databases that Archery can access. The injection leads to information disclosure of arbitrary data stored in those databases. The scope of compromise depends on the database privileges configured in Archery, but can include all databases registered to the platform [1].

Mitigation

The issue is addressed in Archery v1.9.1, released to fix this vulnerability. Users should upgrade to at least v1.9.1. If upgrading is not immediately possible, the recommended workaround is to escape user input (such as by using parameterized queries) in the affected describe_table methods, or to apply input validation on the tb_name, db_name, and schema_name parameters. The vulnerability is also indexed as GHSL-2022-101 [1].

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • hhyo/Archeryllm-fuzzy2 versions
    (expand)+ 1 more
    • (no CPE)
    • (no CPE)range: <= 1.9.0

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.