Skip to main content

Diffusion-LM CVE-2026-133489

| EUVDEUVD-2026-131015 LOW
Path Traversal (CWE-22)
2026-11-20 VulDB GHSA-286w-9gvr-p97g
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Influence out_dir script argument
  2. Exploit
    Inject path traversal sequence
  3. Execution
    Script writes files outside intended directory
  4. Impact
    Arbitrary file write within user privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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 victim to run improved-diffusion/scripts/text_sample.py with an out_dir argument value that the attacker can influence or control; the traversal is in that output-directory parameter. The attack is limited by required user interaction (UI:P - the script must be executed) and is bounded to the file-system privileges of the user running the script. Impact is confined to file writing (integrity, VI:L) - no confidentiality or availability impact per the vector. The input's 'remote' characterization is unverified given this is a local CLI argument; realistically it depends on a workflow that passes externally-supplied values into out_dir. No fixed version is available due to the rolling-release model.

Impact

This is a low-to-moderate priority issue despite being publicly disclosed. The input scores CVSS 4.0 at 5.3 (medium) with vector AV:N/AC:L/AT:N/PR:N/UI:P and only limited integrity impact (VI:L; VC/VA/subsequent all N), reflecting a path traversal via the out_dir argument that affects where output files are written rather than enabling code execution or data theft. The E:P (Proof-of-Concept) exploit maturity aligns with the input's note of a PoC reference. There is no CISA KEV listing and no EPSS score provided, so there is no signal of active or widespread exploitation; VulDB's priority label is 'this_month,' not an urgent/act-now tier. Two signals conflict and should be verified: the CVSS vector marks AV:N ('attack can be executed remotely'), but the mechanism - manipulation of the out_dir command-line argument to a text-sampling script (improved-diffusion/scripts/text_sample.py) - implies the attacker already supplies local script arguments, so network reachability is doubtful; verify the deployment context with the project. UI:P correctly captures that someone must invoke the script. Net: a real but narrow weakness in a research codebase, not a high-urgency enterprise exposure.

Exploit ScenarioDerived

An attacker who can influence the out_dir argument passed to text_sample.py supplies a traversal sequence (e.g. ../../) so that generated sample files are written outside the intended output directory, potentially overwriting files the invoking user can write to. A public PoC reference (poc.zip) exists but is not verified as working exploit code, and exploitation requires the victim to run the sampling script with the attacker-influenced argument (UI:P).

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 20, 2026

A path traversal flaw in XiangLi1999 Diffusion-LM's improved-diffusion/scripts/text_sample.py allows an attacker who can influence the out_dir command-line argument to write files outside the intended output directory, limited to the file-system privileges of the user running the script. Exploitation requires the victim to execute the script (UI:P), and impact is confined to integrity of written files with no confidentiality or availability effect; the vulnerability's 'remote' characterization is unverified since the vector is fundamentally a local CLI argument. A public PoC reference exists but is not verified as working exploit code, and no vendor response or fixed version has been issued for this rolling-release project.

RemediationAI

No vendor-released patch or fixed version has been identified at time of analysis; the project is on a rolling-release model, was informed via issue https://github.com/XiangLi1999/Diffusion-LM/issues/80 and has not responded. Until an upstream fix lands, validate and canonicalize the out_dir argument before passing it to text_sample.py - reject values containing '../' segments or absolute paths and resolve the path against an expected base directory, which requires wrapping or locally patching the script since no built-in sanitization exists. Restrict who can supply that argument (for example, do not expose the sampling workflow to externally controlled parameters) and run the script under an account whose write permissions are limited to the intended output tree, so a traversal cannot reach sensitive locations; this reduces the impact of a flawed path but does not fix the underlying defect. Track the VulDB advisory at https://vuldb.com/vuln/440907 and the GitHub issue for an upstream resolution.

Affected VersionsENISA

Diffusion-LM 759889d58ef38e2eed41a8c34db8032e072826f4

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

CWE-22 path traversal in the argument-handling path of the main function of improved-diffusion/scripts/text_sample.py, a sampling script in Diffusion-LM's improved-diffusion research codebase for diffusion language models. The out_dir parameter, which designates where generated samples are written, is not sanitized for '../' sequences or absolute paths, so a supplied value can redirect writes to arbitrary locations accessible to the invoking user. The CPE (cpe:2.3:a:xiangli1999:diffusion-lm) covers the whole project with no version granularity because the repository follows a rolling release; the specific snapshot identified is up to commit 759889d58ef38e2eed41a8c34db8032e072826f4. The assessed CVSS:3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N, score equivalent to low severity) contradicts the vendor-reported CVSS:4.0/AV:N rating: execution of the script is required, so this is effectively local with user interaction, the trigger is an externally influenced out_dir value, and the only outcome is limited file-write integrity impact. No confidentiality or availability impact is established, the trigger mechanics beyond the out_dir argument are not described in the available sources, and the practical risk depends entirely on whether a workflow feeds untrusted values into out_dir.

Know when Diffusion Lm 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:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
vuln.today AI 3.3 LOW

out_dir is a local command-line argument requiring script execution by a user, so AV:L and UI:R; impact is limited arbitrary file write (I:L) with no confidentiality or availability effect.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/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
Passive
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

3
Severity Changed
Nov 20, 2026 - 06:22 NVD
MEDIUM LOW
CVSS changed
Nov 20, 2026 - 06:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Nov 20, 2026 - 05:45 cve.org
MEDIUM 5.3

DescriptionCVE.org

A security vulnerability has been detected in XiangLi1999 Diffusion-LM up to 759889d58ef38e2eed41a8c34db8032e072826f4. This issue affects the function main of the file improved-diffusion/scripts/text_sample.py. Such manipulation of the argument out_dir leads to path traversal. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. This product implements a rolling release for ongoing delivery, which means version information for affected or updated releases is unavailable. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Rare
academic research NLP codebase, no production/enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
6 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.5%
Patch available No
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
Yes
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

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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