PYSEC-2025-135
Quick fix
PYSEC-2025-135 — mayan-edms: upgrade to the fixed version with the command below.
pip install --upgrade 'mayan-edms>=4.10.2'Details
A flaw has been found in Mayan EDMS up to 4.10.1. The impacted element is an unknown function of the file /authentication/. This manipulation causes open redirect. It is possible to initiate the attack remotely. The exploit has been published and may be used. Upgrading to version 4.10.2 is sufficient to resolve this issue. The affected component should be upgraded. The vendor confirms that this is "[f]ixed in version 4.10.2". Furthermore, that "[b]ackports for older versions in process and will be out as soon as their respective CI pipelines complete."
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://docs.mayan-edms.com/chapters/releases/4.10.2.html[ADVISORY]
- https://docs.mayan-edms.com/chapters/releases/4.10.2.html#security[ADVISORY]
- https://vuldb.com/?id.336410[ADVISORY]
- https://vuldb.com/?submit.711729[ADVISORY]
- https://vuldb.com/?ctiid.336410[REPORT]
- https://github.com/ionutluca888/Mayan-EDMS-OpenRedirect-POC/tree/main[EVIDENCE]
- https://github.com/advisories/GHSA-x37w-7p52-8f49[ADVISORY]
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/mayan-edms"]}'