Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in temash Barberry barberry allows PHP Local File Inclusion.This issue affects Barberry: from n/a through <= 2.9.9.87.
Published: 2026-01-22
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Barberry theme contains an improper control of the filename used in include/require statements, allowing a local file to be read or executed. This can expose sensitive configuration files or other data and, if combined with a suitable input, may enable arbitrary code execution. The weakness is classified as CWE‑98, which informs that the flaw stems from insecure handling of file names.

Affected Systems

The vulnerability affects the temash Barberry theme for WordPress from the earliest released version through version 2.9.9.87. All installations of these versions are at risk until patched.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity, while the EPSS score of <1% suggests that, although exploitation is unlikely, not impossible. The theme is not listed in the CISA KEV catalog. The attack likely requires influencing a user’s request to the site—i.e., accessing a URL or submitting a form that contains the vulnerable filename parameter—after which a relative path can be resolved to any file on the server. This pathway is accessible over the network and does not require additional local privileges.

Generated by OpenCVE AI on April 29, 2026 at 14:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Barberry theme to a version newer than 2.9.9.87 when available.
  • Patch the theme by ensuring all file include paths are validated against a whitelist of allowed locations or use a safe include helper function that does not accept arbitrary paths.
  • If an update is not possible immediately, disable the functionality that triggers the vulnerable include or remove the problematic code segment from the theme to prevent the LFI vector.

Generated by OpenCVE AI on April 29, 2026 at 14:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Jan 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 23 Jan 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Thu, 22 Jan 2026 23:00:00 +0000

Type Values Removed Values Added
Description Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in temash Barberry barberry allows PHP Local File Inclusion.This issue affects Barberry: from n/a through <= 2.9.9.87.
Title WordPress Barberry theme <= 2.9.9.87 - Local File Inclusion vulnerability
Weaknesses CWE-98
References

Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T16:14:33.311Z

Reserved: 2025-12-24T14:00:54.032Z

Link: CVE-2025-68908

cve-icon Vulnrichment

Updated: 2026-01-27T20:57:17.077Z

cve-icon NVD

Status : Deferred

Published: 2026-01-22T17:16:14.723

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-68908

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-29T15:00:13Z

Weaknesses