CVE-2025-58051 Nextcloud Tables app allowed to include local file via PhpSpreadsheet when importing a table

Medium 6.5 Published Updated

An attacker can read arbitrary server files by specifying local paths during table import in the Nextcloud Tables app.

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-2025-58051?

CVE-2025-58051 is a medium-severity path traversal vulnerability in nextcloud security-advisories, published on 16 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Nextcloud Tables allows you to create your own tables with individual columns. Prior 0.7.6, 0.8.8, and 0.9.5, when importing a table, a user was able to specify files on the server and when their format is supported by the used PhpSpreadsheet library they would be included and their content leaked to the user. It is recommended that the Nextcloud Tables app is upgraded to 0.7.6, 0.8.8 or 0.9.5.

Weakness: CWE-841

Which versions are affected by CVE-2025-58051?

How do I fix CVE-2025-58051?

No fix has been published for CVE-2025-58051 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-2025-58051 being exploited?

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

Sources

Also known as GHSA-wpp5-4w35-pxq6.

Is CVE-2025-58051 in your software?

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

Check your SBOMs for free