Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in teamzt Smart Agreements smart-agreements allows PHP Local File Inclusion.This issue affects Smart Agreements: from n/a through <= 1.0.3.
Published: 2025-04-17
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw arises from an improper specification of the filename used by PHP's include/require statements. An attacker can supply a crafted path in a request to the Smart Agreements plugin, causing the server to include an arbitrary local file. This allows the attacker to read application files such as configuration files, credentials, or other sensitive data stored on the filesystem. While the CVE description does not explicitly state that execution of malicious PHP code is possible, the inclusion of a local PHP file could lead to remote code execution; this is an inferred consequence based on typical LFI behavior.

Affected Systems

The Smart Agreements WordPress plugin, provided by teamzt, is vulnerable in all releases from the earliest through version 1.0.3. Any WordPress installation deploying this plugin with a version number <= 1.0.3 is affected.

Risk and Exploitability

The CVSS score of 7.5 categorizes the issue as high severity. The EPSS score of less than 1% suggests that exploit activity is expected to be rare at present. The vulnerability is not listed in the CISA KEV catalog. The attack vector is likely via a public web request that triggers the plugin’s include logic; the plugin’s interaction with user input provides a straightforward path for exploitation. Successful exploitation would grant the attacker read access to local files, and potentially execution of PHP code if the attacker includes a crafted PHP file, though this latter outcome is inferred and not guaranteed by the CVE description.

Generated by OpenCVE AI on May 1, 2026 at 10:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official patch by upgrading Smart Agreements to version 1.0.4 or later.
  • If an upgrade cannot be performed immediately, de‑activate or uninstall the plugin until a patched version is available.
  • Inspect the plugin’s include/require logic and enforce strict input validation, for example by using a whitelist of allowable file paths and rejecting any user supplied filenames that contain directory traversal or absolute paths.
  • Configuring the server’s file permissions to restrict the WordPress filesystem write access to a minimal set of directories reduces the impact of a potential LFI.

Generated by OpenCVE AI on May 1, 2026 at 10:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-11786 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in teamzt Smart Agreements allows PHP Local File Inclusion. This issue affects Smart Agreements: from n/a through 1.0.3.
History

Thu, 23 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Wed, 01 Apr 2026 23:45: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 teamzt Smart Agreements allows PHP Local File Inclusion. This issue affects Smart Agreements: from n/a through 1.0.3. Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in teamzt Smart Agreements smart-agreements allows PHP Local File Inclusion.This issue affects Smart Agreements: from n/a through <= 1.0.3.
References
Metrics cvssV3_1

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


Thu, 17 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 17 Apr 2025 15:30: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 teamzt Smart Agreements allows PHP Local File Inclusion. This issue affects Smart Agreements: from n/a through 1.0.3.
Title WordPress Smart Agreements plugin <= 1.0.3 - Local File Inclusion vulnerability
Weaknesses CWE-98
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T16:12:32.068Z

Reserved: 2025-04-16T06:23:36.339Z

Link: CVE-2025-39462

cve-icon Vulnrichment

Updated: 2025-04-17T17:41:51.769Z

cve-icon NVD

Status : Deferred

Published: 2025-04-17T16:15:55.960

Modified: 2026-04-23T15:29:36.297

Link: CVE-2025-39462

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-01T10:15:17Z

Weaknesses