Read the docs

OS command injection in XiangLi1999 Diffusion-LM infill.py

Priority MEDIUM 57CWE-77Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-77.

Summary

XiangLi1999 Diffusion-LM up to 759889d is affected. The os.system call in improved-diffusion/scripts/infill.py does not neutralize special elements in the notes argument, which allows OS command injection (CWE-78). A remote attacker can inject operating system commands, but user interaction is required. A public exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Description from the CNA

A weakness has been identified in XiangLi1999 Diffusion-LM up to 759889d58ef38e2eed41a8c34db8032e072826f4. This vulnerability affects the function os.system of the file improved-diffusion/scripts/infill.py. This manipulation of the argument notes causes os command injection. Remote exploitation of the attack is possible. The exploit has been made available to the public and could be used for attacks. This product follows a rolling release approach for continuous delivery, so version details for affected or updated releases are not provided. The project was informed of the problem early through an issue report but has not responded yet.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01474 74th percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
XiangLi1999Diffusion-LM759889d—No fix listedCNA
  • Diffusion-LM VendorXiangLi1999 Affected 759889d Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:xiangli1999:diffusion-lm:*:*:*:*:*:*:*:*——XiangLi1999
  • cpe:2.3:a:xiangli1999:diffusion-lm:*:*:*:*:*:*:*:* Versions — — ·XiangLi1999

Remediation

The sources list no fixed version for XiangLi1999 Diffusion-LM.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Timeline

  1. 2026-11-20 Threatist record created from CVE-2026-133488
  2. 2026-11-20 Alias added: GHSA-hfjj-2mp2-wp4v
  3. 2026-11-20 CISA SSVC decision points changed

References

  • TI-2026-95615 Path traversal in XiangLi1999 Diffusion-LM text_sample.py CVSS 4.0MEDIUM 5.3

Sources