CVE-2026-49344
JSON

7.1high

Mercator has a Personal Identifiable Information Leak from Query Executor feature

Severity
7.1high CVSS:4.0 by GitHub_M
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

Mercator is an open source web application that enables mapping of the information system. Prior to version 2025.05.19, Mercator's Query Engine (`/admin/queries/execute`) accepts a JSON DSL (`from` / `select` / `filters` / `traverse` / `output`), translates it into an Eloquent query, and returns results as JSON. The controller method `QueryController::execute()` does not enforce an authorization gate, unlike `store()` and `massDestroy()` in the same controller which are correctly protected. As a result, any authenticated account — including the read-only Auditor role — can query models beyond its intended scope, including the `User` model. Additionally, the `password` column, although declared `$hidden`, is not excluded from filter predicates, which allows it to be used in `LIKE` conditions. The `schema()` and `schemaModel()` endpoints of the same controller are similarly unguarded. The Query Engine is read-only; integrity and availability are not affected. Version 2025.05.19 patches the issue.

Affected

Product or packageVersionsReported by
sourcentis mercator< 2025.05.19CVE List

Classification

CWE-359

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Mercator is an open source web application that enables mapping of the information system. Prior to version 2025.05.19, Mercator's Query Engine (`/admin/queries/execute`) accepts a JSON DSL (`from` / `select` / `filters` / `traverse` / `output`), translates it into an Eloquent query, and returns results as JSON. The controller method `QueryController::execute()` does not enforce an authorization gate, unlike `store()` and `massDestroy()` in the same controller which are correctly protected. As a result, any authenticated account — including the read-only Auditor role — can query models beyond its intended scope, including the `User` model. Additionally, the `password` column, although declared `$hidden`, is not excluded from filter predicates, which allows it to be used in `LIKE` conditions. The `schema()` and `schemaModel()` endpoints of the same controller are similarly unguarded. The Query Engine is read-only; integrity and availability are not affected. Version 2025.05.19 patches the issue.

NVD (es)

Mercator es una aplicación web de código abierto que permite el mapeo del sistema de información. Antes de la versión 2025.05.19, el Motor de Consultas de Mercator (’/admin/queries/execute’) acepta un DSL JSON (’from’ / ’select’ / ’filters’ / ’traverse’ / ’output’), lo traduce a una consulta Eloquent y devuelve los resultados como JSON. El método del controlador “QueryController::execute()” no aplica una puerta de autorización, a diferencia de “store()” y “massDestroy()” en el mismo controlador, que están correctamente protegidos. Como resultado, cualquier cuenta autenticada -incluido el rol de Auditor de solo lectura- puede consultar modelos más allá de su alcance previsto, incluido el modelo “User”. Además, la columna “password”, aunque declarada “$hidden”, no se excluye de los predicados de filtro, lo que permite su uso en condiciones “LIKE”. Los endpoints “schema()” y “schemaModel()” del mismo controlador están igualmente desprotegidos. El Motor de Consultas es de solo lectura; la integridad y la disponibilidad no se ven afectadas. La versión 2025.05.19 corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49344 changed 2026-06-22CVE Terms of Use
NVDCVE-2026-49344 changed 2026-10-25Public domain