CVE-2012-6495: Directory Traversal Vulnerabilities in MoinMoin

moin Updated 02 Oct 2025

Summary

03/01/2013
Yes i
Moderate
4.3

CVE-2012-6495: Multiple directory traversal vulnerabilities in the (1) twikidraw (action/twikidraw.py) and (2) anywikidraw (action/anywikidraw.py) actions in MoinMoin before 1.9.6 allow remote authenticated users with write permissions... Affects moin versions < 1.9.6. Fixed in 1.9.6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

MoinMoin is an open-source wiki engine written in Python. It provides a platform for collaborative content creation and editing. The affected package, 'moin', is a PyPI package that includes the MoinMoin software. MoinMoin allows users to create and modify wiki pages, and it supports various actions and functionalities. However, versions prior to 1.9.6 of MoinMoin are vulnerable to multiple directory traversal vulnerabilities.

Vulnerability Detail

The directory traversal vulnerabilities exist in the 'twikidraw' and 'anywikidraw' actions of MoinMoin. These actions allow remote authenticated users with write permissions to overwrite arbitrary files on the server. The exact vectors for exploitation are unspecified. However, an attacker with write permissions can leverage these vulnerabilities, along with CVE-2012-6081, to execute arbitrary code on the affected system. This can lead to unauthorized access, data manipulation, and potential system compromise.

How To Fix

Latest published version: 1.9.11 as of 22 Oct 2026

pip install --upgrade "moin==1.9.11"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.9.6

This is the first release that contains the fix.

pip install --upgrade "moin==1.9.6"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by ensuring that only trusted and authenticated users have write permissions on the MoinMoin server. Additionally, implementing proper access controls and monitoring can help detect and prevent unauthorized file modifications.

Conclusion

The directory traversal vulnerabilities in MoinMoin versions prior to 1.9.6 can allow remote authenticated users to overwrite arbitrary files and potentially execute arbitrary code. It is crucial to upgrade to the latest version of MoinMoin to mitigate these vulnerabilities. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for moin →

Share this vulnerability

FAQ

MoinMoin is an open-source wiki engine written in Python. It allows users to create and edit wiki pages collaboratively.

Versions of MoinMoin prior to 1.9.6 are affected by the directory traversal vulnerabilities.

The vulnerabilities allow remote authenticated users with write permissions to overwrite arbitrary files on the server. This can lead to unauthorized access, data manipulation, and potential system compromise.

To fix the vulnerability, it is recommended to upgrade to MoinMoin version 1.9.6 or later.

While no specific workaround is mentioned, users can mitigate the risk by ensuring proper access controls and monitoring on the MoinMoin server.

Related vulnerabilities

Recent vulnerabilities recorded for moin.

How To Fix

Latest published version: 1.9.11 as of 22 Oct 2026

pip install --upgrade "moin==1.9.11"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.9.6

This is the first release that contains the fix.

pip install --upgrade "moin==1.9.6"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback