VDB
Sign up
HIGH7.4

PYSEC-2026-1592

lollms path traversal vulnerability allows overriding of config.yaml file, leading to RCE

Quick fix

PYSEC-2026-1592 — lollms: upgrade to the fixed version with the command below.

pip install --upgrade 'lollms>=9.5.0'

Details

A path traversal vulnerability in the `/set_personality_config` endpoint of parisneo/lollms version 9.4.0 allows an attacker to overwrite the `configs/config.yaml` file. This can lead to remote code execution by changing server configuration properties such as `force_accept_remote_access` and `turn_on_code_validation`.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/lollms
Introduced in: 0Fixed in: 9.5.0
Fixpip install --upgrade 'lollms>=9.5.0'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/lollms"]}'