CVE-2026-133489: XiangLi1999 Diffusion-LM text_sample.py main path traversal

Published Nov 20, 2026
·
Updated

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/textsample.py. Such manipulation of the argument outdir 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.

Affected Software

1 affected component
XiangLi1999 Diffusion-LM<=759889d58ef38e2eed41a8c34db8032e072826f4

Event History

Nov 20, 2026
CVE Published
via MITRE·05:45 AM
Data Sourced
via MITRE·05:45 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

The attacker needs to be able to influence the out_dir argument passed to the main function in improved-diffusion/scripts/text_sample.py. Exploitation also requires user interaction, according to the provided CVSS vector.

2

Are fixed versions available?

No affected or updated release versions are available because the project uses a rolling-release model. The provided information states that the project was notified through an issue report but had not responded.

3

What should teams do if they use this script?

Do not allow untrusted users or remote inputs to control out_dir. Restrict output paths to a designated directory and validate or canonicalize the resolved path before writing files.

4

How can I determine whether my deployment is affected?

Review improved-diffusion/scripts/text_sample.py and determine whether its main function accepts an out_dir value that can be manipulated to escape the intended output directory. The identified affected source state includes commit 759889d58ef38e2eed41a8c34db8032e072826f4 and earlier code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203