{"id":"CVE-2020-25074","aliases":["GHSA-52q8-877j-gghq","PYSEC-2020-67"],"url":"https://o3.security/vulnerability/CVE-2020-25074","summary":"MoinMoin vulnerable to remote code execution via cache action","details":"### Impact\nThe cache action in action/cache.py allows directory traversal through a crafted HTTP request. An attacker who can upload attachments to the wiki can use this to achieve remote code execution.\n\n### Patches\nUsers are strongly advised to upgrade to a patched version.\n\nMoinMoin Wiki 1.9.11 has the necessary fixes and also contains other important fixes.\n\n### Workarounds\nIt is not advised to work around this, but to upgrade MoinMoin to a patched version.\n\nThat said, a work around via disabling the `cache` or the `AttachFile` action might be possible.\n\nAlso, it is of course helpful if you give `write` permissions (which include uploading attachments) only to trusted users.\n\n### Credits\n\nThis vulnerability was discovered by Michael Chapman.\n\n### For more information\nIf you have any questions or comments about this advisory, email me at [twaldmann@thinkmo.de](mailto:twaldmann@thinkmo.de).","published":"2020-11-10T17:15:12.907Z","modified":"2026-07-08T05:53:47.867719333Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"moin","fixedVersion":"1.9.11"}],"fix":{"url":"https://github.com/moinwiki/moin-1.9/commit/6b96a9060069302996b5af47fd4a388fc80172b7","label":"moinwiki/moin-1.9@6b96a90"},"references":[{"type":"ADVISORY","url":"http://moinmo.in/SecurityFixes"},{"type":"ADVISORY","url":"https://github.com/moinwiki/moin-1.9/security/advisories/GHSA-52q8-877j-gghq"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00020.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4787"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25074"},{"type":"WEB","url":"https://github.com/moinwiki/moin-1.9/commit/6b96a9060069302996b5af47fd4a388fc80172b7"},{"type":"PACKAGE","url":"https://github.com/moinwiki/moin"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/moin/PYSEC-2020-67.yaml"},{"type":"WEB","url":"https://pypi.org/project/moin"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:53:47.867719333Z"}}