CVE-2025-58897: Axiomthemes Fermentio Local File Inclusion

CVE-2025-58897 · Severity: high · CVSS 8.1 · Published 2026-06-02

Axiomthemes Fermentio, a theme for WordPress websites, contains a security flaw that allows unauthorized individuals to access sensitive internal files. An attacker could use this to steal database credentials or other configuration data, potentially leading to a full takeover of the website. There is currently no official patch available from the developer.

Vendors: Axiomthemes.

Quick answers

Is CVE-2025-58897 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-58897 being exploited in the wild.
How severe is CVE-2025-58897?
High severity, with a CVSS score of 8.1, published 2 June 2026.
Which products and versions are affected?
Axiomthemes Fermentio up to 1.5.0.
Is there a fix for CVE-2025-58897?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2025-58897 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2025-58897?
Check whether you run Axiomthemes Fermentio at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A Local File Inclusion (LFI) vulnerability exists in the Axiomthemes Fermentio theme for WordPress (versions up to 1.5.0) due to improper control of filenames in PHP include/require statements (CWE-98). An unauthenticated remote attacker can exploit this by providing malicious input to vulnerable parameters, forcing the application to include and execute local files. This can lead to the disclosure of sensitive information, such as wp-config.php containing database credentials, or potentially remote code execution if the attacker can upload or influence the content of a local file. As of the advisory date, no official patch has been released, and users are advised to use third-party mitigation rules or switch themes.

Affected products

  • Axiomthemes Fermentio up to 1.5.0

Timeline

  • 2025-07-24: other: Vulnerability reported by researcher
  • 2026-05-26: advisory: Patchstack published advisory
  • 2026-06-02: disclosed: CVE published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.