Skip to main content

BettaFish EUVDEUVD-2026-41709

| CVE-2026-14687 MEDIUM
Partial String Comparison (CWE-187)
2026-07-05 VulDB GHSA-v6hv-2p8r-43v4
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach BettaFish InsightEngine over network
  2. Delivery
    Submit crafted search query input
  3. Exploit
    Trigger partial string comparison in _deduplicate_results
  4. Execution
    Bypass deduplication logic
  5. Impact
    Corrupt or manipulate search result output

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires that BettaFish's InsightEngine search functionality is deployed and accessible over the network. Based on the CVSS 4.0 vector (PR:N/UI:N), no authentication and no user interaction are required - any client that can reach the InsightEngine search endpoint can attempt exploitation. The attack is constrained to the _deduplicate_results function and affects only search result integrity (VI:L); there is no confidentiality exposure and no availability impact. Limiting factors include: impact ceiling is low (search result manipulation only, not data exfiltration or system access); the product has a small deployment footprint; and the attack requires the InsightEngine search-result deduplication code path to be reachable. Deployments that do not expose the InsightEngine search interface to untrusted networks are not at meaningful risk.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates this is remotely exploitable with low complexity, no authentication, and no user interaction - the most accessible attack surface posture. However, impact is bounded: VI:L (low integrity on the vulnerable system) with no confidentiality (VC:N) or availability (VA:N) impact, and no subsequent-system effects (SC:N/SI:N/SA:N). The supplemental E:P metric confirms a public proof-of-concept exists. No EPSS score was provided and there is no CISA KEV entry, meaning no confirmed in-the-wild exploitation is known. Real-world priority is moderate-to-low: the attack is trivially accessible given the unauthenticated network vector, but the damage ceiling is low - only search result integrity is affected, not data exfiltration, authentication bypass, or system compromise. The primary concern is that a public exploit combined with zero-friction access conditions could make this easy to abuse for disinformation or misleading search output in deployed BettaFish instances.

Exploit ScenarioDerived

An unauthenticated remote attacker submits crafted search queries to a publicly accessible BettaFish InsightEngine endpoint, constructing result strings designed to exploit the partial string comparison in _deduplicate_results - for example, strings sharing a common prefix or suffix with legitimate entries. This causes the deduplication logic to either suppress valid results or allow duplicate manipulated entries through, corrupting the search output seen by users. A public proof-of-concept demonstrating this manipulation is available via GitHub issue #688.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 05, 2026

Partial string comparison in BettaFish's InsightEngine deduplication logic (versions up to 1.2.1) allows remote unauthenticated attackers to manipulate search-result deduplication by crafting inputs that exploit the flawed comparison in _deduplicate_results within InsightEngine/agent.py. The integrity impact is limited - attackers can cause duplicate or otherwise manipulated entries to persist in search output - but the attack requires no authentication and no user interaction, and a public proof-of-concept exploit exists. No active exploitation has been confirmed by CISA KEV; a fix pull request (PR #689) has been submitted but not yet merged.

RemediationAI

An upstream fix is available as a pending pull request (PR #689) at https://github.com/666ghj/BettaFish/pull/689, but it has not yet been merged or released as a tagged version - operators should monitor the repository and upgrade once a patched release is published. Until then, the primary compensating control is to restrict network access to BettaFish's InsightEngine search endpoint, limiting exposure to trusted clients only; this eliminates the unauthenticated remote attack surface but may reduce search availability. Additionally, operators can implement input validation or sanitization upstream of the _deduplicate_results function to reject or normalize strings that could exploit partial-comparison edge cases, though this requires code-level changes. No exact patched version number has been independently confirmed; do not assume a specific release contains the fix until PR #689 is merged and tagged.

Affected VersionsENISA

BettaFish 1.2.1
BettaFish 1.2.0

Affected Packages

euvd bettafish no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-187 (Partial String Comparison) describes a class of defect where a comparison function checks only a prefix, suffix, or substring instead of the full string, causing logic to incorrectly equate or distinguish values. In BettaFish, the affected function _deduplicate_results in InsightEngine/agent.py uses such a partial comparison to identify and remove duplicate entries from search results. An attacker who can influence search query inputs or result content can craft strings that are considered equal or unequal to others based on the partial comparison, bypassing deduplication. BettaFish appears to be a Python-based application (inferred from .py file extension and GitHub repository structure). The CPE string cpe:2.3:a:666ghj:bettafish:*:*:*:*:*:*:*:* confirms all versions up to and including 1.2.1 are within scope.

Know when Bettafish gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.3 MEDIUM

Network-accessible with no authentication or interaction required; impact is limited to low integrity on search results with no confidentiality or availability effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jul 05, 2026 - 01:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)

DescriptionCVE.org

A vulnerability was determined in 666ghj BettaFish up to 1.2.1. Impacted is the function _deduplicate_results of the file InsightEngine/agent.py of the component InsightEngine search-result Deduplication. Executing a manipulation can lead to partial string comparison. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized. The pull request to fix this issue awaits acceptance.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Rare
obscure open-source project, negligible enterprise deployment footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy