CWE-359Weakness · CWE-359

CVE-2026-49344

HIGH · 7.1 CVSS v4.0 Published 2026-06-19
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
77/100
Remediation priority · High
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Mercator's Query Engine controller (`QueryController`) lacks authorization checks on the `execute()`, `schema()`, and `schemaModel()` endpoints, allowing any authenticated user (including read-only Auditor role) to query sensitive models beyond their intended scope, such as the User model. Additionally, the hidden `password` column can be used in LIKE filter predicates, exposing password hashes.

MitigationUpgrade to Mercator version 2025.05.19 or later, which adds proper authorization gates to the Query Engine endpoints and excludes the password column from filter predicates.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
Authentication
X
User interaction
None
Scope
X

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check Mercator version
    Locate the installed Mercator version (typically in product info, about page, or version file). Compare it to 2025.05.19.
    Affected if Installed version is earlier than 2025.05.19 (or version cannot be determined and the fix is not confirmed present)
  2. Test execute() endpoint access for Auditor role
    Authenticate as a user with Auditor (read-only) role and send a request to the QueryController execute() endpoint with a query targeting a privileged model (such as User).
    Affected if The request succeeds and returns data from models outside the Auditor role's intended scope
  3. Test schema() endpoint data exposure
    Authenticate as Auditor role and call the QueryController schema() endpoint. Inspect whether it returns schema information for sensitive models like User.
    Affected if Schema information for privileged models is returned to the Auditor role
  4. Test password column filterability
    Using an authenticated session (any role), construct a query via execute() with a LIKE filter predicate targeting a column named 'password'. Example: filter on password column with LIKE pattern.
    Affected if The query executes without error and returns results involving the password column (or the predicate is accepted by the engine)

A user is affected if their Mercator version is below 2025.05.19 AND the QueryController endpoints are accessible to lower-privileged users (Auditor role) OR the password column is filterable in query predicates.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to Mercator version 2025.05.19 or later, which adds proper authorization gates to the Query Engine endpoints and excludes the password column from filter predicates.

Recommended fix High confidence

Mercator version 2025.05.19

  1. Upgrade Mercator to version 2025.05.19 or later to receive the authorization patches
  2. Verify that the `/admin/queries/execute`, `schema()`, and `schemaModel()` endpoints now enforce proper authorization
  3. Confirm that the Auditor role can no longer query the User model or access data outside its intended scope
  4. Test that password column filtering is properly blocked in query predicates
  5. Review role-based access controls to ensure they align with least-privilege principles
Caveat Review release notes for any breaking changes between your current version and 2025.05.19

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,130
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,408.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-49344 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-49344 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data