VDB
Sign up
—

PYSEC-2024-49

Quick fix

PYSEC-2024-49 — lektor: upgrade to the fixed version with the command below.

pip install --upgrade 'lektor>=3.3.11'

Details

Lektor before 3.3.11 does not sanitize DB path traversal. Thus, shell commands might be executed via a file that is added to the templates directory, if the victim's web browser accesses an untrusted website that uses JavaScript to send requests to localhost port 5000, and the web browser is running on the same machine as the "lektor server" command.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/lektor
Introduced in: 0Fixed in: 3.3.11
Fixpip install --upgrade 'lektor>=3.3.11'

References