Skip to main content

self-rag EUVDEUVD-2026-43280

| CVE-2026-15535 LOW
Deserialization of Untrusted Data (CWE-502)
2026-07-13 VulDB GHSA-xp65-m377-m42w
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privileged access to service
  2. Delivery
    Craft malicious pickle-embedded .faiss file
  3. Exploit
    Supply or substitute index_meta.faiss file
  4. Execution
    Trigger Indexer.deserialize_from call
  5. Impact
    Execute arbitrary code in process context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to control or substitute the index_meta.faiss file consumed by Indexer.deserialize_from in retrieval_lm/src/index.py. The CVSS 4.0 PR:L metric confirms that some level of authenticated or low-privileged access is necessary - purely unauthenticated remote exploitation is not supported. In practice, this means the attacker must either have write access to the directory or storage path from which the index file is loaded, or be able to pass a crafted file path/contents through an application interface that ultimately calls deserialize_from. Exploitation is limited to deployments that load externally influenced or user-supplied FAISS index bundles; systems that only ever load index files written by the same trusted process are not exposed. There is no requirement for specific platform, OS, or non-default configuration beyond the standard self-rag retrieval pipeline being active.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L) rates this as medium severity (5.3), and several signals support treating it as a measured rather than critical priority. PR:L confirms that exploitation requires the attacker to already hold some level of authenticated or privileged access to supply or substitute the FAISS index file - unauthenticated remote exploitation against default configurations is not supported by the vector. Impact metrics are uniformly Low (VC:L/VI:L/VA:L with no subsequent-system impact), which is conservative given that deserialization flaws classically yield arbitrary code execution; the assessor may have scoped impact to the research process context rather than the broader host. The E:P supplemental metric confirms a public POC exists (GitHub issue #105), raising practical exploitability above baseline. No EPSS score was provided; no KEV listing exists. The product is a niche academic ML research tool with minimal enterprise production footprint, which significantly constrains real-world blast radius. A fix PR (#106) exists on GitHub but the project maintainer had not responded at disclosure time, meaning patch availability is unconfirmed as merged. Net assessment: moderate theoretical risk amplified by POC availability, but constrained by PR:L prerequisite and rare deployment prevalence.

Exploit ScenarioDerived

An authenticated or low-privileged user with the ability to supply or substitute a FAISS index file - for example, through a shared storage path or an API endpoint that accepts index bundles - crafts a malicious index_meta.faiss file embedding a pickle payload that spawns a reverse shell. When the self-rag service calls Indexer.deserialize_from with this file, Python's deserialization routine executes the embedded payload in the context of the running process. A public proof-of-concept demonstrating this vector is available in GitHub issue #105 (https://github.com/AkariAsai/self-rag/issues/105).

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 13, 2026

Unsafe deserialization in AkariAsai self-rag's Indexer.deserialize_from function exposes any deployment that processes externally supplied FAISS index files to potential arbitrary code execution. The vulnerability resides in retrieval_lm/src/index.py and is triggered when the index_meta.faiss argument is manipulated with a crafted payload - a classic CWE-502 pattern where Python's serialization routines (typically pickle) blindly instantiate attacker-controlled objects. A publicly available proof-of-concept exists per GitHub issue #105, elevating the practical risk beyond the moderate CVSS 4.0 score of 5.3. No active exploitation has been confirmed by CISA KEV, and the project maintainer had not formally responded to the disclosure at time of reporting.

RemediationAI

The primary fix is to apply the upstream patch submitted in GitHub pull request #106 (https://github.com/AkariAsai/self-rag/pull/106); however, as the project maintainer had not responded at time of disclosure, this PR's merge status must be independently verified before relying on it. Consumers of the codebase should manually review retrieval_lm/src/index.py and replace any pickle.load or equivalent unsafe deserialization call in Indexer.deserialize_from with a safe alternative such as pickle.loads wrapped with strict type checking, or replace pickle-based FAISS metadata serialization with JSON or another safe format. As a compensating control, restrict filesystem and network paths from which index_meta.faiss files can be loaded to sources under administrator control - do not allow user-supplied index file paths without validation. Environments running self-rag as a shared service should also enforce strict authentication and authorization on any endpoint that accepts or processes index files, reducing the PR:L attack surface. The VulDB advisory at https://vuldb.com/vuln/377885 and https://vuldb.com/cve/CVE-2026-15535 should be monitored for updates as the project responds.

Affected VersionsENISA

self-rag 1fcdc420e48f50a7d7ab1ece5494221b93252e99

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

self-rag (Self-Reflective Retrieval-Augmented Generation) is a research-oriented Python framework by AkariAsai that integrates FAISS (Facebook AI Similarity Search) vector indices for document retrieval in LLM pipelines. The affected component, retrieval_lm/src/index.py, implements an Indexer class whose deserialize_from method loads a serialized index bundle. FAISS indices are commonly persisted alongside Python pickle-serialized metadata; when a .faiss index file is loaded without validation, any embedded pickle payload is executed by the Python runtime during deserialization. CWE-502 (Deserialization of Untrusted Data) identifies this root cause: the application trusts the structure and content of the index_meta.faiss file without safe-load guards, allowing an attacker who can supply that file to inject executable Python objects. The CPE cpe:2.3:a:akariasai:self-rag:*:*:*:*:*:*:*:* applies to all commits up to and including 1fcdc420e48f50a7d7ab1ece5494221b93252e99.

Know when Self Rag 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 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.3 MEDIUM

Network-reachable deserialization requiring low-privilege file supply access; impact limited to process-level confidentiality, integrity, and availability with no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/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
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jul 13, 2026 - 06:22 NVD
MEDIUM LOW
CVSS changed
Jul 13, 2026 - 06:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

A vulnerability was determined in AkariAsai self-rag up to 1fcdc420e48f50a7d7ab1ece5494221b93252e99. Affected by this issue is the function Indexer.deserialize_from of the file retrieval_lm/src/index.py of the component retrieval_lm. Executing a manipulation of the argument index_meta.faiss can lead to deserialization. The attack may be launched remotely. The exploit has been publicly disclosed and may be utilized. This product operates on a rolling release basis, ensuring continuous delivery. Consequently, there are no version details for either affected or updated releases. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Rare
niche academic ML research project, minimal production deployment
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

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