CVE-2026-59509

Unauthenticated arbitrary MongoDB collection read in cve-search

Published Jul 5, 2026 CVSS 4.0 · 9.2 Critical EPSS 1.4% KEV · Not listed
Description
An unauthenticated improper input validation vulnerability in the POST /fetch_cve_data endpoint in cve-search. A remote attacker can manipulate request parameters controlling the MongoDB collection, projected fields, and regular-expression filters to read arbitrary application MongoDB collections. This can expose administrative usernames and password hashes from the mgmt_users collection, enabling offline password cracking and potential administrative account compromise.

Analysis

AI-generated

Technical impact

An unauthenticated flaw in the POST /fetch_cve_data endpoint allows an attacker to craft arbitrary MongoDB collection names, projection fields, and regular‑expression filters. Because input is not validated (CWE‑20), the attacker can read any document in the database, including the mgmt_users collection that stores administrative usernames and password hashes. This enables offline cracking of passwords and potential compromise of administrative accounts, representing a serious breach of confidentiality and integrity.

Affected Systems

Every instance of cve-search that exposes the /fetch_cve_data endpoint is vulnerable. The CNA does not specify a version range, so any running cve-search instance that has not applied the patch in pull request 1218 may be affected.

Risk and Exploitability

The CVSS score of 9.2 classifies this as a critical vulnerability. Exploitation requires only unauthenticated network access to the HTTP /fetch_cve_data endpoint, making it a remote attack. The EPSS score is less than 1 %, indicating that, so far, the likelihood of exploitation in the wild is low. The vulnerability is not listed in the CISA KEV catalogue, so no known active exploits exist at present.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch provided in pull request 1218 or upgrade to the latest cve-search release that fixes the /fetch_cve_data endpoint.
  • Restrict access to the /fetch_cve_data endpoint by firewall rules or network segmentation, ensuring only trusted internal networks can reach it.
  • Disable or remove read permissions for the mgmt_users collection in MongoDB and enforce least‑privilege access for database users.

Generated by OpenCVE AI on August 3, 2026 at 05:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Cve-search
Cve-search cve-search
Vendors & Products Cve-search
Cve-search cve-search
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-862
Type Values Removed Values Added
Description An unauthenticated improper input validation vulnerability in the POST /fetch_cve_data endpoint in cve-search. A remote attacker can manipulate request parameters controlling the MongoDB collection, projected fields, and regular-expression filters to read arbitrary application MongoDB collections. This can expose administrative usernames and password hashes from the mgmt_users collection, enabling offline password cracking and potential administrative account compromise.
Title Unauthenticated arbitrary MongoDB collection read in cve-search
Weaknesses CWE-20
CWE-862
References
Metrics cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
CIRCL
Published
Updated
Jul 6, 2026, 1:28 PM
Reserved
Jul 5, 2026, 12:01 PM
Status
Deferred
Published
Jul 5, 2026, 1:16 PM
Modified
Jul 6, 2026, 7:36 PM