CVE-2026-6670 Media Sync <= 1.4.9 - Authenticated (Author+) Path Traversal via 'sub_dir' and 'media_items' Parameters

Medium 6.5 Published Updated

Authenticated attackers with Author-level access can traverse directories to read or modify files outside the intended uploads directory in the Media Sync WordPress plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-6670?

CVE-2026-6670 is a medium-severity path traversal vulnerability in erolsk8 Media Sync, published on 14 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Media Sync plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 1.4.9 via the 'sub_dir' and 'media_items' parameters. This is due to insufficient validation of user-supplied file paths, which are not checked for directory traversal sequences or restricted to the intended uploads directory. This makes it possible for authenticated attackers, with Author-level access and above, to perform actions on files outside of the originally intended directory.

Weakness: CWE-22

Which versions are affected by CVE-2026-6670?

How do I fix CVE-2026-6670?

No fix has been published for CVE-2026-6670 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-6670 being exploited?

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

Sources

Also known as GHSA-4j6w-h2q8-35x3.

Is CVE-2026-6670 in your software?

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

Check your SBOMs for free