CVE-2025-32696 "reupload-own" restriction can be bypassed by reverting file

None 0.0 Published Updated

Attackers can bypass the reupload-own restriction by reverting files, allowing unauthorized file modifications in MediaWiki.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-32696?

CVE-2025-32696 is a missing authorization vulnerability in Wikimedia Foundation MediaWiki, published on 10 Apr 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Improper Preservation of Permissions vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/actions/RevertAction.Php, includes/api/ApiFileRevert.Php.

This issue affects MediaWiki: before 1.39.12, 1.42.6, 1.43.1.

Weakness: CWE-281

Which versions are affected by CVE-2025-32696?

1 open source package ship an affected version, including mediawiki.

PackageAffectedFixed in
mediawiki BitnamiAll versions1.43.1

How do I fix CVE-2025-32696?

Upgrade mediawiki to 1.43.1 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-32696 being exploited?

There is no known exploitation of CVE-2025-32696 in the wild and no public exploit code.

Sources

Also known as BIT-mediawiki-2025-32696, DEBIAN-CVE-2025-32696, GHSA-9gwp-748x-fwg9, UBUNTU-CVE-2025-32696.

Is CVE-2025-32696 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free