MEDIUM 5.0

CVE-2026-13513: MyScaleDB Cache Validation Vulnerability

MyScaleDB versions up to 1.8.0 contain a vulnerability in how they verify the authenticity of cached segment identifiers. An authenticated attacker with network access could manipulate this cache mechanism to bypass data integrity checks, potentially leading to unauthorized information disclosure or modification. The attack is complex to execute, but proof-of-concept code has been publicly released, increasing exploitation risk.

Source data · NVD / CISA · public domain

CVSS
3.1 · 5.0 MEDIUM · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Weaknesses (CWE)
CWE-345
Affected products
0 configuration(s)
Published / Modified
2026-06-29 / 2026-06-29

NVD description (verbatim)

A security flaw has been discovered in MyScale MyScaleDB up to 1.8.0. This vulnerability affects the function SegmentId::getCacheKey in the library src/VectorIndex/Common/SegmentId.h. The manipulation results in insufficient verification of data authenticity. It is possible to launch the attack remotely. A high complexity level is associated with this attack. It is stated that the exploitability is difficult. The exploit has been released to the public and may be used for attacks. The pull request to fix this issue awaits acceptance.

7 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-13513 affects the SegmentId::getCacheKey function in src/VectorIndex/Common/SegmentId.h within MyScaleDB. The flaw stems from insufficient verification of data authenticity in the caching layer for vector index segment identifiers. An attacker with valid credentials can craft malicious requests that exploit the weak cache validation, potentially compromising the integrity and confidentiality of stored vector data. The vulnerability requires network access and valid login credentials, but does not require user interaction on the victim's part.

Business impact

Organizations running MyScaleDB for vector search or similarity operations face risk of data tampering and unauthorized access to sensitive embeddings or indexed content. If MyScaleDB is used in production search pipelines, credential-based attackers could exfiltrate or modify indexed vectors without detection, degrading search quality or leaking proprietary AI model outputs. The medium severity and authentication requirement limit blast radius, but insider threats or compromised service accounts pose a material risk.

Affected systems

MyScaleDB versions 1.8.0 and earlier are affected. Organizations should inventory all MyScaleDB deployments and determine the installed version immediately. The vulnerability requires valid authentication, so it does not affect publicly exposed instances without credential compromise. Development, staging, and production environments all require assessment.

Exploitability

While a proof-of-concept has been released publicly, the attack complexity is high and requires valid user credentials. This is not a trivial zero-click vulnerability; an attacker must obtain or already possess legitimate access credentials. The high barrier to entry reduces immediate widespread exploitation risk, but the availability of public PoC code means that sophisticated or motivated threat actors with internal access or those targeting specific organizations can leverage it effectively.

Remediation

Organizations should update MyScaleDB to a version that includes the fix for the SegmentId::getCacheKey cache validation. Verify the patched version against the official MyScale vendor advisory. Additionally, restrict database access through network segmentation, enforce strong authentication policies, and monitor for unusual data access patterns. Consider rotating credentials for accounts with MyScaleDB access if a compromise is suspected.

Patch guidance

Monitor the MyScale project repository and official release notes for confirmation that the pending pull request fixing this vulnerability has been merged and released. Once a patched version is available, prioritize deployment to production systems handling sensitive vector data. Test patches in staging environments before production rollout to ensure compatibility with dependent applications. If an extended timeline before patching is necessary, compensate with enhanced network controls and access logging.

Detection guidance

Audit MyScaleDB access logs for unusual authentication patterns or repeated failed/successful queries originating from unexpected sources. Monitor for cache-related anomalies in application performance metrics or database query patterns. Implement alerting on modification attempts to segment cache structures. Network-level detection should flag authentication events followed by unusual vector index operations. Query logs that show rapid or sequential access to multiple segment identifiers may indicate exploitation attempts.

Why prioritize this

This vulnerability merits prompt but measured attention. The medium CVSS score reflects the authentication requirement and high attack complexity, which significantly limit opportunistic exploitation. However, the released PoC and the focus on data authenticity in a vector database context—often containing sensitive embeddings—elevate the business risk for organizations in AI/ML, search, or recommendation engine domains. Prioritization should align with MyScaleDB criticality in your architecture and the sensitivity of indexed data.

Risk score, explained

The CVSS 3.1 score of 5.0 (MEDIUM) appropriately reflects the attack vector (network-based), the requirement for valid credentials (PR:L), high complexity (AC:H), and the limited scope (confidentiality, integrity, and availability each partially affected). The score does not account for the released public PoC, which increases practical exploitability for determined attackers but does not change the baseline difficulty or prerequisites. Organizations storing highly sensitive vectors should consider contextual risk elevation.

Frequently asked questions

Do we need to patch immediately if we have no external network access to our MyScaleDB instance?

Network segmentation significantly reduces risk by preventing remote exploitation, but an attacker with internal access or valid credentials could still exploit the flaw. Patch on your standard schedule, but prioritize systems with broader network or credential exposure. Ensure segmentation rules are actively enforced and monitored.

What versions of MyScaleDB should we check?

Version 1.8.0 and all earlier versions are affected. If you are running 1.8.0 or below, you are in scope. Check your deployment documentation and database version command output to confirm your current version.

Does this vulnerability require user interaction to exploit?

No. The vulnerability can be exploited remotely by an authenticated attacker without requiring any action from legitimate users. This makes it more dangerous in environments where service accounts or API credentials may be compromised.

If we cannot patch immediately, what compensating controls should we implement?

Restrict database access to specific trusted networks, enforce multi-factor authentication for database accounts, rotate credentials regularly, implement detailed access logging, and monitor for anomalous query patterns targeting segment cache structures. These measures reduce—but do not eliminate—the risk until a patch is deployed.

This analysis is based on publicly available vulnerability data current as of the publication date. Patch availability and version numbers should be verified against the official MyScale project repository and vendor advisories before deployment. This content is provided for informational purposes to support security decision-making and does not constitute legal or compliance advice. Organizations should conduct their own risk assessment based on their specific environment, data sensitivity, and threat model. Source: NVD (public-domain), retrieved 2026-08-07. Analysis generated by SEC.co (claude-haiku-4-5).